aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-06-22Modify error process for setInputEventDataYuta Doi1-16/+34
Change-Id: I5853de459ba572ac702ef5f3e3b332bdc516d6fb Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Remove the roles which have name written by pascal caseYuta Doi1-2/+2
Change-Id: Ie66b4c6593b75d42e53a9f2426bd37823ec48991 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Modify data type of changed flagYuta Doi1-12/+12
Change-Id: I43f260e7c854a6b5be78f860d55b813937af975f Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Move layout.dbYuta Doi3-159/+1
Change-Id: I38e008245173fd4a7c2d4ae19e8baab85fbbb27d Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Modify layout nameYuta Doi3-156/+107
Change-Id: Ia58664efc1924e04a026ed0dd6c16c8a90e4c2e0 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Modify role definitionYuta Doi1-7/+12
Change-Id: I1598af88fbe0fa84bccad299a26175650ba058e8 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-22Separate area.db from layout.dbYuta Doi5-205/+143
Change-Id: I556d3acb292fa79c45aee25f47170d66d76b1448 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-21Bug fix: Always changed flag becomes true when restriction mode is changedYuta Doi1-12/+27
Change-Id: I4812af0b1afd81fb8f1323ca416063e5d5d9ba70 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-21OnScreen app can be displayed for pop_up roleYuta Doi6-15/+64
Change-Id: I53cdcd010c9e0b87cd4207d8bb81bb5784202f18 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-21Modify commentYuta Doi1-6/+2
Change-Id: I95b9ccb8465d52c973e940bf5603694ba29c4cdd Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-21Modify debug logYuta Doi1-8/+9
Change-Id: Idca7758b7f86a6004546ba37713360d9bac864db Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Use default area when area is not requestedYuta Doi1-3/+5
Change-Id: I397987d15b17a7fe0049362e998dee12afa894ca Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Modify car info nameYuta Doi2-4/+4
Change-Id: I81939c5e981b6fb2f15257d40331d328a3bb55af Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Replace word "is_changed" to "changed"Yuta Doi3-94/+94
Change-Id: I86a64c98f97ba9f7c2fd8ee294c29b073329be25 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Modify string of car stateYuta Doi4-63/+52
Change-Id: I91b43b01571f0597de4064d46d68c9049bc3d407 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Modify process of analyzing current state in ResourceManagerYuta Doi3-141/+90
Change-Id: I29115b7b5edbe66849de928a5b58e595c16fadaa Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Move event info queue into PolicyManagerYuta Doi2-14/+15
Change-Id: I54a1bd129f396937c3e89bebf02b47c8f610db77 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Modify member variable nameYuta Doi9-130/+130
Change-Id: Ic9100cfc33c664d3dfa935c4c7131efd8dd2f1f7 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Integrate car element stateYuta Doi5-218/+231
Change-Id: Idcbf6a186628553fa5118ba7238ae4a2e3bf87e2 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Segment process for control timer eventYuta Doi1-25/+29
Change-Id: Ie13b7067095c7be0f2cac26150b9cc37650c374e Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Add calling callback for onErrorYuta Doi2-6/+27
Change-Id: I462759f3fe1f826bfd45e15c9b9416cf53486ed2 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Segment processYuta Doi3-75/+103
Change-Id: Ib25c5ed69624f7cc5c560e9f87531fe1af3bfd4c Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Remove unnecessary codeYuta Doi2-11/+0
Change-Id: Iaeb0ca411269f3371dbd813e7b6095a7069be79d Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Use enum instead of constant macroYuta Doi3-31/+72
Change-Id: I36542efd33e92204188777092e2d7c31118dc033 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-20Add category "system" for showing specific app on restriction mode ONYuta Doi3-3/+73
Change-Id: Ic4d63045f98cd18b33876e4cde8d1d0a315706f0 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-20Bug fix: Refer removed surface id in vector of pending_end_drawYuta Doi1-1/+3
Change-Id: I76d86bb19388334dd640fbe07e8d307dec9b61cc Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-19Bug fix: nullptr accessYuta Doi1-3/+2
Change-Id: Idb64e91729c566dfb006bb71c82cf695e68945d2 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-18Remove unnecesarry member variable: role2surfaceid_Yuta Doi2-13/+8
Change-Id: Ia90c9f903e818ab9791648627206f39483be9fdc Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-18Modify API of PolicyManagerYuta Doi5-21/+74
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 Doi7-616/+113
and delete unnecessary process Change-Id: I266cbc684c28b49d9855db851a56afbff3588b35 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-15Add new addStateToJson()Yuta Doi1-4/+30
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-14Modify the process for updating layer stateYuta Doi3-143/+106
Change-Id: Iccfc332f996f2bc01cd5c6b9cad46229758c6212 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-11Update managing layout informationYuta Doi1-3/+25
Change-Id: I9e1e3f5c7d0f1815ef3d4ea1045eb67db35ad787 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-11Update managing layout informationYuta Doi1-18/+62
Change-Id: I57d7281afc000f4c4c22b54bedd4e61bdd91872b Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-08PolicyManager manage layout information (area, category, role)Yuta Doi3-116/+305
Change-Id: I0841819ef73a20308223414bca8d74f5b26215f5 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-08PolicyManager uses layout informationYuta Doi4-17/+314
Change-Id: I6628c5614d0ed28d9c60a9d6f792a31c805178dd Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-07Modify struct stm_state_tYuta Doi4-96/+241
Change-Id: I4f9861d22439270200e202b1c365bbd1d055e900 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-05Add new roles and remove unnecessary role definitionYuta Doi1-4/+0
Change-Id: I228ffab3810675789dc9cf90a0e4683466f79b2f Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-05Add the role "launcher"Yuta Doi1-0/+4
Change-Id: Ied50062946952ccad265e496a038ca3394d9245b Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-05Bug fix: refer the released memory of role nameYuta Doi1-9/+7
Change-Id: I67aa440a37f8955da2d7daaf1f6ace95016b763d Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-01Modify request_surface for XDG appYuta Doi1-3/+6
Change-Id: I91ac5d09f985e2dda1b0ed6274f01106c87807be Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-01Modify API of PolicyManagerYuta Doi4-400/+419
and change the process for stopping timer Change-Id: Id7f9ba1c25adc188b01d8407f7043ea22da113d9 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-01Use sd_event_add_defer() for dispatching checkPolicyYuta Doi1-32/+45
and modify the format of the logs Change-Id: Ic6e4a74c03e9fc74277ce4da0d3fd726c81a4a95 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-06-01Add timer for restriction modeYuta Doi5-204/+346
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-06-01PolicyManager uses sd_event loop for the process of check policyYuta Doi3-86/+180
Change-Id: I1e7f7c2085ec30e09a53a67c0ad9c51b2bf53578 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-28Use afb_service_call instead of afb_service_call_syncYuta Doi1-6/+5
because initializing of WindowManager is dispatched when starting low-can service is late. Change-Id: I081aeda5dcd2a815467e6d19c51deec63d6303f4 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-25The surfaces are managed by using the roles instead of the drawing namesYuta Doi2-42/+32
Change-Id: I7373a54f2df334ac223b51a6cb9a643a88e7c33c Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-25Delete label "role" for the API activateSurface and deactivateSurfaceYuta Doi3-56/+39
Change-Id: Ia59c0f3ad9d44e0836520abc50419d0be006acdf Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-24Use $ORIGIN for rpathYuta Doi1-1/+1
Change-Id: I33e1faa842ce881f56a8734b2463f650510929da Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>