apps/agl-service-homescreen.git
4 years agochange document 59/21659/3 guppy 7.0.3 7.0.4 guppy/7.0.3 guppy/7.0.4 guppy_7.0.3 guppy_7.0.4
wang_zhiqiang [Mon, 17 Jun 2019 08:49:31 +0000 (16:49 +0800)]
change document

1. delete html tags in markdown file to fit with markdown syntax.
2. change contents refer to doxygen files to fit with markdown syntax.
3. remove destination in api-services-book.yml.

Bug-AGL: SPEC-2096
Bug-AGL: SPEC-2326

Change-Id: Ia263a92a3f5fe3a13c8353058bb7465a0aba99dc
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoautobuild: add autobuild scripts 03/20603/1 7.0.1 7.0.2 guppy/7.0.1 guppy/7.0.2 guppy_7.0.1 guppy_7.0.2
Raquel Medina [Tue, 5 Mar 2019 00:49:43 +0000 (02:49 +0200)]
autobuild: add autobuild scripts

 - Add agl autobuild script to silence build
   warnings on yocto.
 - Add linux autobuild script to build with
   the sdk
 - These  scripts are based on the latest
   version of the autobuild script, but they've
   been customized to match the existin cmake
   (the update and package-test targets have been
   removed).

Change-Id: I6f8bd89ee0dfe770557e9a9b6d7729f30735ce43
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
(cherry picked from commit 256c66de221e748638c7cb0193bfe52ed312be93)

5 years agoImprove homescreen-service 55/20055/3
wang_zhiqiang [Wed, 16 Jan 2019 02:54:43 +0000 (10:54 +0800)]
Improve homescreen-service

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>
5 years agoAdd gitreview file for guppy branch 6.99.5 7.0.0 guppy/6.99.5 guppy/7.0.0 guppy_6.99.5 guppy_7.0.0
Jan-Simon Möller [Mon, 4 Feb 2019 19:12:27 +0000 (20:12 +0100)]
Add gitreview file for guppy branch

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agodocs: add yaml book 73/19273/1 6.99.3 6.99.4 7.90.0 guppy/6.99.3 guppy/6.99.4 guppy_6.99.3 guppy_6.99.4 halibut/7.90.0 halibut_7.90.0
Frederic Marec [Wed, 19 Dec 2018 09:55:09 +0000 (10:55 +0100)]
docs: add yaml book

Bug-AGL: SPEC-1988

Change-Id: I877c8935449095f3dd8f531282f009538cfc7175
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agofix issue,not free string 39/18339/1 6.99.2 guppy/6.99.2 guppy_6.99.2
wang_zhiqiang [Wed, 28 Nov 2018 09:23:49 +0000 (17:23 +0800)]
fix issue,not free string

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>
5 years agoupdate doc 39/18139/3 6.99.1 guppy/6.99.1 guppy_6.99.1
wang_zhiqiang [Wed, 21 Nov 2018 08:32:29 +0000 (16:32 +0800)]
update doc

add new sequence and update doxygen files.

Change-Id: I6737939eb2628577d58b2d1d65086e46e7cb14a4
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agochange project name 37/18137/3
wang_zhiqiang [Wed, 21 Nov 2018 08:28:04 +0000 (16:28 +0800)]
change project name

change homescreen-service-2017 to homescreen-service.

Change-Id: I440864ec5dc940bbbaf34aa09c6c1da4b8b9be57
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoImprovement:a client instance only call afb_req_subscribe once 35/18135/3
wang_zhiqiang [Wed, 21 Nov 2018 08:02:53 +0000 (16:02 +0800)]
Improvement:a client instance only call afb_req_subscribe once

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>
5 years agoadd new features in homescreen-service and homescreen 29/17929/1
wang_zhiqiang [Wed, 14 Nov 2018 03:12:44 +0000 (11:12 +0800)]
add new features in homescreen-service and homescreen

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>
5 years agouse appid instead of appname in "tap_shortcut" 39/17739/2
wang_zhiqiang [Tue, 6 Nov 2018 02:28:59 +0000 (10:28 +0800)]
use appid instead of appname in "tap_shortcut"

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>
5 years agoImprove HS_ClientManager and fix issue 03/17503/1
wang_zhiqiang [Tue, 30 Oct 2018 11:12:18 +0000 (19:12 +0800)]
Improve HS_ClientManager and fix issue

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>
5 years agoMigration to binding V3 41/17341/3
wang_zhiqiang [Mon, 22 Oct 2018 08:09:07 +0000 (16:09 +0800)]
Migration to binding V3

migration homescreen-service from v2 to v3

Change-Id: I5e6d42c3dff528e46d0ca407e09eb1d05bacea80
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoemit event to one application 15/17015/5
wang_zhiqiang [Tue, 9 Oct 2018 02:31:06 +0000 (10:31 +0800)]
emit event to one application

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>
5 years agoUse feature 'required-binding' 55/17055/1
Jose Bollo [Tue, 9 Oct 2018 10:01:17 +0000 (12:01 +0200)]
Use feature 'required-binding'

The feature "urn:AGL:widget:required-binding" is now
preferred to the feature "urn:AGL:widget:required-api"
for requiring a local binding.

Bug-AGL: SPEC-1800

