aboutsummaryrefslogtreecommitdiffstats
path: root/src/policy_manager/zipc
AgeCommit message (Collapse)AuthorFilesLines
2018-06-26Remove namespace stmsandbox/yuta-d/dev_pmYuta Doi1-7/+0
Change-Id: Id2342c88b532f4d299c011d5ab41450ba670c0ec Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-25Move global variable to PolicyManager memberYuta Doi1-1/+8
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-25Modify enum nameYuta Doi2-3/+3
Change-Id: I4fed20b68ebbf0fc8b58e261a3dcd456b292c81c Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-25Modify enum and struct nameYuta Doi2-412/+413
Change-Id: If5b196854fce9533943e697dc542efcad0ed5cc8 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Modify definition in stmYuta Doi2-161/+86
Change-Id: I97e30f4d03fe9c67fb95e338ee123c912a6e8eb1 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Add none event and categoryYuta Doi2-27/+35
Change-Id: I02bab5812170d867b4e144c8c2ec926cedccd27c Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Move process for deciding area when correct area is not setYuta Doi1-0/+4
Change-Id: I6ca3751e0a02ba62a66e770572e86da321ce2e5d Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Modify layout nameYuta Doi2-78/+83
Change-Id: Ia58664efc1924e04a026ed0dd6c16c8a90e4c2e0 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-21OnScreen app can be displayed for pop_up roleYuta Doi2-5/+42
Change-Id: I53cdcd010c9e0b87cd4207d8bb81bb5784202f18 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Replace word "is_changed" to "changed"Yuta Doi2-85/+85
Change-Id: I86a64c98f97ba9f7c2fd8ee294c29b073329be25 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Modify string of car stateYuta Doi2-48/+37
Change-Id: I91b43b01571f0597de4064d46d68c9049bc3d407 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Integrate car element stateYuta Doi2-87/+104
Change-Id: Idcbf6a186628553fa5118ba7238ae4a2e3bf87e2 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Use enum instead of constant macroYuta Doi2-28/+70
Change-Id: I36542efd33e92204188777092e2d7c31118dc033 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Add category "system" for showing specific app on restriction mode ONYuta Doi2-2/+67
Change-Id: Ic4d63045f98cd18b33876e4cde8d1d0a315706f0 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-18Modify API of PolicyManagerYuta Doi2-0/+5
Change-Id: Iae45cc7c34560396490722b2cc4570a04d806ae7 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-15Modify format of layout information and process for updating layoutYuta Doi1-4/+6
and delete unnecessary process Change-Id: I266cbc684c28b49d9855db851a56afbff3588b35 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-14Modify the process for updating layer stateYuta Doi1-1/+1
Change-Id: Iccfc332f996f2bc01cd5c6b9cad46229758c6212 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-08PolicyManager manage layout information (area, category, role)Yuta Doi2-11/+34
Change-Id: I0841819ef73a20308223414bca8d74f5b26215f5 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-07Modify struct stm_state_tYuta Doi2-76/+94
Change-Id: I4f9861d22439270200e202b1c365bbd1d055e900 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-01Add timer for restriction modeYuta Doi2-25/+65
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-23Bugfix: Restriction app is displayed on Dashboard app when steping on foot brakeYuta Doi1-4/+8
Change-Id: Ic4b2cd4769abf90c07d2c7e9c7961d3cae40202e Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-23Bugfix: Occur segmentation fault when steping on the accelerator before navi ↵Yuta Doi1-4/+17
app is started Change-Id: I5d1218c5eee9001725c14e7f20d05466b073bcfb Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-21Add lightstatus brake ON/OFF eventYuta Doi2-34/+67
Change-Id: Id2c61fc6e102394f5ba08effe0cfac448b337176 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-16Modify the policy of restrictionYuta Doi1-206/+245
for when the restricted app becomes invisible. Change-Id: I7519078844bd90855f69472bce042ce0bd8e52e5 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-14Add transmission gear position event in PolicyManagerYuta Doi2-20/+59
Change-Id: Ibf528b5ab3877d2cf094920fd0723873fb12647c Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-14PolicyManager can judge the current car stateYuta Doi2-29/+4
and remove judgement process of it from LowCanClient because it should be judged by PolicyManager Change-Id: I94467332665e34b751604cafe5d43f3abd4d7cfd 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-7/+39
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 Doi2-9/+50
Change-Id: Iea389d3899f2d01430400374ed0ab0f2fe882ec8 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-11The role "video" can be shown in split area for ALSYuta Doi1-4/+5
and the role "restriction" can use the areas other than "restriction.split.sub" Change-Id: I5aab163409cf5284b876dc9e44102ee620344472 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-10Modify for restriction roleYuta Doi2-19/+125
- 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-09Add policy of switching parking brake state to dummy stm for validationYuta Doi1-1/+14
Change-Id: I547e578526d6ce934c9fa8aa86170cea5a2f17e7 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-09Add parking brake ON/OFF eventYuta Doi2-34/+119
Change-Id: I3b9face35972a275918ac4f95f4a97df035ee924 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-07Add restriction and software keyboard layersKazumasa Mitsunari1-32/+0
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/+371
- 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>