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()
637 LOGW("Free video handle %d %d", evt, m_state); in procEvtPreviewStoppedState()
649 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
652 result.request_api = evt; in procEvtPreviewStoppedState()
661 LOGW("No ops for evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
663 result.request_api = evt; in procEvtPreviewStoppedState()
677 result.request_api = evt; in procEvtPreviewStoppedState()
691 result.request_api = evt; in procEvtPreviewStoppedState()
728 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
730 result.request_api = evt; in procEvtPreviewStoppedState()
749 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
756 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewStoppedState()
777 int32_t QCameraStateMachine::procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, in procEvtPreviewReadyState() argument
784 LOGL("event (%d)", evt); in procEvtPreviewReadyState()
785 switch (evt) { in procEvtPreviewReadyState()
801 result.request_api = evt; in procEvtPreviewReadyState()
816 result.request_api = evt; in procEvtPreviewReadyState()
825 result.request_api = evt; in procEvtPreviewReadyState()
834 result.request_api = evt; in procEvtPreviewReadyState()
843 result.request_api = evt; in procEvtPreviewReadyState()
854 result.request_api = evt; in procEvtPreviewReadyState()
867 result.request_api = evt; in procEvtPreviewReadyState()
876 result.request_api = evt; in procEvtPreviewReadyState()
890 result.request_api = evt; in procEvtPreviewReadyState()
900 result.request_api = evt; in procEvtPreviewReadyState()
909 result.request_api = evt; in procEvtPreviewReadyState()
919 result.request_api = evt; in procEvtPreviewReadyState()
936 result.request_api = evt; in procEvtPreviewReadyState()
955 result.request_api = evt; in procEvtPreviewReadyState()
966 result.request_api = evt; in procEvtPreviewReadyState()
975 result.request_api = evt; in procEvtPreviewReadyState()
985 result.request_api = evt; in procEvtPreviewReadyState()
995 result.request_api = evt; in procEvtPreviewReadyState()
1004 result.request_api = evt; in procEvtPreviewReadyState()
1013 result.request_api = evt; in procEvtPreviewReadyState()
1022 result.request_api = evt; in procEvtPreviewReadyState()
1035 result.request_api = evt; in procEvtPreviewReadyState()
1049 result.request_api = evt; in procEvtPreviewReadyState()
1057 LOGW("Free video handle %d %d", evt, m_state); in procEvtPreviewReadyState()
1071 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewReadyState()
1074 result.request_api = evt; in procEvtPreviewReadyState()
1100 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewReadyState()
1102 result.request_api = evt; in procEvtPreviewReadyState()
1116 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewReadyState()
1124 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewReadyState()
1145 int32_t QCameraStateMachine::procEvtPreviewingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewingState() argument
1152 LOGL("event (%d)", evt); in procEvtPreviewingState()
1153 switch (evt) { in procEvtPreviewingState()
1160 result.request_api = evt; in procEvtPreviewingState()
1175 result.request_api = evt; in procEvtPreviewingState()
1190 result.request_api = evt; in procEvtPreviewingState()
1206 result.request_api = evt; in procEvtPreviewingState()
1219 result.request_api = evt; in procEvtPreviewingState()
1230 result.request_api = evt; in procEvtPreviewingState()
1243 result.request_api = evt; in procEvtPreviewingState()
1252 result.request_api = evt; in procEvtPreviewingState()
1273 result.request_api = evt; in procEvtPreviewingState()
1283 result.request_api = evt; in procEvtPreviewingState()
1292 result.request_api = evt; in procEvtPreviewingState()
1303 result.request_api = evt; in procEvtPreviewingState()
1316 result.request_api = evt; in procEvtPreviewingState()
1327 result.request_api = evt; in procEvtPreviewingState()
1337 result.request_api = evt; in procEvtPreviewingState()
1347 result.request_api = evt; in procEvtPreviewingState()
1357 result.request_api = evt; in procEvtPreviewingState()
1366 result.request_api = evt; in procEvtPreviewingState()
1375 result.request_api = evt; in procEvtPreviewingState()
1384 result.request_api = evt; in procEvtPreviewingState()
1393 result.request_api = evt; in procEvtPreviewingState()
1407 result.request_api = evt; in procEvtPreviewingState()
1426 result.request_api = evt; in procEvtPreviewingState()
1436 result.request_api = evt; in procEvtPreviewingState()
1481 result.request_api = evt; in procEvtPreviewingState()
1508 result.request_api = evt; in procEvtPreviewingState()
1547 result.request_api = evt; in procEvtPreviewingState()
1571 result.request_api = evt; in procEvtPreviewingState()
1585 result.request_api = evt; in procEvtPreviewingState()
1593 LOGW("Free video handle %d %d", evt, m_state); in procEvtPreviewingState()
1600 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewingState()
1603 result.request_api = evt; in procEvtPreviewingState()
1690 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewingState()
1692 result.request_api = evt; in procEvtPreviewingState()
1701 result.request_api = evt; in procEvtPreviewingState()
1713 result.request_api = evt; in procEvtPreviewingState()
1720 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewingState()
1741 int32_t QCameraStateMachine::procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, in procEvtPrepareSnapshotState() argument
1748 LOGL("event (%d)", evt); in procEvtPrepareSnapshotState()
1749 switch (evt) { in procEvtPrepareSnapshotState()
1784 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPrepareSnapshotState()
1787 result.request_api = evt; in procEvtPrepareSnapshotState()
1822 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPrepareSnapshotState()
1890 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPrepareSnapshotState()
1892 result.request_api = evt; in procEvtPrepareSnapshotState()
1904 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPrepareSnapshotState()
1925 int32_t QCameraStateMachine::procEvtPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPicTakingState() argument
1932 LOGL("event (%d)", evt); in procEvtPicTakingState()
1933 switch (evt) { in procEvtPicTakingState()
1940 result.request_api = evt; in procEvtPicTakingState()
1955 result.request_api = evt; in procEvtPicTakingState()
1964 result.request_api = evt; in procEvtPicTakingState()
1973 result.request_api = evt; in procEvtPicTakingState()
1982 result.request_api = evt; in procEvtPicTakingState()
1993 result.request_api = evt; in procEvtPicTakingState()
2001 result.request_api = evt; in procEvtPicTakingState()
2010 result.request_api = evt; in procEvtPicTakingState()
2019 result.request_api = evt; in procEvtPicTakingState()
2029 result.request_api = evt; in procEvtPicTakingState()
2038 result.request_api = evt; in procEvtPicTakingState()
2050 result.request_api = evt; in procEvtPicTakingState()
2059 result.request_api = evt; in procEvtPicTakingState()
2069 result.request_api = evt; in procEvtPicTakingState()
2079 result.request_api = evt; in procEvtPicTakingState()
2088 result.request_api = evt; in procEvtPicTakingState()
2097 result.request_api = evt; in procEvtPicTakingState()
2106 result.request_api = evt; in procEvtPicTakingState()
2125 result.request_api = evt; in procEvtPicTakingState()
2135 result.request_api = evt; in procEvtPicTakingState()
2149 result.request_api = evt; in procEvtPicTakingState()
2161 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2166 result.request_api = evt; in procEvtPicTakingState()
2176 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2181 result.request_api = evt; in procEvtPicTakingState()
2198 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2201 result.request_api = evt; in procEvtPicTakingState()
2227 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2323 result.request_api = evt; in procEvtPicTakingState()
2351 result.request_api = evt; in procEvtPicTakingState()
2362 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPicTakingState()
2383 int32_t QCameraStateMachine::procEvtRecordingState(qcamera_sm_evt_enum_t evt, in procEvtRecordingState() argument
2390 LOGL("event (%d)", evt); in procEvtRecordingState()
2391 switch (evt) { in procEvtRecordingState()
2401 result.request_api = evt; in procEvtRecordingState()
2416 result.request_api = evt; in procEvtRecordingState()
2425 result.request_api = evt; in procEvtRecordingState()
2434 result.request_api = evt; in procEvtRecordingState()
2443 result.request_api = evt; in procEvtRecordingState()
2464 result.request_api = evt; in procEvtRecordingState()
2473 result.request_api = evt; in procEvtRecordingState()
2481 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtRecordingState()
2484 result.request_api = evt; in procEvtRecordingState()
2494 result.request_api = evt; in procEvtRecordingState()
2503 result.request_api = evt; in procEvtRecordingState()
2512 result.request_api = evt; in procEvtRecordingState()
2522 result.request_api = evt; in procEvtRecordingState()
2532 result.request_api = evt; in procEvtRecordingState()
2541 result.request_api = evt; in procEvtRecordingState()
2550 result.request_api = evt; in procEvtRecordingState()
2559 result.request_api = evt; in procEvtRecordingState()
2572 result.request_api = evt; in procEvtRecordingState()
2582 result.request_api = evt; in procEvtRecordingState()
2596 result.request_api = evt; in procEvtRecordingState()
2610 result.request_api = evt; in procEvtRecordingState()
2620 result.request_api = evt; in procEvtRecordingState()
2634 result.request_api = evt; in procEvtRecordingState()
2643 result.request_api = evt; in procEvtRecordingState()
2657 result.request_api = evt; in procEvtRecordingState()
2667 result.request_api = evt; in procEvtRecordingState()
2676 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtRecordingState()
2679 result.request_api = evt; in procEvtRecordingState()
2707 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtRecordingState()
2764 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtRecordingState()
2766 result.request_api = evt; in procEvtRecordingState()
2773 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtRecordingState()
2794 int32_t QCameraStateMachine::procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtVideoPicTakingState() argument
2801 LOGL("event (%d)", evt); in procEvtVideoPicTakingState()
2802 switch (evt) { in procEvtVideoPicTakingState()
2809 result.request_api = evt; in procEvtVideoPicTakingState()
2824 result.request_api = evt; in procEvtVideoPicTakingState()
2833 result.request_api = evt; in procEvtVideoPicTakingState()
2842 result.request_api = evt; in procEvtVideoPicTakingState()
2851 result.request_api = evt; in procEvtVideoPicTakingState()
2872 result.request_api = evt; in procEvtVideoPicTakingState()
2881 result.request_api = evt; in procEvtVideoPicTakingState()
2889 ALOGE("%s: Error!! cannot handle evt(%d) in state(%d)", __func__, evt, m_state); in procEvtVideoPicTakingState()
2892 result.request_api = evt; in procEvtVideoPicTakingState()
2902 result.request_api = evt; in procEvtVideoPicTakingState()
2911 result.request_api = evt; in procEvtVideoPicTakingState()
2920 result.request_api = evt; in procEvtVideoPicTakingState()
2930 result.request_api = evt; in procEvtVideoPicTakingState()
2940 result.request_api = evt; in procEvtVideoPicTakingState()
2949 result.request_api = evt; in procEvtVideoPicTakingState()
2958 result.request_api = evt; in procEvtVideoPicTakingState()
2967 result.request_api = evt; in procEvtVideoPicTakingState()
2980 result.request_api = evt; in procEvtVideoPicTakingState()
2994 result.request_api = evt; in procEvtVideoPicTakingState()
3003 result.request_api = evt; in procEvtVideoPicTakingState()
3013 result.request_api = evt; in procEvtVideoPicTakingState()
3027 result.request_api = evt; in procEvtVideoPicTakingState()
3045 result.request_api = evt; in procEvtVideoPicTakingState()
3062 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtVideoPicTakingState()
3065 result.request_api = evt; in procEvtVideoPicTakingState()
3093 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtVideoPicTakingState()
3154 result.request_api = evt; in procEvtVideoPicTakingState()
3165 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtVideoPicTakingState()
3186 int32_t QCameraStateMachine::procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, in procEvtPreviewPicTakingState() argument
3193 LOGL("event (%d)", evt); in procEvtPreviewPicTakingState()
3194 switch (evt) { in procEvtPreviewPicTakingState()
3205 result.request_api = evt; in procEvtPreviewPicTakingState()
3214 result.request_api = evt; in procEvtPreviewPicTakingState()
3223 result.request_api = evt; in procEvtPreviewPicTakingState()
3232 result.request_api = evt; in procEvtPreviewPicTakingState()
3243 result.request_api = evt; in procEvtPreviewPicTakingState()
3257 result.request_api = evt; in procEvtPreviewPicTakingState()
3267 result.request_api = evt; in procEvtPreviewPicTakingState()
3288 result.request_api = evt; in procEvtPreviewPicTakingState()
3298 result.request_api = evt; in procEvtPreviewPicTakingState()
3307 result.request_api = evt; in procEvtPreviewPicTakingState()
3316 result.request_api = evt; in procEvtPreviewPicTakingState()
3326 result.request_api = evt; in procEvtPreviewPicTakingState()
3336 result.request_api = evt; in procEvtPreviewPicTakingState()
3345 result.request_api = evt; in procEvtPreviewPicTakingState()
3354 result.request_api = evt; in procEvtPreviewPicTakingState()
3363 result.request_api = evt; in procEvtPreviewPicTakingState()
3382 result.request_api = evt; in procEvtPreviewPicTakingState()
3391 result.request_api = evt; in procEvtPreviewPicTakingState()
3405 result.request_api = evt; in procEvtPreviewPicTakingState()
3427 result.request_api = evt; in procEvtPreviewPicTakingState()
3435 LOGE("Error!! cannot handle evt(%d) in state(%d) in ZSL mode", evt, m_state); in procEvtPreviewPicTakingState()
3438 LOGE("Error!! cannot handle evt(%d) in state(%d) in Longshot mode", evt, m_state); in procEvtPreviewPicTakingState()
3444 result.request_api = evt; in procEvtPreviewPicTakingState()
3453 evt, m_state); in procEvtPreviewPicTakingState()
3457 evt, m_state); in procEvtPreviewPicTakingState()
3466 result.request_api = evt; in procEvtPreviewPicTakingState()
3480 result.request_api = evt; in procEvtPreviewPicTakingState()
3492 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()
3497 result.request_api = evt; in procEvtPreviewPicTakingState()
3507 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()
3512 result.request_api = evt; in procEvtPreviewPicTakingState()
3528 result.request_api = evt; in procEvtPreviewPicTakingState()
3535 evt, m_state); in procEvtPreviewPicTakingState()
3538 result.request_api = evt; in procEvtPreviewPicTakingState()
3551 LOGE("Error!! cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()
3554 result.request_api = evt; in procEvtPreviewPicTakingState()
3608 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()
3700 result.request_api = evt; in procEvtPreviewPicTakingState()
3707 result.request_api = evt; in procEvtPreviewPicTakingState()
3721 result.request_api = evt; in procEvtPreviewPicTakingState()
3733 result.request_api = evt; in procEvtPreviewPicTakingState()
3739 LOGW("Cannot handle evt(%d) in state(%d)", evt, m_state); in procEvtPreviewPicTakingState()