aboutsummaryrefslogtreecommitdiffstats
path: root/src/layout_manager
AgeCommit message (Collapse)AuthorFilesLines
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>