path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-12-13Handle hostname of remoteicefish_8.99.5icefish_8.99.4icefish/8.99.5icefish/é Bollo1-11/+38
In order to separate applications for cookies and private data the framework uses the component nss-localuser to forge specific hostnames. This commit takes it into account by allowing to specify the hostname to contact at init. Bug-AGL: SPEC-3014 Change-Id: I13ef507b071bd75bc781d8abe8203da0beac1d7f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-26Start app and get runnables list by homescreenwang_zhiqiang1-2/+31
1.add getRunnables interface. 2.add Event_AppListChanged event. 3.delete area defination in libhomescreen.hpp Bug-AGL: SPEC-2188 Change-Id: I8344067ecadc09e917610eb0a6e191924106f012 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-01-29Improve safety of link to event loophalibut_7.90.0halibut/é Bollo1-9/+18
Instead of using the default one that depends on the current thread and that might be shared with other items, use an explicit new one running in a dedicated thread. Bug-AGL: SPEC-2130 Change-Id: Ie609d19157a5dcaf6e5fa3896dc91d88ba5f214a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-21add new features in homescreen-service and homescreenguppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/
homescreen-service: add five verbs. 1.showWindow: instead of tap_shortcut and show onscreen. 2.hideWindow: used when want to hide onscreen. 3.replyShowWindow: used when post onscreen reply information to application. 4.showNotification: used by application who want to display notification on homescreen top area. 5.showInformation: used by application who want to display information on homescreen botton area. homescreen: 1.add fullscreen transfer button. 2.display notification and information. Bug-AGL: SPEC-1931 Change-Id: Ie0753fe0656282b1ff8c04dcef625f2a4154edde Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-06use appid instead of appname in "tap_shortcut"wang_zhiqiang1-6/+6
Now In homescreen-service used application_id to identify different application, so use appid instead of appname in "tap_shortcut" parameter. Bug-AGL: SPEC-1764 Change-Id: I46af214cf25108ca0c2983a54547ab1f64f9ab59 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-10-16emit event to one applicationwang_zhiqiang1-8/+10
changed agl-service-homescreen and libhomescreen to make agl-service-homescreen emit event to one application only. BUG-AGL: SPEC-1764 Change-Id: If595c6043b559d64dff62bd826482c651e9ae808 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-09-18Remove compile warningguppy_6.90.0guppy/
change from deprecated function 'json_object_object_get' to 'json_object_object_get_ex'. Change-Id: I3ae6f1e39d1f05033568662bff9a2a35e2da5879 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24Revert "Use appid between homescreen-service and apps"flounder_5.99.4flounder/ Tanikawa1-26/+10
This reverts commit 58d5aa69c638b5e6d59f858516385e01fe248031. Bug-AGL: SPEC-1685 Change-Id: I166edba9dcc41a7f2e5d9c7a9a6bd75216a27be8 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-16Use appid between homescreen-service and appsflounder_5.99.3flounder/
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. [Patch Sets 2] Make a copy of the string returned by getenv. BUG-AGL: SPEC-1645 Change-Id: I042015ee92c4c142418b1ac15d51a9408e219757 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-07-30Fix problem when pointer is nullptr.zheng_wenlong1-0/+3
When event_only pointer is nullptr, print out a warning log and return. Change-Id: I1115cc1d17a1cbfa4b9a2cdee57fe56069a3fe81 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-07-27Fix not to release json_object on Event(Reply)Kazumasa Mitsunari1-5/+5
libafbwsc releases json_object on behalf of application. Then calling json_object in this library may cause double free, so fix it. Bug-AGL: SPEC-1471 Change-Id: I1bb3109c80891718f7bfd69e67688c1c880e95de Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-30Use new OnScreenReply API in libhomescreenzheng_wenlong1-1/+36
As homescreen-service added the OnScreenReply function, we can add the OnScreenReply to libhomescreen so applications can use this api easily. BUG-AGL: SPEC-985 Change-Id: I8038fea7471d1ae0777dcbff19e45c38fb6f614f Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Modify function argument from char to jsonzheng_wenlong1-12/+2
Change libhomescreen event api from char to json. Also modify samples who use this. BUG-AGL: SPEC-992 Change-Id: Id3986d413f9494019f6b175488dd73de226ba020 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Remove the redundant thread loopzheng_wenlong1-45/+0
Because libhomescreen already has a thread to receive events, we can remove the thread loop in libhomescreen. Related Commit: https://gerrit.automotivelinux.org/gerrit/#/c/11403/ BUG-AGL: SPEC-989 Change-Id: I32d65efcf32f3395719837339659ff94b3e64889 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-26Add debug message control by environment variablezheng_wenlong1-53/+23
Add HMI_DEBUG to print debug message, It is controlled by the USE_HMI_DEBUG environment variable. BUG-AGL: SPEC-998 Change-Id: I4b948f3af0d3a1b5e8707518e5b83a1029df3667 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-23Split libhomescreen from agl-homescreen-service-2017zheng_wenlong2-0/+614
Split libhomescreen library from agl-homescreen-service-2017. Relative commit: https://gerrit.automotivelinux.org/gerrit/#/c/11413/ Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>