Lines Matching refs:evt
83 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
88 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
223 int32_t QCameraStateMachine::procAPI(qcamera_sm_evt_enum_t evt, in procAPI() argument
235 node->evt = evt; in procAPI()
241 LOGE("API enqueue failed API = %d", evt); in procAPI()
261 int32_t QCameraStateMachine::procEvt(qcamera_sm_evt_enum_t evt, in procEvt() argument
273 node->evt = evt; in procEvt()
279 LOGE("EVENT enqueue failed Event = %d", evt); in procEvt()
299 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument
302 LOGL("m_state %d, event (%d)", m_state, evt); in stateMachine()
305 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine()
308 rc = procEvtPreviewReadyState(evt, payload); in stateMachine()
311 rc = procEvtPreviewingState(evt, payload); in stateMachine()
314 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine()
317 rc = procEvtPicTakingState(evt, payload); in stateMachine()
320 rc = procEvtRecordingState(evt, payload); in stateMachine()
323 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine()
326 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine()
349 int32_t QCameraStateMachine::procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, in procEvtPreviewStoppedState() argument
356 LOGL("event (%d)", evt); in procEvtPreviewStoppedState()
357 switch (evt) { in procEvtPreviewStoppedState()
362 result.request_api = evt; in procEvtPreviewStoppedState()
377 result.request_api = evt; in procEvtPreviewStoppedState()
391 result.request_api = evt; in procEvtPreviewStoppedState()
405 result.request_api = evt; in procEvtPreviewStoppedState()
414 result.request_api = evt; in procEvtPreviewStoppedState()
431 result.request_api = evt; in procEvtPreviewStoppedState()
440 result.request_api = evt; in procEvtPreviewStoppedState()
449 result.request_api = evt; in procEvtPreviewStoppedState()
458 result.request_api = evt; in procEvtPreviewStoppedState()
478 result.request_api = evt; in procEvtPreviewStoppedState()
487 result.request_api = evt; in procEvtPreviewStoppedState()
505 result.request_api = evt; in procEvtPreviewStoppedState()
537 result.request_api = evt; in procEvtPreviewStoppedState()
560 result.request_api = evt; in procEvtPreviewStoppedState()
570 result.request_api = evt; in procEvtPreviewStoppedState()
579 result.request_api = evt; in procEvtPreviewStoppedState()
589 result.request_api = evt; in procEvtPreviewStoppedState()
598 result.request_api = evt; in procEvtPreviewStoppedState()
612 result.request_api = evt; in procEvtPreviewStoppedState()
630 result.request_api = evt; in procEvtPreviewStoppedState()
645 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
648 result.request_api = evt; in procEvtPreviewStoppedState()
657 LOGW("No ops for evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
659 result.request_api = evt; in procEvtPreviewStoppedState()
673 result.request_api = evt; in procEvtPreviewStoppedState()
687 result.request_api = evt; in procEvtPreviewStoppedState()
724 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
726 result.request_api = evt; in procEvtPreviewStoppedState()
745 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
752 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
773 int32_t QCameraStateMachine::procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, in procEvtPreviewReadyState() argument
780 LOGL("event (%d)", evt); in procEvtPreviewReadyState()
781 switch (evt) { in procEvtPreviewReadyState()
797 result.request_api = evt; in procEvtPreviewReadyState()
812 result.request_api = evt; in procEvtPreviewReadyState()
821 result.request_api = evt; in procEvtPreviewReadyState()
830 result.request_api = evt; in procEvtPreviewReadyState()
839 result.request_api = evt; in procEvtPreviewReadyState()
850 result.request_api = evt; in procEvtPreviewReadyState()
863 result.request_api = evt; in procEvtPreviewReadyState()
872 result.request_api = evt; in procEvtPreviewReadyState()
886 result.request_api = evt; in procEvtPreviewReadyState()
896 result.request_api = evt; in procEvtPreviewReadyState()
905 result.request_api = evt; in procEvtPreviewReadyState()
915 result.request_api = evt; in procEvtPreviewReadyState()
932 result.request_api = evt; in procEvtPreviewReadyState()
951 result.request_api = evt; in procEvtPreviewReadyState()
962 result.request_api = evt; in procEvtPreviewReadyState()
971 result.request_api = evt; in procEvtPreviewReadyState()
981 result.request_api = evt; in procEvtPreviewReadyState()
991 result.request_api = evt; in procEvtPreviewReadyState()
1000 result.request_api = evt; in procEvtPreviewReadyState()
1009 result.request_api = evt; in procEvtPreviewReadyState()
1018 result.request_api = evt; in procEvtPreviewReadyState()
1031 result.request_api = evt; in procEvtPreviewReadyState()
1045 result.request_api = evt; in procEvtPreviewReadyState()
1063 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewReadyState()
1066 result.request_api = evt; in procEvtPreviewReadyState()
1092 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewReadyState()
1094 result.request_api = evt; in procEvtPreviewReadyState()
1108 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewReadyState()
1116 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewReadyState()
1137 int32_t QCameraStateMachine::procEvtPreviewingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewingState() argument
1144 LOGL("event (%d)", evt); in procEvtPreviewingState()
1145 switch (evt) { in procEvtPreviewingState()
1152 result.request_api = evt; in procEvtPreviewingState()
1167 result.request_api = evt; in procEvtPreviewingState()
1182 result.request_api = evt; in procEvtPreviewingState()
1198 result.request_api = evt; in procEvtPreviewingState()
1211 result.request_api = evt; in procEvtPreviewingState()
1222 result.request_api = evt; in procEvtPreviewingState()
1235 result.request_api = evt; in procEvtPreviewingState()
1244 result.request_api = evt; in procEvtPreviewingState()
1265 result.request_api = evt; in procEvtPreviewingState()
1275 result.request_api = evt; in procEvtPreviewingState()
1284 result.request_api = evt; in procEvtPreviewingState()
1295 result.request_api = evt; in procEvtPreviewingState()
1308 result.request_api = evt; in procEvtPreviewingState()
1319 result.request_api = evt; in procEvtPreviewingState()
1329 result.request_api = evt; in procEvtPreviewingState()
1339 result.request_api = evt; in procEvtPreviewingState()
1349 result.request_api = evt; in procEvtPreviewingState()
1358 result.request_api = evt; in procEvtPreviewingState()
1367 result.request_api = evt; in procEvtPreviewingState()
1376 result.request_api = evt; in procEvtPreviewingState()
1385 result.request_api = evt; in procEvtPreviewingState()
1399 result.request_api = evt; in procEvtPreviewingState()
1418 result.request_api = evt; in procEvtPreviewingState()
1428 result.request_api = evt; in procEvtPreviewingState()
1473 result.request_api = evt; in procEvtPreviewingState()
1500 result.request_api = evt; in procEvtPreviewingState()
1539 result.request_api = evt; in procEvtPreviewingState()
1563 result.request_api = evt; in procEvtPreviewingState()
1577 result.request_api = evt; in procEvtPreviewingState()
1588 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewingState()
1591 result.request_api = evt; in procEvtPreviewingState()
1672 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewingState()
1674 result.request_api = evt; in procEvtPreviewingState()
1683 result.request_api = evt; in procEvtPreviewingState()
1695 result.request_api = evt; in procEvtPreviewingState()
1702 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewingState()
1723 int32_t QCameraStateMachine::procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, in procEvtPrepareSnapshotState() argument
1730 LOGL("event (%d)", evt); in procEvtPrepareSnapshotState()
1731 switch (evt) { in procEvtPrepareSnapshotState()
1766 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPrepareSnapshotState()
1769 result.request_api = evt; in procEvtPrepareSnapshotState()
1804 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPrepareSnapshotState()
1852 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPrepareSnapshotState()
1854 result.request_api = evt; in procEvtPrepareSnapshotState()
1866 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPrepareSnapshotState()
1887 int32_t QCameraStateMachine::procEvtPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPicTakingState() argument
1894 LOGL("event (%d)", evt); in procEvtPicTakingState()
1895 switch (evt) { in procEvtPicTakingState()
1902 result.request_api = evt; in procEvtPicTakingState()
1917 result.request_api = evt; in procEvtPicTakingState()
1926 result.request_api = evt; in procEvtPicTakingState()
1935 result.request_api = evt; in procEvtPicTakingState()
1944 result.request_api = evt; in procEvtPicTakingState()
1955 result.request_api = evt; in procEvtPicTakingState()
1963 result.request_api = evt; in procEvtPicTakingState()
1972 result.request_api = evt; in procEvtPicTakingState()
1981 result.request_api = evt; in procEvtPicTakingState()
1991 result.request_api = evt; in procEvtPicTakingState()
2000 result.request_api = evt; in procEvtPicTakingState()
2012 result.request_api = evt; in procEvtPicTakingState()
2021 result.request_api = evt; in procEvtPicTakingState()
2031 result.request_api = evt; in procEvtPicTakingState()
2041 result.request_api = evt; in procEvtPicTakingState()
2050 result.request_api = evt; in procEvtPicTakingState()
2059 result.request_api = evt; in procEvtPicTakingState()
2068 result.request_api = evt; in procEvtPicTakingState()
2087 result.request_api = evt; in procEvtPicTakingState()
2097 result.request_api = evt; in procEvtPicTakingState()
2111 result.request_api = evt; in procEvtPicTakingState()
2123 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2128 result.request_api = evt; in procEvtPicTakingState()
2138 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2143 result.request_api = evt; in procEvtPicTakingState()
2160 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2163 result.request_api = evt; in procEvtPicTakingState()
2189 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2278 result.request_api = evt; in procEvtPicTakingState()
2306 result.request_api = evt; in procEvtPicTakingState()
2317 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2338 int32_t QCameraStateMachine::procEvtRecordingState(qcamera_sm_evt_enum_t evt, in procEvtRecordingState() argument
2345 LOGL("event (%d)", evt); in procEvtRecordingState()
2346 switch (evt) { in procEvtRecordingState()
2356 result.request_api = evt; in procEvtRecordingState()
2371 result.request_api = evt; in procEvtRecordingState()
2380 result.request_api = evt; in procEvtRecordingState()
2389 result.request_api = evt; in procEvtRecordingState()
2398 result.request_api = evt; in procEvtRecordingState()
2419 result.request_api = evt; in procEvtRecordingState()
2428 result.request_api = evt; in procEvtRecordingState()
2436 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2439 result.request_api = evt; in procEvtRecordingState()
2449 result.request_api = evt; in procEvtRecordingState()
2458 result.request_api = evt; in procEvtRecordingState()
2467 result.request_api = evt; in procEvtRecordingState()
2477 result.request_api = evt; in procEvtRecordingState()
2487 result.request_api = evt; in procEvtRecordingState()
2496 result.request_api = evt; in procEvtRecordingState()
2505 result.request_api = evt; in procEvtRecordingState()
2514 result.request_api = evt; in procEvtRecordingState()
2527 result.request_api = evt; in procEvtRecordingState()
2537 result.request_api = evt; in procEvtRecordingState()
2551 result.request_api = evt; in procEvtRecordingState()
2565 result.request_api = evt; in procEvtRecordingState()
2575 result.request_api = evt; in procEvtRecordingState()
2589 result.request_api = evt; in procEvtRecordingState()
2598 result.request_api = evt; in procEvtRecordingState()
2612 result.request_api = evt; in procEvtRecordingState()
2622 result.request_api = evt; in procEvtRecordingState()
2631 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtRecordingState()
2634 result.request_api = evt; in procEvtRecordingState()
2662 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtRecordingState()
2713 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtRecordingState()
2715 result.request_api = evt; in procEvtRecordingState()
2722 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtRecordingState()
2743 int32_t QCameraStateMachine::procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtVideoPicTakingState() argument
2750 LOGL("event (%d)", evt); in procEvtVideoPicTakingState()
2751 switch (evt) { in procEvtVideoPicTakingState()
2758 result.request_api = evt; in procEvtVideoPicTakingState()
2773 result.request_api = evt; in procEvtVideoPicTakingState()
2782 result.request_api = evt; in procEvtVideoPicTakingState()
2791 result.request_api = evt; in procEvtVideoPicTakingState()
2800 result.request_api = evt; in procEvtVideoPicTakingState()
2821 result.request_api = evt; in procEvtVideoPicTakingState()
2830 result.request_api = evt; in procEvtVideoPicTakingState()
2838 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2841 result.request_api = evt; in procEvtVideoPicTakingState()
2851 result.request_api = evt; in procEvtVideoPicTakingState()
2860 result.request_api = evt; in procEvtVideoPicTakingState()
2869 result.request_api = evt; in procEvtVideoPicTakingState()
2879 result.request_api = evt; in procEvtVideoPicTakingState()
2889 result.request_api = evt; in procEvtVideoPicTakingState()
2898 result.request_api = evt; in procEvtVideoPicTakingState()
2907 result.request_api = evt; in procEvtVideoPicTakingState()
2916 result.request_api = evt; in procEvtVideoPicTakingState()
2929 result.request_api = evt; in procEvtVideoPicTakingState()
2943 result.request_api = evt; in procEvtVideoPicTakingState()
2952 result.request_api = evt; in procEvtVideoPicTakingState()
2962 result.request_api = evt; in procEvtVideoPicTakingState()
2976 result.request_api = evt; in procEvtVideoPicTakingState()
2994 result.request_api = evt; in procEvtVideoPicTakingState()
3011 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtVideoPicTakingState()
3014 result.request_api = evt; in procEvtVideoPicTakingState()
3042 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtVideoPicTakingState()
3097 result.request_api = evt; in procEvtVideoPicTakingState()
3108 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtVideoPicTakingState()
3129 int32_t QCameraStateMachine::procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewPicTakingState() argument
3136 LOGL("event (%d)", evt); in procEvtPreviewPicTakingState()
3137 switch (evt) { in procEvtPreviewPicTakingState()
3148 result.request_api = evt; in procEvtPreviewPicTakingState()
3157 result.request_api = evt; in procEvtPreviewPicTakingState()
3166 result.request_api = evt; in procEvtPreviewPicTakingState()
3175 result.request_api = evt; in procEvtPreviewPicTakingState()
3186 result.request_api = evt; in procEvtPreviewPicTakingState()
3200 result.request_api = evt; in procEvtPreviewPicTakingState()
3210 result.request_api = evt; in procEvtPreviewPicTakingState()
3231 result.request_api = evt; in procEvtPreviewPicTakingState()
3241 result.request_api = evt; in procEvtPreviewPicTakingState()
3250 result.request_api = evt; in procEvtPreviewPicTakingState()
3259 result.request_api = evt; in procEvtPreviewPicTakingState()
3269 result.request_api = evt; in procEvtPreviewPicTakingState()
3279 result.request_api = evt; in procEvtPreviewPicTakingState()
3288 result.request_api = evt; in procEvtPreviewPicTakingState()
3297 result.request_api = evt; in procEvtPreviewPicTakingState()
3306 result.request_api = evt; in procEvtPreviewPicTakingState()
3325 result.request_api = evt; in procEvtPreviewPicTakingState()
3334 result.request_api = evt; in procEvtPreviewPicTakingState()
3348 result.request_api = evt; in procEvtPreviewPicTakingState()
3370 result.request_api = evt; in procEvtPreviewPicTakingState()
3378 LOGE("Error!! cannot handle evt(%d) in state(%d) in ZSL mode", evt, m_state); in procEvtPreviewPicTakingState()
3381 LOGE("Error!! cannot handle evt(%d) in state(%d) in Longshot mode", evt, m_state); in procEvtPreviewPicTakingState()
3387 result.request_api = evt; in procEvtPreviewPicTakingState()
3396 evt, m_state); in procEvtPreviewPicTakingState()
3400 evt, m_state); in procEvtPreviewPicTakingState()
3409 result.request_api = evt; in procEvtPreviewPicTakingState()
3423 result.request_api = evt; in procEvtPreviewPicTakingState()
3435 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()
3440 result.request_api = evt; in procEvtPreviewPicTakingState()
3450 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()
3455 result.request_api = evt; in procEvtPreviewPicTakingState()
3471 result.request_api = evt; in procEvtPreviewPicTakingState()
3478 evt, m_state); in procEvtPreviewPicTakingState()
3481 result.request_api = evt; in procEvtPreviewPicTakingState()
3494 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()
3497 result.request_api = evt; in procEvtPreviewPicTakingState()
3551 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()
3625 result.request_api = evt; in procEvtPreviewPicTakingState()
3632 result.request_api = evt; in procEvtPreviewPicTakingState()
3646 result.request_api = evt; in procEvtPreviewPicTakingState()
3658 result.request_api = evt; in procEvtPreviewPicTakingState()
3664 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()