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
245 ALOGV("%s: m_state %d, event (%d)", __func__, m_state, evt); in stateMachine()
248 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine()
251 rc = procEvtPreviewReadyState(evt, payload); in stateMachine()
254 rc = procEvtPreviewingState(evt, payload); in stateMachine()
257 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine()
260 rc = procEvtPicTakingState(evt, payload); in stateMachine()
263 rc = procEvtRecordingState(evt, payload); in stateMachine()
266 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine()
269 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine()
292 int32_t QCameraStateMachine::procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, in procEvtPreviewStoppedState() argument
299 ALOGV("%s: event (%d)", __func__, evt); in procEvtPreviewStoppedState()
300 switch (evt) { in procEvtPreviewStoppedState()
305 result.request_api = evt; in procEvtPreviewStoppedState()
320 result.request_api = evt; in procEvtPreviewStoppedState()
329 result.request_api = evt; in procEvtPreviewStoppedState()
338 result.request_api = evt; in procEvtPreviewStoppedState()
347 result.request_api = evt; in procEvtPreviewStoppedState()
365 result.request_api = evt; in procEvtPreviewStoppedState()
375 result.request_api = evt; in procEvtPreviewStoppedState()
384 result.request_api = evt; in procEvtPreviewStoppedState()
412 result.request_api = evt; in procEvtPreviewStoppedState()
429 result.request_api = evt; in procEvtPreviewStoppedState()
439 result.request_api = evt; in procEvtPreviewStoppedState()
448 result.request_api = evt; in procEvtPreviewStoppedState()
458 result.request_api = evt; in procEvtPreviewStoppedState()
467 result.request_api = evt; in procEvtPreviewStoppedState()
476 result.request_api = evt; in procEvtPreviewStoppedState()
489 result.request_api = evt; in procEvtPreviewStoppedState()
500 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
503 result.request_api = evt; in procEvtPreviewStoppedState()
512 CDBG_HIGH("%s: No ops for evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
514 result.request_api = evt; in procEvtPreviewStoppedState()
525 result.request_api = evt; in procEvtPreviewStoppedState()
540 result.request_api = evt; in procEvtPreviewStoppedState()
581 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
583 result.request_api = evt; in procEvtPreviewStoppedState()
591 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
612 int32_t QCameraStateMachine::procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, in procEvtPreviewReadyState() argument
619 ALOGV("%s: event (%d)", __func__, evt); in procEvtPreviewReadyState()
620 switch (evt) { in procEvtPreviewReadyState()
635 result.request_api = evt; in procEvtPreviewReadyState()
650 result.request_api = evt; in procEvtPreviewReadyState()
659 result.request_api = evt; in procEvtPreviewReadyState()
668 result.request_api = evt; in procEvtPreviewReadyState()
677 result.request_api = evt; in procEvtPreviewReadyState()
706 result.request_api = evt; in procEvtPreviewReadyState()
716 result.request_api = evt; in procEvtPreviewReadyState()
725 result.request_api = evt; in procEvtPreviewReadyState()
735 result.request_api = evt; in procEvtPreviewReadyState()
746 result.request_api = evt; in procEvtPreviewReadyState()
755 result.request_api = evt; in procEvtPreviewReadyState()
765 result.request_api = evt; in procEvtPreviewReadyState()
775 result.request_api = evt; in procEvtPreviewReadyState()
784 result.request_api = evt; in procEvtPreviewReadyState()
793 result.request_api = evt; in procEvtPreviewReadyState()
804 result.request_api = evt; in procEvtPreviewReadyState()
818 result.request_api = evt; in procEvtPreviewReadyState()
832 result.request_api = evt; in procEvtPreviewReadyState()
847 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
850 result.request_api = evt; in procEvtPreviewReadyState()
884 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
886 result.request_api = evt; in procEvtPreviewReadyState()
895 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
916 int32_t QCameraStateMachine::procEvtPreviewingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewingState() argument
923 ALOGV("%s: event (%d)", __func__, evt); in procEvtPreviewingState()
924 switch (evt) { in procEvtPreviewingState()
931 result.request_api = evt; in procEvtPreviewingState()
946 result.request_api = evt; in procEvtPreviewingState()
955 result.request_api = evt; in procEvtPreviewingState()
964 result.request_api = evt; in procEvtPreviewingState()
973 result.request_api = evt; in procEvtPreviewingState()
1008 result.request_api = evt; in procEvtPreviewingState()
1018 result.request_api = evt; in procEvtPreviewingState()
1027 result.request_api = evt; in procEvtPreviewingState()
1039 result.request_api = evt; in procEvtPreviewingState()
1049 result.request_api = evt; in procEvtPreviewingState()
1058 result.request_api = evt; in procEvtPreviewingState()
1068 result.request_api = evt; in procEvtPreviewingState()
1078 result.request_api = evt; in procEvtPreviewingState()
1087 result.request_api = evt; in procEvtPreviewingState()
1096 result.request_api = evt; in procEvtPreviewingState()
1107 result.request_api = evt; in procEvtPreviewingState()
1121 result.request_api = evt; in procEvtPreviewingState()
1139 result.request_api = evt; in procEvtPreviewingState()
1161 result.request_api = evt; in procEvtPreviewingState()
1174 result.request_api = evt; in procEvtPreviewingState()
1185 result.request_api = evt; in procEvtPreviewingState()
1199 result.request_api = evt; in procEvtPreviewingState()
1213 result.request_api = evt; in procEvtPreviewingState()
1224 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewingState()
1227 result.request_api = evt; in procEvtPreviewingState()
1296 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewingState()
1298 result.request_api = evt; in procEvtPreviewingState()
1305 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewingState()
1326 int32_t QCameraStateMachine::procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, in procEvtPrepareSnapshotState() argument
1333 ALOGV("%s: event (%d)", __func__, evt); in procEvtPrepareSnapshotState()
1334 switch (evt) { in procEvtPrepareSnapshotState()
1361 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1364 result.request_api = evt; in procEvtPrepareSnapshotState()
1436 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1438 result.request_api = evt; in procEvtPrepareSnapshotState()
1446 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1467 int32_t QCameraStateMachine::procEvtPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPicTakingState() argument
1474 ALOGV("%s: event (%d)", __func__, evt); in procEvtPicTakingState()
1475 switch (evt) { in procEvtPicTakingState()
1482 result.request_api = evt; in procEvtPicTakingState()
1497 result.request_api = evt; in procEvtPicTakingState()
1506 result.request_api = evt; in procEvtPicTakingState()
1515 result.request_api = evt; in procEvtPicTakingState()
1524 result.request_api = evt; in procEvtPicTakingState()
1538 result.request_api = evt; in procEvtPicTakingState()
1548 result.request_api = evt; in procEvtPicTakingState()
1557 result.request_api = evt; in procEvtPicTakingState()
1569 result.request_api = evt; in procEvtPicTakingState()
1578 result.request_api = evt; in procEvtPicTakingState()
1588 result.request_api = evt; in procEvtPicTakingState()
1598 result.request_api = evt; in procEvtPicTakingState()
1607 result.request_api = evt; in procEvtPicTakingState()
1616 result.request_api = evt; in procEvtPicTakingState()
1627 result.request_api = evt; in procEvtPicTakingState()
1647 result.request_api = evt; in procEvtPicTakingState()
1657 result.request_api = evt; in procEvtPicTakingState()
1671 result.request_api = evt; in procEvtPicTakingState()
1682 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
1687 result.request_api = evt; in procEvtPicTakingState()
1700 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
1703 result.request_api = evt; in procEvtPicTakingState()
1780 result.request_api = evt; in procEvtPicTakingState()
1797 result.request_api = evt; in procEvtPicTakingState()
1809 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
1830 int32_t QCameraStateMachine::procEvtRecordingState(qcamera_sm_evt_enum_t evt, in procEvtRecordingState() argument
1837 ALOGV("%s: event (%d)", __func__, evt); in procEvtRecordingState()
1838 switch (evt) { in procEvtRecordingState()
1847 result.request_api = evt; in procEvtRecordingState()
1862 result.request_api = evt; in procEvtRecordingState()
1871 result.request_api = evt; in procEvtRecordingState()
1880 result.request_api = evt; in procEvtRecordingState()
1889 result.request_api = evt; in procEvtRecordingState()
1910 result.request_api = evt; in procEvtRecordingState()
1920 result.request_api = evt; in procEvtRecordingState()
1929 result.request_api = evt; in procEvtRecordingState()
1938 result.request_api = evt; in procEvtRecordingState()
1948 result.request_api = evt; in procEvtRecordingState()
1958 result.request_api = evt; in procEvtRecordingState()
1967 result.request_api = evt; in procEvtRecordingState()
1976 result.request_api = evt; in procEvtRecordingState()
1987 result.request_api = evt; in procEvtRecordingState()
2001 result.request_api = evt; in procEvtRecordingState()
2014 result.request_api = evt; in procEvtRecordingState()
2025 result.request_api = evt; in procEvtRecordingState()
2035 result.request_api = evt; in procEvtRecordingState()
2049 result.request_api = evt; in procEvtRecordingState()
2058 result.request_api = evt; in procEvtRecordingState()
2072 result.request_api = evt; in procEvtRecordingState()
2082 result.request_api = evt; in procEvtRecordingState()
2091 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2094 result.request_api = evt; in procEvtRecordingState()
2161 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2163 result.request_api = evt; in procEvtRecordingState()
2170 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2191 int32_t QCameraStateMachine::procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtVideoPicTakingState() argument
2198 ALOGV("%s: event (%d)", __func__, evt); in procEvtVideoPicTakingState()
2199 switch (evt) { in procEvtVideoPicTakingState()
2206 result.request_api = evt; in procEvtVideoPicTakingState()
2221 result.request_api = evt; in procEvtVideoPicTakingState()
2230 result.request_api = evt; in procEvtVideoPicTakingState()
2239 result.request_api = evt; in procEvtVideoPicTakingState()
2248 result.request_api = evt; in procEvtVideoPicTakingState()
2269 result.request_api = evt; in procEvtVideoPicTakingState()
2279 result.request_api = evt; in procEvtVideoPicTakingState()
2288 result.request_api = evt; in procEvtVideoPicTakingState()
2297 result.request_api = evt; in procEvtVideoPicTakingState()
2307 result.request_api = evt; in procEvtVideoPicTakingState()
2317 result.request_api = evt; in procEvtVideoPicTakingState()
2326 result.request_api = evt; in procEvtVideoPicTakingState()
2335 result.request_api = evt; in procEvtVideoPicTakingState()
2346 result.request_api = evt; in procEvtVideoPicTakingState()
2360 result.request_api = evt; in procEvtVideoPicTakingState()
2374 result.request_api = evt; in procEvtVideoPicTakingState()
2383 result.request_api = evt; in procEvtVideoPicTakingState()
2393 result.request_api = evt; in procEvtVideoPicTakingState()
2407 result.request_api = evt; in procEvtVideoPicTakingState()
2425 result.request_api = evt; in procEvtVideoPicTakingState()
2437 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2440 result.request_api = evt; in procEvtVideoPicTakingState()
2510 result.request_api = evt; in procEvtVideoPicTakingState()
2522 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2543 int32_t QCameraStateMachine::procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewPicTakingState() argument
2550 ALOGV("%s: event (%d)", __func__, evt); in procEvtPreviewPicTakingState()
2551 switch (evt) { in procEvtPreviewPicTakingState()
2562 result.request_api = evt; in procEvtPreviewPicTakingState()
2571 result.request_api = evt; in procEvtPreviewPicTakingState()
2580 result.request_api = evt; in procEvtPreviewPicTakingState()
2589 result.request_api = evt; in procEvtPreviewPicTakingState()
2624 result.request_api = evt; in procEvtPreviewPicTakingState()
2634 result.request_api = evt; in procEvtPreviewPicTakingState()
2643 result.request_api = evt; in procEvtPreviewPicTakingState()
2652 result.request_api = evt; in procEvtPreviewPicTakingState()
2662 result.request_api = evt; in procEvtPreviewPicTakingState()
2672 result.request_api = evt; in procEvtPreviewPicTakingState()
2681 result.request_api = evt; in procEvtPreviewPicTakingState()
2690 result.request_api = evt; in procEvtPreviewPicTakingState()
2701 result.request_api = evt; in procEvtPreviewPicTakingState()
2721 result.request_api = evt; in procEvtPreviewPicTakingState()
2730 result.request_api = evt; in procEvtPreviewPicTakingState()
2744 result.request_api = evt; in procEvtPreviewPicTakingState()
2766 result.request_api = evt; in procEvtPreviewPicTakingState()
2775 __func__, evt, m_state); in procEvtPreviewPicTakingState()
2779 __func__, evt, m_state); in procEvtPreviewPicTakingState()
2788 result.request_api = evt; in procEvtPreviewPicTakingState()
2802 result.request_api = evt; in procEvtPreviewPicTakingState()
2813 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()
2818 result.request_api = evt; in procEvtPreviewPicTakingState()
2834 result.request_api = evt; in procEvtPreviewPicTakingState()
2841 __func__, evt, m_state); in procEvtPreviewPicTakingState()
2844 result.request_api = evt; in procEvtPreviewPicTakingState()
2856 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()
2859 result.request_api = evt; in procEvtPreviewPicTakingState()
2966 result.request_api = evt; in procEvtPreviewPicTakingState()
2973 result.request_api = evt; in procEvtPreviewPicTakingState()
2985 ALOGE("%s: cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()