Change-Id: Ic8ba6b048e6ba7b573dac2f2f1833a4df8eaa0dc
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
5 years agoInit afb_daemon event with loop 93/16693/1
wang_zhiqiang [Wed, 19 Sep 2018 06:42:30 +0000 (14:42 +0800)]
Init afb_daemon event with loop

use loop to make afb_daemon event automatically.

Change-Id: I599d333fea7feb18db91ed3bbe43faad405c41c1
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoAdd some comments for hs-helper 23/16523/1 6.90.0 guppy/6.90.0 guppy_6.90.0
zheng_wenlong [Tue, 11 Sep 2018 02:30:01 +0000 (11:30 +0900)]
Add some comments for hs-helper

    Add some comments.

Change-Id: I08e4f2050f5107d538a4622dc5462d11bbd5078d
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years agoUpdate lastest code from agl-service-homescreen-2017 57/16457/2 5.99.6 flounder/5.99.6 flounder_5.99.6
zheng_wenlong [Mon, 3 Sep 2018 01:39:15 +0000 (10:39 +0900)]
Update lastest code from agl-service-homescreen-2017

    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>
5 years agoChange gitreview to new location 5.99.5 flounder/5.99.5 flounder_5.99.5
Jan-Simon Möller [Thu, 30 Aug 2018 14:54:47 +0000 (16:54 +0200)]
Change gitreview to new location

Change-Id: If2690f0524871dff14f8409e9cdd011408f83428
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoRevert "Use appid between homescreen-service and apps" 5.99.4 flounder/5.99.4 flounder_5.99.4
Tadao Tanikawa [Fri, 24 Aug 2018 04:49:00 +0000 (04:49 +0000)]
Revert "Use appid between homescreen-service and apps"

This reverts commit b5702d25b7b5386fabd6a81a748ea2d6fe647fcd.

Bug-AGL: SPEC-1685

Change-Id: If5b526a5a5406ff0c3e59cc4a578b977386bda14
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoUse appid between homescreen-service and apps 5.99.3 flounder/5.99.3 flounder_5.99.3
zheng_wenlong [Mon, 6 Aug 2018 02:56:42 +0000 (11:56 +0900)]
Use appid between homescreen-service and apps

    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>
6 years agoSet default debug level to error 4.99.3 5.99.1 5.99.2 eel/4.99.3 eel_4.99.3 flounder/5.99.1 flounder/5.99.2 flounder_5.99.1 flounder_5.99.2
zheng_wenlong [Thu, 9 Nov 2017 03:58:41 +0000 (12:58 +0900)]
Set default debug level to error

    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>
6 years agoAdd a new OnScreenReply api to agl-service-homescreen 4.99.2 eel/4.99.2 eel_4.99.2
zheng_wenlong [Mon, 23 Oct 2017 05:06:12 +0000 (14:06 +0900)]
Add a new OnScreenReply api to agl-service-homescreen

    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>
6 years agoMove sample to libhomescreen
zheng_wenlong [Mon, 23 Oct 2017 04:17:55 +0000 (13:17 +0900)]
Move sample to libhomescreen

    The sample folder is using libhomescren with
    agl-service-homescreen-2017, So better move to libhomescreen.

BUG-AGL: SPEC-988
Change-Id: I165bd3baa67ae2909f5ac699faf4f1f620f78747
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
6 years agoAdd debug message macros controlled by environment variable
zheng_wenlong [Mon, 23 Oct 2017 04:08:02 +0000 (13:08 +0900)]
Add debug message macros controlled by environment variable

    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>
6 years agoDelete libhomescreen from this gerrit repository
zheng_wenlong [Mon, 23 Oct 2017 02:49:31 +0000 (11:49 +0900)]
Delete libhomescreen from this gerrit repository

    Relocate libhomescreen into its own repository as src/libhomescreen.

BUG-AGL: SPEC-993
Change-Id: I481c9b2322a1a112f23facdd930cb36e594919bb
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
6 years agoModify the library name in CmakeLists.txt
zheng_wenlong [Wed, 25 Oct 2017 08:34:50 +0000 (17:34 +0900)]
Modify the library name in CmakeLists.txt

    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>
6 years agoChange comments from Japanese to English
zheng_wenlong [Sun, 22 Oct 2017 01:55:02 +0000 (10:55 +0900)]
Change comments from Japanese to English

    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>
6 years agoAdd gitreview file for master 4.99.1 eel/4.99.1 eel_4.99.1
Jan-Simon Möller [Fri, 13 Oct 2017 13:48:38 +0000 (15:48 +0200)]
Add gitreview file for master

Change-Id: I91a3830de36d61f46303274f39bfe2ace528a69d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoAdd agl-service-homescreen-2017
zheng_wenlong [Fri, 29 Sep 2017 11:42:53 +0000 (20:42 +0900)]
Add agl-service-homescreen-2017

    Add a new binding agl-service-homescreen-2017 for homescreen-2017.
    There is a gles sample how to use this binding in sample/simple-egl.
    A image about this see JIRA SPEC-871.

    [PatchSets2]
    Use aglwgt make package.

Change-Id: I9ae89188f9eb2de4c98ec8baa2f05fccca8b2372
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
6 years agoInitial empty repository
Jan-Simon Moeller [Tue, 26 Sep 2017 18:40:29 +0000 (18:40 +0000)]
Initial empty repository