aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-06-20fix segmentation fault errorwang_zhiqiang4-92/+24
Change-Id: I3d1124980e10e6f265660226fc9a0749f832a4ff
2019-06-20set area in showWindowwang_zhiqiang3-7/+22
Change-Id: If5a8addaa7ee3827463d3ed030d05577a7d90ffe
2019-06-17don't access vhsl-capbilities when it isn't existingwang_zhiqiang1-0/+5
Change-Id: I811b389f1867483328444f1f8fb5b43cd0f11a9b
2019-06-05sleep addwang_zhiqiang1-1/+4
Change-Id: I868cf4c14b8fddd45af163ce37dc6a22db656f37
2019-06-03don't publish updateShortcut event when subscribewang_zhiqiang1-3/+0
Change-Id: I0deb111a5acee5a2fd8804ba3e0d01dcb50c3c71
2019-06-03merge vuiwang_zhiqiang13-57/+623
Change-Id: I64a1bb68ea3e2b772a40eb78d316c54f8ed25de8
2019-05-29modify threadwang_zhiqiang1-6/+6
Change-Id: Ifa336b4eac43941466561e135eb000b344f02a10
2019-05-29add handshake loopwang_zhiqiang3-18/+38
Change-Id: I5fb4e2973d2d9fa00a9956ac4110577db7f7bcae
2019-05-25add register/update shortcutwang_zhiqiang4-8/+197
Change-Id: I0e56c9b696e1b7354c49c9f22536960d69efdcb9
2019-05-25rm lastmodewang_zhiqiang1-2/+1
Change-Id: Ide060be2a78d25c8ce74decc57e2f6ef5f89a67e
2019-05-24improvementwang_zhiqiang2-8/+12
Change-Id: I654800d1d467ff1d5b858dc048bb4271485fb46a
2019-05-20fix handshake bugwang_zhiqiang3-1/+9
Change-Id: I28af770a9f8d5ac63209038ca5939a2aab0bc318
2019-05-14recover handshakewang_zhiqiang2-6/+22
Change-Id: Ic763640bdf86df98d804bf64bff368d22e66fbf7
2019-05-09start launcher and lastmode after homescreen startedwang_zhiqiang7-17/+68
Change-Id: I7f6c6d74d5d5c1686dc216bcff3175281b3c1494
2019-04-28fix bugwang_zhiqiang3-9/+20
Change-Id: I0e8b6f58bb2051a17723d19d93e07820650a03a2
2019-04-24send showWindow event when app start overwang_zhiqiang5-5/+37
Change-Id: I2ced5f48f0c377cdc4261b5bb19ac6f9c40760ea
2019-04-23add lastmode functionwang_zhiqiang7-31/+128
Change-Id: I4b7ca96d1333d170c211b420d79ea9a4d3e1272a
2019-04-22add writeJsonFilewang_zhiqiang1-2/+39
Change-Id: I6269845fbd3b40d697bc7c77a457b380a5906bbc
2019-04-22change hs_recoerwang_zhiqiang5-13/+65
Change-Id: Iadfa3cafbde7df1faa06234c4633832819280bdd
2019-04-22don't use area infowang_zhiqiang4-15/+2
Change-Id: I8c466c1d325574b6b4c351e80f3aa12c4e5d2c47
2019-04-19recover applicationwang_zhiqiang10-27/+230
Change-Id: I02330f9c9336609ce585ab172211acada68fba9c
2019-04-16add handshakewang_zhiqiang4-18/+92
Change-Id: Ie5bdd327f5e994730b0d1cbffad68fca93c80766
2019-04-13add hs-configwang_zhiqiang4-41/+233
Change-Id: Id007f025ad647faf502c1bee6f5de8de4298df7e
2019-04-13tempwang_zhiqiang1-6/+27
Change-Id: Ifca3ec47d75c750274b9ed0dd300722b67430f1e
2019-04-10read json filewang_zhiqiang1-2/+22
Change-Id: Ie1a97fc8c3c6585d49574a051920a018a438deb6
2019-04-10add json filewang_zhiqiang1-0/+3
Change-Id: Ib68bf6c21b4644626042789e48fa8eb47dc1a0cc
2019-04-10modifywang_zhiqiang4-4/+106
add wm proxy add read/write json file add getRunnables to ApplicationGuide.md Change-Id: I65e9e6620ecb207c999e590410782590edd7005d
2019-03-26Impove event processwang_zhiqiang4-20/+129
1. manager event list in hs_instance. 2. add setEventHook interface to hook event. Change-Id: I65a64f2d16343eb68d22fd1ad9d5fbf565f5967a Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-03-26Change log macro to AFB_XXXwang_zhiqiang6-168/+90
1. using binder log macro instead of HMI_LOG. 2. unify log using level as below: AFB_ERROR: fatal error or serious error may occur. AFB_WARNING: input parameter error or not serious error. AFB_NOTICE: alert sth. AFB_INFO: print input argument or sth else. AFB_DEBUG: prompt for calling location. 3. delete hmi-debug.h. Change-Id: I203864ced39c418d2f792faa50ab2c009deb9d02 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-03-25Start app and get runnables list by homescreenwang_zhiqiang12-17/+924
1.start application in showWindow. 2.add "getRunnables" verb. 3.handle "application-list-changed" event from afm-main and add "application-list-changed" event. Bug-AGL: SPEC-2188 Change-Id: I619b97424d20af373a945ff502a8133339916923 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-03-14Define func_list as staticwang_zhiqiang2-12/+16
For sharing func_list between all client instance, define func_list as static. Change-Id: I8a0a131128e057cc55a2d3efb76b66033dd20a04 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-01-16Improve homescreen-servicewang_zhiqiang5-519/+356
1.Improve class cohesion and reduce public interface number 2.Unified event pattern BUG-AGL: SPEC-2120 Change-Id: I4c5066be2deaf2b809af66cb5a8acdc5bffa5a23 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-28fix issue,not free stringguppy_6.99.2guppy/6.99.26.99.2wang_zhiqiang4-18/+74
After called afb_req_get_application_id api needed to free the string. Change-Id: Ia59a3f4984854d61f4c5a8d9206f44988594ebf3 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-23change project namewang_zhiqiang1-1/+1
change homescreen-service-2017 to homescreen-service. Change-Id: I440864ec5dc940bbbaf34aa09c6c1da4b8b9be57 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-23Improvement:a client instance only call afb_req_subscribe oncewang_zhiqiang2-0/+6
when call subscribe every time, hs_client instance will call afb_req_subscribe once, this is needless, every hs_client always only has one event, so only need to call afb_req_subscribe once. Change-Id: I91417b749201fc378287e03f08dfd4dfd5df9dc7 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-14add new features in homescreen-service and homescreenwang_zhiqiang7-0/+489
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: I612e541243ee6502eb90ff1aa2ab4d99bfbc7156 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-06use appid instead of appname in "tap_shortcut"wang_zhiqiang5-16/+11
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: I8493331f37977a30d6d88c0d222da4c2db32e727 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-10-30Improve HS_ClientManager and fix issuewang_zhiqiang5-160/+206
1.No longer operate HS_Client in homescreen.cpp,move to HS_ClientManager class. 2.In hs_client.cpp,afb_event_push return the count of clients that received the event, not push event result, in tap_shortcut/on_screen_message/on_screen_reply directly return zero. Bug-AGL: SPEC-1764 Change-Id: Ief17d3fe3a9c80937fbda05d1c158eeed3924a75 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-10-23Migration to binding V3wang_zhiqiang7-46/+47
migration homescreen-service from v2 to v3 Change-Id: I5e6d42c3dff528e46d0ca407e09eb1d05bacea80 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-10-17emit event to one applicationwang_zhiqiang7-51/+572
changed agl-service-homescreen and libhomescreen to make agl-service-homescreen emit event to one application only. BUG-AGL: SPEC-1764 Change-Id: I87e4fc8fe900fdf9d7fde04852077c7174b8a3ba Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-09-19Init afb_daemon event with loopwang_zhiqiang1-31/+13
use loop to make afb_daemon event automatically. Change-Id: I599d333fea7feb18db91ed3bbe43faad405c41c1 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-09-11Add some comments for hs-helperguppy_6.90.0guppy/6.90.06.90.0zheng_wenlong2-12/+120
Add some comments. Change-Id: I08e4f2050f5107d538a4622dc5462d11bbd5078d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-09-03Update lastest code from agl-service-homescreen-2017flounder_5.99.6flounder/5.99.65.99.6zheng_wenlong5-34/+33
Update the lastest code from agl-service-homescreen-2017. To impove homescreen-service's extensibility. "Change homescreen-service from c project to c++ project" Relative Commit: https://gerrit.automotivelinux.org/gerrit/#/c/16351/ Change-Id: Id7e50fa61fdfcff30f69588aa1da4d93695edfc1 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> 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/5.99.45.99.4Tadao Tanikawa1-4/+4
This reverts commit b5702d25b7b5386fabd6a81a748ea2d6fe647fcd. Bug-AGL: SPEC-1685 Change-Id: If5b526a5a5406ff0c3e59cc4a578b977386bda14 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-4/+4
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: I3609a157ffdf31aa19cad6ae0f809f52e2129d0d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-11-10Set default debug level to errorflounder_5.99.2flounder_5.99.1flounder/5.99.2flounder/5.99.1eel_4.99.3eel/4.99.35.99.25.99.14.99.3zheng_wenlong1-3/+4
Default enable HMI_ERROR output. Remove afb-binding.h and add necessary header files. [Patch Set 2] Change LOG_LEVEL_MAX value equal LOG_LEVEL_DEBUG. Change-Id: Ie50e267b9ff9ad107bb38162ad90acc410c79cbc Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-11-01Add a new OnScreenReply api to agl-service-homescreeneel_4.99.2eel/4.99.24.99.2zheng_wenlong2-3/+48
Add a new event named OnScreenReply. Applications can use this event to reply to the homescreen. Also update the documentation for this event. [Patch Sets 8,9] Update ApplicationGuide.md. For details: Use master source build agl-service-homescreen-2017. Change agl version to EE. Add libhomescreen sample code path. [Patch Sets 10] Delete tailing space. BUG-AGL: SPEC-985 Change-Id: Iea0c321731fa62cd94fc08fc5e303c20847fd525 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Add debug message macros controlled by environment variablezheng_wenlong2-14/+84
Add a HMI_DEBUG macro to print debug messages. It is controlled by the USE_HMI_DEBUG environment variable. BUG-AGL: SPEC-998 Change-Id: Ibb0a5c119a3a627538e7ec2728c64007f21af215 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Modify the library name in CmakeLists.txtzheng_wenlong1-14/+14
A wrong name is used in CMakeLists.txt (SM = soundmanager instead of HS = homescreen). Fix CMakeLists.txt by replacing SM with HS. BUG-AGL: SPEC-995 Change-Id: Id6273295982106705da0d63be89f50c05f4d6567 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Change comments from Japanese to Englishzheng_wenlong1-10/+9
There are some Japanese comments in RC1, change these to English. [Patch Sets 2] Split CMakeLists.txt due to modification in another commit. [Patch Sets 3] Update commit message. [Patch Sets 4] Return to Patch Sets 1 to rebase for this commit. <Delete libhomescreen from this gerrit repository> [Patch Sets 5] Return to Patch Sets 3 to rebase for this commit. <Modify library name in CMakeLists.txt> Change-Id: Ib520d39ede23cb0059f303c6e38090c9ed65a45b Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>