Lines Matching refs:evt

75                 pme->stateMachine(node->evt, node->evt_payload);  in smEvtProcRoutine()
80 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
213 int32_t QCameraStateMachine::procAPI(qcamera_sm_evt_enum_t evt, in procAPI() argument
225 node->evt = evt; in procAPI()
250 int32_t QCameraStateMachine::procEvt(qcamera_sm_evt_enum_t evt, in procEvt() argument
262 node->evt = evt; in procEvt()
287 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument
290 ALOGV("%s: m_state %d, event (%d)", __func__, m_state, evt); in stateMachine()
293 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine()
296 rc = procEvtPreviewReadyState(evt, payload); in stateMachine()
299 rc = procEvtPreviewingState(evt, payload); in stateMachine()
302 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine()
305 rc = procEvtPicTakingState(evt, payload); in stateMachine()
308 rc = procEvtRecordingState(evt, payload); in stateMachine()
311 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine()
314 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine()
337 int32_t QCameraStateMachine::procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, in procEvtPreviewStoppedState() argument
344 ALOGV("%s: event (%d)", __func__, evt); in procEvtPreviewStoppedState()
345 switch (evt) { in procEvtPreviewStoppedState()
350 result.request_api = evt; in procEvtPreviewStoppedState()
365 result.request_api = evt; in procEvtPreviewStoppedState()
374 result.request_api = evt; in procEvtPreviewStoppedState()
383 result.request_api = evt; in procEvtPreviewStoppedState()
392 result.request_api = evt; in procEvtPreviewStoppedState()
410 result.request_api = evt; in procEvtPreviewStoppedState()
420 result.request_api = evt; in procEvtPreviewStoppedState()
429 result.request_api = evt; in procEvtPreviewStoppedState()
458 result.request_api = evt; in procEvtPreviewStoppedState()
476 result.request_api = evt; in procEvtPreviewStoppedState()
486 result.request_api = evt; in procEvtPreviewStoppedState()
495 result.request_api = evt; in procEvtPreviewStoppedState()
505 result.request_api = evt; in procEvtPreviewStoppedState()
514 result.request_api = evt; in procEvtPreviewStoppedState()
523 result.request_api = evt; in procEvtPreviewStoppedState()
536 result.request_api = evt; in procEvtPreviewStoppedState()
547 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
550 result.request_api = evt; in procEvtPreviewStoppedState()
559 CDBG_HIGH("%s: No ops for evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
561 result.request_api = evt; in procEvtPreviewStoppedState()
570 result.request_api = evt; in procEvtPreviewStoppedState()
584 result.request_api = evt; in procEvtPreviewStoppedState()
624 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
626 result.request_api = evt; in procEvtPreviewStoppedState()
640 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
647 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewStoppedState()
668 int32_t QCameraStateMachine::procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, in procEvtPreviewReadyState() argument
675 ALOGV("%s: event (%d)", __func__, evt); in procEvtPreviewReadyState()
676 switch (evt) { in procEvtPreviewReadyState()
692 result.request_api = evt; in procEvtPreviewReadyState()
707 result.request_api = evt; in procEvtPreviewReadyState()
716 result.request_api = evt; in procEvtPreviewReadyState()
725 result.request_api = evt; in procEvtPreviewReadyState()
734 result.request_api = evt; in procEvtPreviewReadyState()
763 result.request_api = evt; in procEvtPreviewReadyState()
773 result.request_api = evt; in procEvtPreviewReadyState()
782 result.request_api = evt; in procEvtPreviewReadyState()
792 result.request_api = evt; in procEvtPreviewReadyState()
803 result.request_api = evt; in procEvtPreviewReadyState()
812 result.request_api = evt; in procEvtPreviewReadyState()
822 result.request_api = evt; in procEvtPreviewReadyState()
832 result.request_api = evt; in procEvtPreviewReadyState()
841 result.request_api = evt; in procEvtPreviewReadyState()
850 result.request_api = evt; in procEvtPreviewReadyState()
859 result.request_api = evt; in procEvtPreviewReadyState()
872 result.request_api = evt; in procEvtPreviewReadyState()
886 result.request_api = evt; in procEvtPreviewReadyState()
901 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
904 result.request_api = evt; in procEvtPreviewReadyState()
938 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
940 result.request_api = evt; in procEvtPreviewReadyState()
954 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
962 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewReadyState()
983 int32_t QCameraStateMachine::procEvtPreviewingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewingState() argument
990 ALOGV("%s: event (%d)", __func__, evt); in procEvtPreviewingState()
991 switch (evt) { in procEvtPreviewingState()
998 result.request_api = evt; in procEvtPreviewingState()
1013 result.request_api = evt; in procEvtPreviewingState()
1028 result.request_api = evt; in procEvtPreviewingState()
1044 result.request_api = evt; in procEvtPreviewingState()
1057 result.request_api = evt; in procEvtPreviewingState()
1093 result.request_api = evt; in procEvtPreviewingState()
1103 result.request_api = evt; in procEvtPreviewingState()
1112 result.request_api = evt; in procEvtPreviewingState()
1125 result.request_api = evt; in procEvtPreviewingState()
1136 result.request_api = evt; in procEvtPreviewingState()
1146 result.request_api = evt; in procEvtPreviewingState()
1156 result.request_api = evt; in procEvtPreviewingState()
1166 result.request_api = evt; in procEvtPreviewingState()
1175 result.request_api = evt; in procEvtPreviewingState()
1184 result.request_api = evt; in procEvtPreviewingState()
1193 result.request_api = evt; in procEvtPreviewingState()
1207 result.request_api = evt; in procEvtPreviewingState()
1226 result.request_api = evt; in procEvtPreviewingState()
1249 result.request_api = evt; in procEvtPreviewingState()
1262 result.request_api = evt; in procEvtPreviewingState()
1273 result.request_api = evt; in procEvtPreviewingState()
1305 result.request_api = evt; in procEvtPreviewingState()
1319 result.request_api = evt; in procEvtPreviewingState()
1330 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewingState()
1333 result.request_api = evt; in procEvtPreviewingState()
1422 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewingState()
1424 result.request_api = evt; in procEvtPreviewingState()
1431 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewingState()
1452 int32_t QCameraStateMachine::procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, in procEvtPrepareSnapshotState() argument
1459 ALOGV("%s: event (%d)", __func__, evt); in procEvtPrepareSnapshotState()
1460 switch (evt) { in procEvtPrepareSnapshotState()
1487 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1490 result.request_api = evt; in procEvtPrepareSnapshotState()
1527 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1583 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1585 result.request_api = evt; in procEvtPrepareSnapshotState()
1597 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPrepareSnapshotState()
1618 int32_t QCameraStateMachine::procEvtPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPicTakingState() argument
1625 ALOGV("%s: event (%d)", __func__, evt); in procEvtPicTakingState()
1626 switch (evt) { in procEvtPicTakingState()
1633 result.request_api = evt; in procEvtPicTakingState()
1648 result.request_api = evt; in procEvtPicTakingState()
1657 result.request_api = evt; in procEvtPicTakingState()
1666 result.request_api = evt; in procEvtPicTakingState()
1675 result.request_api = evt; in procEvtPicTakingState()
1689 result.request_api = evt; in procEvtPicTakingState()
1699 result.request_api = evt; in procEvtPicTakingState()
1708 result.request_api = evt; in procEvtPicTakingState()
1720 result.request_api = evt; in procEvtPicTakingState()
1729 result.request_api = evt; in procEvtPicTakingState()
1739 result.request_api = evt; in procEvtPicTakingState()
1749 result.request_api = evt; in procEvtPicTakingState()
1758 result.request_api = evt; in procEvtPicTakingState()
1767 result.request_api = evt; in procEvtPicTakingState()
1776 result.request_api = evt; in procEvtPicTakingState()
1795 result.request_api = evt; in procEvtPicTakingState()
1805 result.request_api = evt; in procEvtPicTakingState()
1819 result.request_api = evt; in procEvtPicTakingState()
1830 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
1835 result.request_api = evt; in procEvtPicTakingState()
1848 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
1851 result.request_api = evt; in procEvtPicTakingState()
1877 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
1962 result.request_api = evt; in procEvtPicTakingState()
1979 result.request_api = evt; in procEvtPicTakingState()
1990 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPicTakingState()
2011 int32_t QCameraStateMachine::procEvtRecordingState(qcamera_sm_evt_enum_t evt, in procEvtRecordingState() argument
2018 ALOGV("%s: event (%d)", __func__, evt); in procEvtRecordingState()
2019 switch (evt) { in procEvtRecordingState()
2028 result.request_api = evt; in procEvtRecordingState()
2043 result.request_api = evt; in procEvtRecordingState()
2052 result.request_api = evt; in procEvtRecordingState()
2061 result.request_api = evt; in procEvtRecordingState()
2070 result.request_api = evt; in procEvtRecordingState()
2091 result.request_api = evt; in procEvtRecordingState()
2101 result.request_api = evt; in procEvtRecordingState()
2110 result.request_api = evt; in procEvtRecordingState()
2119 result.request_api = evt; in procEvtRecordingState()
2129 result.request_api = evt; in procEvtRecordingState()
2139 result.request_api = evt; in procEvtRecordingState()
2148 result.request_api = evt; in procEvtRecordingState()
2157 result.request_api = evt; in procEvtRecordingState()
2166 result.request_api = evt; in procEvtRecordingState()
2179 result.request_api = evt; in procEvtRecordingState()
2192 result.request_api = evt; in procEvtRecordingState()
2203 result.request_api = evt; in procEvtRecordingState()
2213 result.request_api = evt; in procEvtRecordingState()
2227 result.request_api = evt; in procEvtRecordingState()
2236 result.request_api = evt; in procEvtRecordingState()
2250 result.request_api = evt; in procEvtRecordingState()
2260 result.request_api = evt; in procEvtRecordingState()
2269 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2272 result.request_api = evt; in procEvtRecordingState()
2300 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2359 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2361 result.request_api = evt; in procEvtRecordingState()
2368 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2389 int32_t QCameraStateMachine::procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtVideoPicTakingState() argument
2396 ALOGV("%s: event (%d)", __func__, evt); in procEvtVideoPicTakingState()
2397 switch (evt) { in procEvtVideoPicTakingState()
2404 result.request_api = evt; in procEvtVideoPicTakingState()
2419 result.request_api = evt; in procEvtVideoPicTakingState()
2428 result.request_api = evt; in procEvtVideoPicTakingState()
2437 result.request_api = evt; in procEvtVideoPicTakingState()
2446 result.request_api = evt; in procEvtVideoPicTakingState()
2467 result.request_api = evt; in procEvtVideoPicTakingState()
2477 result.request_api = evt; in procEvtVideoPicTakingState()
2486 result.request_api = evt; in procEvtVideoPicTakingState()
2495 result.request_api = evt; in procEvtVideoPicTakingState()
2505 result.request_api = evt; in procEvtVideoPicTakingState()
2515 result.request_api = evt; in procEvtVideoPicTakingState()
2524 result.request_api = evt; in procEvtVideoPicTakingState()
2533 result.request_api = evt; in procEvtVideoPicTakingState()
2542 result.request_api = evt; in procEvtVideoPicTakingState()
2555 result.request_api = evt; in procEvtVideoPicTakingState()
2569 result.request_api = evt; in procEvtVideoPicTakingState()
2578 result.request_api = evt; in procEvtVideoPicTakingState()
2588 result.request_api = evt; in procEvtVideoPicTakingState()
2602 result.request_api = evt; in procEvtVideoPicTakingState()
2620 result.request_api = evt; in procEvtVideoPicTakingState()
2632 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2635 result.request_api = evt; in procEvtVideoPicTakingState()
2663 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2726 result.request_api = evt; in procEvtVideoPicTakingState()
2737 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2758 int32_t QCameraStateMachine::procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewPicTakingState() argument
2765 ALOGV("%s: event (%d)", __func__, evt); in procEvtPreviewPicTakingState()
2766 switch (evt) { in procEvtPreviewPicTakingState()
2777 result.request_api = evt; in procEvtPreviewPicTakingState()
2786 result.request_api = evt; in procEvtPreviewPicTakingState()
2795 result.request_api = evt; in procEvtPreviewPicTakingState()
2804 result.request_api = evt; in procEvtPreviewPicTakingState()
2840 result.request_api = evt; in procEvtPreviewPicTakingState()
2850 result.request_api = evt; in procEvtPreviewPicTakingState()
2859 result.request_api = evt; in procEvtPreviewPicTakingState()
2868 result.request_api = evt; in procEvtPreviewPicTakingState()
2878 result.request_api = evt; in procEvtPreviewPicTakingState()
2888 result.request_api = evt; in procEvtPreviewPicTakingState()
2897 result.request_api = evt; in procEvtPreviewPicTakingState()
2906 result.request_api = evt; in procEvtPreviewPicTakingState()
2915 result.request_api = evt; in procEvtPreviewPicTakingState()
2934 result.request_api = evt; in procEvtPreviewPicTakingState()
2943 result.request_api = evt; in procEvtPreviewPicTakingState()
2957 result.request_api = evt; in procEvtPreviewPicTakingState()
2979 result.request_api = evt; in procEvtPreviewPicTakingState()
2988 __func__, evt, m_state); in procEvtPreviewPicTakingState()
2992 __func__, evt, m_state); in procEvtPreviewPicTakingState()
3001 result.request_api = evt; in procEvtPreviewPicTakingState()
3015 result.request_api = evt; in procEvtPreviewPicTakingState()
3026 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()
3031 result.request_api = evt; in procEvtPreviewPicTakingState()
3047 result.request_api = evt; in procEvtPreviewPicTakingState()
3054 __func__, evt, m_state); in procEvtPreviewPicTakingState()
3057 result.request_api = evt; in procEvtPreviewPicTakingState()
3069 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()
3072 result.request_api = evt; in procEvtPreviewPicTakingState()
3129 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()
3200 result.request_api = evt; in procEvtPreviewPicTakingState()
3207 result.request_api = evt; in procEvtPreviewPicTakingState()
3218 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtPreviewPicTakingState()