aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2018-04-27 19:01:36 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2018-04-27 19:01:36 +0900
commit55be85ed4bdfea6fc037d781b8cd8f58487718d1 (patch)
tree279a88e26c74aee58f11e2a5d20348569ce34667 /src/db
parentd50188f726b15a0ae2777bf2d91ee88836feeac5 (diff)
Add PolicyManager, related classes and some config files
- PolicyManager Decide next layout by using occured event and current state based on policy table. This PolicyManger is reference and the OEMs can replace it. - LayoutManager Change the current layout to the layout which decided by PolicyManager. NOTE: The functions of this class had been included in App class. The part of function of this class remain there yet. - LowCanClient Receive the CAN signal from low level CAN service. - app.db Define the applications name and its role. This file will be deleted when the names and roles can be given by other module. - layout.cb Define the layouts and areas which are included by the layout. - role.db Define the roles of the applications. Change-Id: I2f84bdf5e68355e022f516cee9a1db88efe58825 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src/db')
-rw-r--r--src/db/app.db68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/db/app.db b/src/db/app.db
new file mode 100644
index 0000000..32155ac
--- /dev/null
+++ b/src/db/app.db
@@ -0,0 +1,68 @@
+{
+ "apps": [
+ {
+ "name": "HomeScreen",
+ "role": "homescreen"
+ },
+ {
+ "name": "Music",
+ "role": "music"
+ },
+ {
+ "name": "MediaPlayer",
+ "role": "music"
+ },
+ {
+ "name": "Video",
+ "role": "video"
+ },
+ {
+ "name": "VideoPlayer",
+ "role": "video"
+ },
+ {
+ "name": "WebBrowser",
+ "role": "browser"
+ },
+ {
+ "name": "Radio",
+ "role": "radio"
+ },
+ {
+ "name": "Phone",
+ "role": "phone"
+ },
+ {
+ "name": "Navigation",
+ "role": "map"
+ },
+ {
+ "name": "HVAC",
+ "role": "hvac"
+ },
+ {
+ "name": "Settings",
+ "role": "settings"
+ },
+ {
+ "name": "Dashboard",
+ "role": "dashboard"
+ },
+ {
+ "name": "POI",
+ "role": "poi"
+ },
+ {
+ "name": "Mixer",
+ "role": "mixer"
+ },
+ {
+ "name": "Splitable1",
+ "role": "splitable1"
+ },
+ {
+ "name": "Splitable2",
+ "role": "splitable2"
+ }
+ ]
+} \ No newline at end of file