aboutsummaryrefslogtreecommitdiffstats
path: root/src/layout_manager
AgeCommit message (Collapse)AuthorFilesLines
2018-06-20Modify member variable nameYuta Doi2-5/+5
Change-Id: Ic9100cfc33c664d3dfa935c4c7131efd8dd2f1f7 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Add layout "system" to layout.dbYuta Doi1-0/+10
Change-Id: I86fa81e892cefa0273549a8e23b00be59a755e69 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-15Modify format of layout information and process for updating layoutYuta Doi2-365/+2
and delete unnecessary process Change-Id: I266cbc684c28b49d9855db851a56afbff3588b35 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-08PolicyManager uses layout informationYuta Doi1-16/+16
Change-Id: I6628c5614d0ed28d9c60a9d6f792a31c805178dd Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-01Add timer for restriction modeYuta Doi1-0/+40
When car state is changed stop -> run, the timer for switching restriction mode off -> on is set. When car state is changed run -> stop, restriction mode is changed on -> off. Change-Id: I6a8af9b45c7631db59cb78c41d07af118346a331 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-21Bug Fix: When restriction app gets invisible event, other app also gets itYuta Doi1-11/+23
Change-Id: Id72543fa86007bbff7c3e77f7df78e4162bfa269 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-14Add transmission gear position event in PolicyManagerYuta Doi1-1/+1
Change-Id: Ibf528b5ab3877d2cf094920fd0723873fb12647c Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-14Change the policy of switchng car run/stop in dummy stmYuta Doi1-24/+3
Change-Id: Ie3770060828f32749e7c47076d901263454e43c2 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-14Add policy of switchng accel pedal status to dummy stmYuta Doi1-5/+27
Change-Id: Iea389d3899f2d01430400374ed0ab0f2fe882ec8 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-10Modify for restriction roleYuta Doi2-8/+7
- Add policy for restriction to dummy stm. - Add the function which inputs json file because json_object_from_file can not allows up to only 4KB file. - Bug fix in json files. - Delete unexpected characters. - Delete description because it does not follow the format of json array. Change-Id: I2f8fba1d1001cf244e2531fe3a1a738d5a48091b Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-09Modify layers.json and layout.dbKazumasa Mitsunari1-20/+20
layers.json * Forgot to change the layer name layout.db * Change the name of area and layer * Modify the size of area Change-Id: I9edd547419d894aef0142e9ef9668e08987549dc Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-08Change the role and layoutKazumasa Mitsunari1-7/+7
role * upper homescreen -> near_homescreen * lower homescreen -> far_homescreen * restriction.* -> restriction Change-Id: I5d53a66b8dc3d3b9cb761b27b7b388661853fd32 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-08Change layout.dbKazumasa Mitsunari1-8/+144
* Undo the changes, revert to the original layout.db for test * Add ALS test case Change-Id: I8ca89e0455fb0d429d41b2f3a9d3f9341fda551c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-07Add restriction and software keyboard layersKazumasa Mitsunari3-59/+216
Change-Id: I9133faa840f6feaec3f2b6f88a6e1b33be29639c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-04-27Add PolicyManager, related classes and some config filesYuta Doi3-0/+812
- 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>