diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-07-11 16:21:37 +0900 |
---|---|---|
committer | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-08-15 01:49:00 +0000 |
commit | 1859dd4135f5d019f16a1333df318ecd1211afb9 (patch) | |
tree | e8b5e087215b087143f7982bf459d1d60ed45f65 /policy_manager/db | |
parent | c1d85371b1eb693128cf9553c356ea77e609d9a3 (diff) |
Readd policy table generated by ZIPC for EXAMPLEflounder_5.99.4flounder_5.99.3flounder/5.99.4flounder/5.99.35.99.45.99.3
This patch reverts commit e4222ca8da3b02afca5625fa2cef6832aa8ce90e
and update it.
To Policy Manager, add the source code of policy table
which is generated by ZIPC for EXAMPLE.
If use this example,
please comment out line 22 and uncomment line 23
in policy_manager/CMakeLists.txt as follows:
#set(STM_DIR stub)
set(STM_DIR zipc)
If try to show split layout,
please set bool value "ON" to TRY_SPLIT_LAYOUT at line 28
in policy_manager/CMakeLists.txt as follows:
set(TRY_SPLIT_LAYOUT OFF CACHE BOOL "Enable to show split layout")
The generated source codes by ZIPC are
"Common" and "StateTransitionor" in policy_manager/stm/zipc/.
Bug-AGL: SPEC-1537
Change-Id: I1f91cf728eab79c229c5b4b12b9e1bdd338f64aa
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'policy_manager/db')
-rw-r--r-- | policy_manager/db/roles.db.zipc | 52 | ||||
-rw-r--r-- | policy_manager/db/roles.db.zipc.split | 60 |
2 files changed, 112 insertions, 0 deletions
diff --git a/policy_manager/db/roles.db.zipc b/policy_manager/db/roles.db.zipc new file mode 100644 index 0000000..facb1d8 --- /dev/null +++ b/policy_manager/db/roles.db.zipc @@ -0,0 +1,52 @@ +{ + "roles":[ + { + "category": "homescreen", + "role": "homescreen", + "area": "fullscreen", + "layer": "homescreen", + }, + { + "category": "map", + "role": "map", + "area": "normal.full | split.main", + "layer": "apps", + }, + { + "category": "general", + "role": "launcher | poi | browser | sdl | mixer | radio | hvac | debug | phone | video | music | fallback", + "area": "normal.full", + "layer": "apps", + }, + { + "category": "system", + "role": "settings | dashboard", + "area": "normal.full", + "layer": "apps", + }, + { + "category": "software_keyboard", + "role": "software_keyboard", + "area": "software_keyboard", + "layer": "near_homescreen", + }, + { + "category": "restriction", + "role": "restriction", + "area": "restriction.normal | restriction.split.main | restriction.split.sub", + "layer": "restriction", + }, + { + "category": "pop_up", + "role": "on_screen | on_screen_phone", + "area": "on_screen", + "layer": "on_screen", + }, + { + "category": "system_alert", + "role": "system_alert", + "area": "on_screen", + "layer": "on_screen", + } + ] +} diff --git a/policy_manager/db/roles.db.zipc.split b/policy_manager/db/roles.db.zipc.split new file mode 100644 index 0000000..73c80cf --- /dev/null +++ b/policy_manager/db/roles.db.zipc.split @@ -0,0 +1,60 @@ +{ + "roles":[ + { + "category": "homescreen", + "role": "homescreen", + "area": "fullscreen", + "layer": "homescreen", + }, + { + "category": "map", + "role": "map", + "area": "normal.full | split.main", + "layer": "apps", + }, + { + "category": "general", + "role": "launcher | poi | browser | sdl | mixer | radio | hvac | debug | phone | fallback", + "area": "normal.full", + "description": "For split test, video and music are moved to category:splitable", + "layer": "apps", + }, + { + "category": "system", + "role": "settings | dashboard", + "area": "normal.full", + "layer": "apps", + }, + { + "category": "splitable", + "role": "video | music", + "area": "normal.full | split.main | split.sub", + "description": "For split test, video and music are included here", + "layer": "apps", + }, + { + "category": "software_keyboard", + "role": "software_keyboard", + "area": "software_keyboard", + "layer": "near_homescreen", + }, + { + "category": "restriction", + "role": "restriction", + "area": "restriction.normal | restriction.split.main | restriction.split.sub", + "layer": "restriction", + }, + { + "category": "pop_up", + "role": "on_screen | on_screen_phone", + "area": "on_screen", + "layer": "on_screen", + }, + { + "category": "system_alert", + "role": "system_alert", + "area": "on_screen", + "layer": "on_screen", + } + ] +} |