summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-11-10Add device monitoring feature (hotplug device detection)Farshid Monhaseri6-38/+554
Changes: - Implement libudev 'monitor' interface to detect hotplug devices. - Forward udev rules as AFB 'subscribe' args to udev_monitoring objects. - Filter retrieved property fields through 'mask' argument from 'subscribe' args. - Generate detached threads (event loop) and data context for each client, so every user can subscribe for device events with their own udev rules and receive their desired device parameters. Bug-AGL: SPEC-3512 Signed-off-by: Farshid Monhaseri <monhaseri.f@gmail.com> Change-Id: I0fc007d9707deaf39d21147aa8240fde302f5f9e
2020-09-15Fix PROJECT_URL and PROJECT_VERSION in config.cmakeLi, Xiaoming1-2/+2
Bug-AGL: SPEC-3578 Change-Id: I21c691d6054d2ba55e3e27dea799ee2fbb2ff9ea Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
2020-06-09Update autobuild scriptsjellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.19.99.49.99.39.99.29.99.1Scott Murray2-204/+154
Update autobuild scripts with reworked version that fixes building outside of the source tree. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I773b04ed1e12808dfad068b23705a43547129a72
2020-02-18Update autobuild script to create new targetsFrederic Marec2-26/+174
Update autobuild script to create multiple widget target debug, coverage and all Bug-AGL: SPEC-2049 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> Change-Id: I0a6fbb3dd302f3792508a6d1c1b59dac4a2efea7
2020-02-11Update .gitreview fileJan-Simon Möller1-1/+0
This updates the gitreview file in the project . Change-Id: I974e13e9d710ecf157c87d237e339238a683a82c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-14Require to run at platform scopeicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.28.99.58.99.48.99.38.99.28.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.2halibutJosé Bollo1-0/+1
Add the required permission urn:AGL:permission::partner:scope-platform to run at platform scope. Bug-AGL: SPEC-545 Bug-AGL: SPEC-2006 Change-Id: I6b806b52dd125bbfa5f90a0baf4a2472c12c6806 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-05-27Fix platform-info testhalibut_7.99.1halibut/7.99.17.99.1Frederic Marec2-2/+2
Fix get test due to wrong level tree Change set down environement to avoid useless remove Bug-AGL: SPEC-2457 Change-Id: If61ef13b11af532cc2086a434e9b0c7757418f98 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-05-23Add missing file to setup test environementFrederic Marec2-0/+47
Add build.json same as m3ulcb file Change .gitignore Bug-AGL: SPEC-2448 Change-Id: Ia57f3e35546a3beb54cd52b84bd867df06020b34 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-05-13Add test fixtures to set up environmentFrederic Marec6-1/+154
Add script to check /etc/platform-info presence Add script to check necessary files Add script to set up environment Add script to set down environment Modify get test Bug-AGL: SPEC-2362 Change-Id: I733cb86cc8c616ffdbfcb88cb96a2a4a5b97e652 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-05-13Remove unuse .gitmodulesFrederic Marec1-3/+0
Bug-agl: SPEC-2139 Change-Id: I13cf8fef994bf7ec21073f564ff32a1ae2ae2f18 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-04-23Add test for platform-info bindingFrederic Marec7-24/+148
Change-Id: I5471075bd4bc1d6ac098224ef5f7d183ac9606e8 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-04-15Git submodule migration to separated librariesRomain Forlot3-5/+1
Replace the afb-helpers submodule usage with the separated library instead. Bug-AGL: SPEC-2139 Change-Id: I1a89a81642a61daee718ab74bff47d93e93a8710 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-04-02Fix: api userdata pointer releasedRomain Forlot1-1/+1
The json_object given to afb_req_success is released so and as it's the userdata or a subpart, we need to increment the json_object reference count. Change-Id: I9ee3fa5f613cd80c1f2374a545dec247c0a52cd8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-03-29Test directory existenceRomain Forlot1-1/+6
Missing testing the readdir returned value. Bug-AGL: SPEC-2288 Change-Id: I38691f2604ed4a13ff90e53dd5303e8ddcba7cf1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-03-01autobuild: fix warnings due to cp command exit codeRaquel Medina2-4/+12
Change-Id: I91248807b2b340e0178f4e50b1c012f8331b2f0b Bug-AGL: SPEC-2164 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-12-28Wrong widget template used by the projecthalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Romain Forlot1-1/+1
Wrong widget template used by the project which make the icon visible in the launcher screen Bug-AGL: SPEC-2063 Change-Id: I149a56f97d9dcd2ea4927274c21021b14163c92f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-18Use the same naming than the others bindingsguppy_6.99.3guppy/6.99.36.99.3Romain Forlot1-1/+1
Change-Id: If418385ed66b5b45fab0e01d013760bc3f6402fb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-18add gitreview fileRomain Forlot1-0/+6
Change-Id: Icc220c93e2e01ad0e21a46ddb320649e47b4698d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-18platform-info does show-up as icon in the launcherRomain Forlot1-0/+7
The agl-service-platform-info icon shows up in the launcher and it should not Bug-AGL: SPEC-2063 Change-Id: Ic2b5bdc063bb9397af0498e99014c16043227060 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-28First simple platform-info API implementationguppy_6.99.2guppy/6.99.26.99.2Romain Forlot33-0/+1526
Bug-AGL: SPEC-1917 Change-Id: I300155302c9d69c6549ddabc6af53e2ad55eb18d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-20Initial empty repositoryguppy_6.99.1guppy/6.99.16.99.1Jan-Simon Moeller0-0/+0