summaryrefslogtreecommitdiffstats
path: root/binding
AgeCommit message (Collapse)AuthorFilesLines
2020-01-14Integrate navigation voice capability useicefish_8.99.5icefish/8.99.58.99.5Scott Murray1-11/+125
Add code to pull in the voice capabilities binding, subscribe to the existing setDestination and cancelNavigation events, and use the data that comes from them to set/clear the destination waypoint. Bug-AGL: SPEC-3107 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iaeb0283492cc89e8cff1a1558cab7554e32e3142
2019-12-06binding: navigation: deep copy json response for cacheicefish_8.99.4icefish_8.99.3icefish/8.99.4icefish/8.99.38.99.48.99.3Matt Ranostay1-12/+11
To avoid possible side effects from afb framework releasing a cached json_object just deep copy to target cached object. Bug-AGL: SPEC-2880 Change-Id: Ie953d4668cd4e9a33a91d727a378cd24e75f112e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-12-06binding: navigation: move get_storage_from_value call within write lockicefish_8.99.2icefish/8.99.28.99.2Matt Ranostay1-1/+3
json_object returned from get_storage_from_value() needs to be protected within the write lock. This is to prevent reentrant calls to broadcast() from accessing it, and running json_object_put() Bug-AGL: SPEC-2880 Change-Id: I9fdf614728368c75e925e4c5a0f3ca19a7e517e1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-12-03binding: navigation: add missing read lock around afb_event_push()Matt Ranostay1-0/+10
Add missing read lock around event pushing from value that isn't required to be cached. Bug-AGL: SPEC-2880 Change-Id: I7aae2ec9df722fdefcec2d35977251e008375d92 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-10-31binding: navigation: rewrite of navigation bindingMatt Ranostay3-0/+333
To remove dependency on DBus the binding needed to be rewritten to output pure JSON output to subscribed consumers. Bug-AGL: SPEC-2880 Change-Id: Ie85dfccd42ca36119116a0fbfb16bf4e96efc184 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>