Lines Matching refs:evt
75 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
80 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
168 int32_t QCameraStateMachine::procAPI(qcamera_sm_evt_enum_t evt, in procAPI() argument
180 node->evt = evt; in procAPI()
205 int32_t QCameraStateMachine::procEvt(qcamera_sm_evt_enum_t evt, in procEvt() argument
217 node->evt = evt; in procEvt()
242 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument
247 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine()
250 rc = procEvtPreviewReadyState(evt, payload); in stateMachine()
253 rc = procEvtPreviewingState(evt, payload); in stateMachine()
256 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine()
259 rc = procEvtPicTakingState(evt, payload); in stateMachine()
262 rc = procEvtRecordingState(evt, payload); in stateMachine()
265 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine()
268 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine()
291 int32_t QCameraStateMachine::procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, in procEvtPreviewStoppedState() argument
298 switch (evt) { in procEvtPreviewStoppedState()
303 result.request_api = evt; in procEvtPreviewStoppedState()
318 result.request_api = evt; in procEvtPreviewStoppedState()
327 result.request_api = evt; in procEvtPreviewStoppedState()
336 result.request_api = evt; in procEvtPreviewStoppedState()
345 result.request_api = evt; in procEvtPreviewStoppedState()
359 result.request_api = evt; in procEvtPreviewStoppedState()
369 result.request_api = evt; in procEvtPreviewStoppedState()
378 result.request_api = evt; in procEvtPreviewStoppedState()
406 result.request_api = evt; in procEvtPreviewStoppedState()
423 result.request_api = evt; in procEvtPreviewStoppedState()
433 result.request_api = evt; in procEvtPreviewStoppedState()
442 result.request_api = evt; in procEvtPreviewStoppedState()
452 result.request_api = evt; in procEvtPreviewStoppedState()
461 result.request_api = evt; in procEvtPreviewStoppedState()
470 result.request_api = evt; in procEvtPreviewStoppedState()
483 result.request_api = evt; in procEvtPreviewStoppedState()
495 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
498 result.request_api = evt; in procEvtPreviewStoppedState()
506 ALOGD("%s: No ops for evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
508 result.request_api = evt; in procEvtPreviewStoppedState()
517 result.request_api = evt; in procEvtPreviewStoppedState()
531 result.request_api = evt; in procEvtPreviewStoppedState()
565 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
586 int32_t QCameraStateMachine::procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, in procEvtPreviewReadyState() argument
593 switch (evt) { in procEvtPreviewReadyState()
608 result.request_api = evt; in procEvtPreviewReadyState()
623 result.request_api = evt; in procEvtPreviewReadyState()
632 result.request_api = evt; in procEvtPreviewReadyState()
641 result.request_api = evt; in procEvtPreviewReadyState()
650 result.request_api = evt; in procEvtPreviewReadyState()
677 result.request_api = evt; in procEvtPreviewReadyState()
687 result.request_api = evt; in procEvtPreviewReadyState()
696 result.request_api = evt; in procEvtPreviewReadyState()
706 result.request_api = evt; in procEvtPreviewReadyState()
717 result.request_api = evt; in procEvtPreviewReadyState()
726 result.request_api = evt; in procEvtPreviewReadyState()
736 result.request_api = evt; in procEvtPreviewReadyState()
746 result.request_api = evt; in procEvtPreviewReadyState()
755 result.request_api = evt; in procEvtPreviewReadyState()
764 result.request_api = evt; in procEvtPreviewReadyState()
773 result.request_api = evt; in procEvtPreviewReadyState()
786 result.request_api = evt; in procEvtPreviewReadyState()
800 result.request_api = evt; in procEvtPreviewReadyState()
815 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
818 result.request_api = evt; in procEvtPreviewReadyState()
846 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
867 int32_t QCameraStateMachine::procEvtPreviewingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewingState() argument
874 switch (evt) { in procEvtPreviewingState()
881 result.request_api = evt; in procEvtPreviewingState()
896 result.request_api = evt; in procEvtPreviewingState()
905 result.request_api = evt; in procEvtPreviewingState()
914 result.request_api = evt; in procEvtPreviewingState()
923 result.request_api = evt; in procEvtPreviewingState()
956 result.request_api = evt; in procEvtPreviewingState()
966 result.request_api = evt; in procEvtPreviewingState()
975 result.request_api = evt; in procEvtPreviewingState()
987 result.request_api = evt; in procEvtPreviewingState()
997 result.request_api = evt; in procEvtPreviewingState()
1006 result.request_api = evt; in procEvtPreviewingState()
1016 result.request_api = evt; in procEvtPreviewingState()
1026 result.request_api = evt; in procEvtPreviewingState()
1035 result.request_api = evt; in procEvtPreviewingState()
1044 result.request_api = evt; in procEvtPreviewingState()
1053 result.request_api = evt; in procEvtPreviewingState()
1066 result.request_api = evt; in procEvtPreviewingState()
1084 result.request_api = evt; in procEvtPreviewingState()
1106 result.request_api = evt; in procEvtPreviewingState()
1114 result.request_api = evt; in procEvtPreviewingState()
1129 result.request_api = evt; in procEvtPreviewingState()
1143 result.request_api = evt; in procEvtPreviewingState()
1154 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewingState()
1157 result.request_api = evt; in procEvtPreviewingState()
1204 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewingState()
1225 int32_t QCameraStateMachine::procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, in procEvtPrepareSnapshotState() argument
1232 switch (evt) { in procEvtPrepareSnapshotState()
1258 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1261 result.request_api = evt; in procEvtPrepareSnapshotState()
1311 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1332 int32_t QCameraStateMachine::procEvtPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPicTakingState() argument
1339 switch (evt) { in procEvtPicTakingState()
1346 result.request_api = evt; in procEvtPicTakingState()
1361 result.request_api = evt; in procEvtPicTakingState()
1370 result.request_api = evt; in procEvtPicTakingState()
1379 result.request_api = evt; in procEvtPicTakingState()
1388 result.request_api = evt; in procEvtPicTakingState()
1402 result.request_api = evt; in procEvtPicTakingState()
1412 result.request_api = evt; in procEvtPicTakingState()
1421 result.request_api = evt; in procEvtPicTakingState()
1433 result.request_api = evt; in procEvtPicTakingState()
1442 result.request_api = evt; in procEvtPicTakingState()
1452 result.request_api = evt; in procEvtPicTakingState()
1462 result.request_api = evt; in procEvtPicTakingState()
1471 result.request_api = evt; in procEvtPicTakingState()
1480 result.request_api = evt; in procEvtPicTakingState()
1489 result.request_api = evt; in procEvtPicTakingState()
1502 result.request_api = evt; in procEvtPicTakingState()
1512 result.request_api = evt; in procEvtPicTakingState()
1526 result.request_api = evt; in procEvtPicTakingState()
1540 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
1543 result.request_api = evt; in procEvtPicTakingState()
1591 result.request_api = evt; in procEvtPicTakingState()
1603 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
1624 int32_t QCameraStateMachine::procEvtRecordingState(qcamera_sm_evt_enum_t evt, in procEvtRecordingState() argument
1631 switch (evt) { in procEvtRecordingState()
1638 result.request_api = evt; in procEvtRecordingState()
1653 result.request_api = evt; in procEvtRecordingState()
1662 result.request_api = evt; in procEvtRecordingState()
1671 result.request_api = evt; in procEvtRecordingState()
1680 result.request_api = evt; in procEvtRecordingState()
1701 result.request_api = evt; in procEvtRecordingState()
1711 result.request_api = evt; in procEvtRecordingState()
1720 result.request_api = evt; in procEvtRecordingState()
1729 result.request_api = evt; in procEvtRecordingState()
1739 result.request_api = evt; in procEvtRecordingState()
1749 result.request_api = evt; in procEvtRecordingState()
1758 result.request_api = evt; in procEvtRecordingState()
1767 result.request_api = evt; in procEvtRecordingState()
1776 result.request_api = evt; in procEvtRecordingState()
1789 result.request_api = evt; in procEvtRecordingState()
1802 result.request_api = evt; in procEvtRecordingState()
1813 result.request_api = evt; in procEvtRecordingState()
1823 result.request_api = evt; in procEvtRecordingState()
1832 result.request_api = evt; in procEvtRecordingState()
1846 result.request_api = evt; in procEvtRecordingState()
1856 result.request_api = evt; in procEvtRecordingState()
1867 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
1870 result.request_api = evt; in procEvtRecordingState()
1915 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
1936 int32_t QCameraStateMachine::procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtVideoPicTakingState() argument
1943 switch (evt) { in procEvtVideoPicTakingState()
1950 result.request_api = evt; in procEvtVideoPicTakingState()
1965 result.request_api = evt; in procEvtVideoPicTakingState()
1974 result.request_api = evt; in procEvtVideoPicTakingState()
1983 result.request_api = evt; in procEvtVideoPicTakingState()
1992 result.request_api = evt; in procEvtVideoPicTakingState()
2013 result.request_api = evt; in procEvtVideoPicTakingState()
2023 result.request_api = evt; in procEvtVideoPicTakingState()
2032 result.request_api = evt; in procEvtVideoPicTakingState()
2041 result.request_api = evt; in procEvtVideoPicTakingState()
2051 result.request_api = evt; in procEvtVideoPicTakingState()
2061 result.request_api = evt; in procEvtVideoPicTakingState()
2070 result.request_api = evt; in procEvtVideoPicTakingState()
2079 result.request_api = evt; in procEvtVideoPicTakingState()
2088 result.request_api = evt; in procEvtVideoPicTakingState()
2101 result.request_api = evt; in procEvtVideoPicTakingState()
2111 result.request_api = evt; in procEvtVideoPicTakingState()
2120 result.request_api = evt; in procEvtVideoPicTakingState()
2130 result.request_api = evt; in procEvtVideoPicTakingState()
2144 result.request_api = evt; in procEvtVideoPicTakingState()
2157 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2160 result.request_api = evt; in procEvtVideoPicTakingState()
2208 result.request_api = evt; in procEvtVideoPicTakingState()
2220 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2241 int32_t QCameraStateMachine::procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewPicTakingState() argument
2248 switch (evt) { in procEvtPreviewPicTakingState()
2259 result.request_api = evt; in procEvtPreviewPicTakingState()
2268 result.request_api = evt; in procEvtPreviewPicTakingState()
2277 result.request_api = evt; in procEvtPreviewPicTakingState()
2286 result.request_api = evt; in procEvtPreviewPicTakingState()
2319 result.request_api = evt; in procEvtPreviewPicTakingState()
2329 result.request_api = evt; in procEvtPreviewPicTakingState()
2338 result.request_api = evt; in procEvtPreviewPicTakingState()
2347 result.request_api = evt; in procEvtPreviewPicTakingState()
2357 result.request_api = evt; in procEvtPreviewPicTakingState()
2367 result.request_api = evt; in procEvtPreviewPicTakingState()
2376 result.request_api = evt; in procEvtPreviewPicTakingState()
2385 result.request_api = evt; in procEvtPreviewPicTakingState()
2394 result.request_api = evt; in procEvtPreviewPicTakingState()
2407 result.request_api = evt; in procEvtPreviewPicTakingState()
2416 result.request_api = evt; in procEvtPreviewPicTakingState()
2430 result.request_api = evt; in procEvtPreviewPicTakingState()
2449 result.request_api = evt; in procEvtPreviewPicTakingState()
2461 result.request_api = evt; in procEvtPreviewPicTakingState()
2475 result.request_api = evt; in procEvtPreviewPicTakingState()
2488 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()
2491 result.request_api = evt; in procEvtPreviewPicTakingState()
2543 result.request_api = evt; in procEvtPreviewPicTakingState()
2555 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()