summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-11-12navigation: add more verbose docsicefish_8.99.1icefish/8.99.18.99.1Matt Ranostay1-0/+3
Add more parameter documentation to position event in README.md Bug-AGL: SPEC-2880 Change-Id: Iaabc355752a24fd931b86befdb80738faf7c2dca Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-10-31binding: navigation: rewrite of navigation bindingMatt Ranostay36-4347/+619
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>
2019-09-20add autobuild treeRaquel Medina2-0/+138
Bug-AGL: SPEC-2815 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ia01d5f2cf77757aebe71d0a85a6bc123b8315d63
2019-08-30Fix JSON response lifecycle issuesScott Murray1-12/+12
Move json_object_put calls to fix lifecycle issues exposed by the json-c upgrade with OE thud. In the newer version, an extra put now triggers an assertion, so rework the affected logic to only call put when needed in the failed request cases. Bug-AGL: SPEC-2707 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia111e408abf515e3ea7b105c66c1339daa759a87
2019-08-30Initial check inScott Murray30-0/+4404
Initial check in of contents of the original repository: git://github.com/AGLExport/agl-service-navigation as of commit 1f1ffc92fcc882aa5e885badbc91a3384f5d77b1. Bug-AGL: SPEC-2787 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I02d008ee73cdfd88f1e7587ee57101187b9c4d6d
2019-02-06Initial .gitreviewhalibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut_7.90.0halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.1halibut/7.90.08.0.18.0.07.99.37.99.27.99.17.90.0Jan-Simon Möller1-0/+5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-14Initial empty repositoryguppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy_6.90.0guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.1guppy/6.90.0flounder_6.0.5flounder_6.0.4flounder_6.0.3flounder_6.0.2flounder_6.0.1flounder_6.0.0flounder_5.99.7flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder_5.99.1flounder/6.0.5flounder/6.0.4flounder/6.0.3flounder/6.0.2flounder/6.0.1flounder/6.0.0flounder/5.99.7flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.2flounder/5.99.16.99.46.99.36.99.26.99.16.90.06.0.56.0.46.0.36.0.26.0.16.0.05.99.75.99.65.99.55.99.45.99.35.99.25.99.1flounderJan-Simon Moeller0-0/+0