Lines Matching refs:apiResult
146 qcamera_api_result_t apiResult; in set_preview_window() local
149 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PREVIEW_WINDOW, &apiResult); in set_preview_window()
150 rc = apiResult.status; in set_preview_window()
197 qcamera_api_result_t apiResult; in set_CallBacks() local
200 hw->waitAPIResult(QCAMERA_SM_EVT_SET_CALLBACKS, &apiResult); in set_CallBacks()
230 qcamera_api_result_t apiResult; in enable_msg_type() local
233 hw->waitAPIResult(QCAMERA_SM_EVT_ENABLE_MSG_TYPE, &apiResult); in enable_msg_type()
263 qcamera_api_result_t apiResult; in disable_msg_type() local
266 hw->waitAPIResult(QCAMERA_SM_EVT_DISABLE_MSG_TYPE, &apiResult); in disable_msg_type()
298 qcamera_api_result_t apiResult; in msg_type_enabled() local
301 hw->waitAPIResult(QCAMERA_SM_EVT_MSG_TYPE_ENABLED, &apiResult); in msg_type_enabled()
302 ret = apiResult.enabled; in msg_type_enabled()
335 qcamera_api_result_t apiResult; in prepare_preview() local
339 hw->waitAPIResult(evt, &apiResult); in prepare_preview()
340 ret = apiResult.status; in prepare_preview()
375 qcamera_api_result_t apiResult; in start_preview() local
382 hw->waitAPIResult(evt, &apiResult); in start_preview()
383 ret = apiResult.status; in start_preview()
419 qcamera_api_result_t apiResult; in stop_preview() local
422 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_PREVIEW, &apiResult); in stop_preview()
452 qcamera_api_result_t apiResult; in preview_enabled() local
455 hw->waitAPIResult(QCAMERA_SM_EVT_PREVIEW_ENABLED, &apiResult); in preview_enabled()
456 ret = apiResult.enabled; in preview_enabled()
460 if(apiResult.enabled) { in preview_enabled()
495 qcamera_api_result_t apiResult; in store_meta_data_in_buffers() local
498 hw->waitAPIResult(QCAMERA_SM_EVT_STORE_METADATA_IN_BUFS, &apiResult); in store_meta_data_in_buffers()
499 ret = apiResult.status; in store_meta_data_in_buffers()
531 qcamera_api_result_t apiResult; in restart_start_preview() local
536 hw->waitAPIResult(QCAMERA_SM_EVT_RESTART_START_PREVIEW, &apiResult); in restart_start_preview()
537 ret = apiResult.status; in restart_start_preview()
575 qcamera_api_result_t apiResult; in restart_stop_preview() local
580 hw->waitAPIResult(QCAMERA_SM_EVT_RESTART_STOP_PREVIEW, &apiResult); in restart_stop_preview()
581 ret = apiResult.status; in restart_stop_preview()
619 qcamera_api_result_t apiResult; in pre_start_recording() local
622 hw->waitAPIResult(QCAMERA_SM_EVT_PRE_START_RECORDING, &apiResult); in pre_start_recording()
623 ret = apiResult.status; in pre_start_recording()
669 qcamera_api_result_t apiResult; in start_recording() local
672 hw->waitAPIResult(QCAMERA_SM_EVT_START_RECORDING, &apiResult); in start_recording()
673 ret = apiResult.status; in start_recording()
708 qcamera_api_result_t apiResult; in stop_recording() local
711 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_RECORDING, &apiResult); in stop_recording()
740 qcamera_api_result_t apiResult; in recording_enabled() local
743 hw->waitAPIResult(QCAMERA_SM_EVT_RECORDING_ENABLED, &apiResult); in recording_enabled()
744 ret = apiResult.enabled; in recording_enabled()
781 qcamera_api_result_t apiResult; in release_recording_frame() local
784 hw->waitAPIResult(QCAMERA_SM_EVT_RELEASE_RECORIDNG_FRAME, &apiResult); in release_recording_frame()
815 qcamera_api_result_t apiResult; in auto_focus() local
818 hw->waitAPIResult(QCAMERA_SM_EVT_START_AUTO_FOCUS, &apiResult); in auto_focus()
819 ret = apiResult.status; in auto_focus()
852 qcamera_api_result_t apiResult; in cancel_auto_focus() local
855 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_AUTO_FOCUS, &apiResult); in cancel_auto_focus()
856 ret = apiResult.status; in cancel_auto_focus()
888 qcamera_api_result_t apiResult; in pre_take_picture() local
891 hw->waitAPIResult(QCAMERA_SM_EVT_PRE_TAKE_PICTURE, &apiResult); in pre_take_picture()
892 ret = apiResult.status; in pre_take_picture()
929 qcamera_api_result_t apiResult; in take_picture() local
967 hw->waitAPIResult(QCAMERA_SM_EVT_TAKE_PICTURE, &apiResult); in take_picture()
968 ret = apiResult.status; in take_picture()
1003 hw->waitAPIResult(QCAMERA_SM_EVT_TAKE_PICTURE, &apiResult); in take_picture()
1004 ret = apiResult.status; in take_picture()
1041 qcamera_api_result_t apiResult; in cancel_picture() local
1044 hw->waitAPIResult(QCAMERA_SM_EVT_CANCEL_PICTURE, &apiResult); in cancel_picture()
1045 ret = apiResult.status; in cancel_picture()
1079 qcamera_api_result_t apiResult; in set_parameters() local
1082 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS, &apiResult); in set_parameters()
1083 ret = apiResult.status; in set_parameters()
1093 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS_STOP, &apiResult); in set_parameters()
1094 ret = apiResult.status; in set_parameters()
1102 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS_COMMIT, &apiResult); in set_parameters()
1103 ret = apiResult.status; in set_parameters()
1111 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS_RESTART, &apiResult); in set_parameters()
1112 ret = apiResult.status; in set_parameters()
1147 qcamera_api_result_t apiResult; in stop_after_set_params() local
1152 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS_STOP, &apiResult); in stop_after_set_params()
1153 ret = apiResult.status; in stop_after_set_params()
1190 qcamera_api_result_t apiResult; in commit_params() local
1195 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS_COMMIT, &apiResult); in commit_params()
1196 ret = apiResult.status; in commit_params()
1233 qcamera_api_result_t apiResult; in restart_after_set_params() local
1238 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS_RESTART, &apiResult); in restart_after_set_params()
1239 ret = apiResult.status; in restart_after_set_params()
1273 qcamera_api_result_t apiResult; in get_parameters() local
1276 hw->waitAPIResult(QCAMERA_SM_EVT_GET_PARAMS, &apiResult); in get_parameters()
1277 ret = apiResult.params; in get_parameters()
1308 qcamera_api_result_t apiResult; in put_parameters() local
1311 hw->waitAPIResult(QCAMERA_SM_EVT_PUT_PARAMS, &apiResult); in put_parameters()
1353 qcamera_api_result_t apiResult; in send_command() local
1356 hw->waitAPIResult(QCAMERA_SM_EVT_SEND_COMMAND, &apiResult); in send_command()
1357 ret = apiResult.status; in send_command()
1400 qcamera_api_result_t apiResult; in send_command_restart() local
1403 hw->waitAPIResult(QCAMERA_SM_EVT_SEND_COMMAND_RESTART, &apiResult); in send_command_restart()
1404 ret = apiResult.status; in send_command_restart()
1433 qcamera_api_result_t apiResult; in release() local
1436 hw->waitAPIResult(QCAMERA_SM_EVT_RELEASE, &apiResult); in release()
1471 qcamera_api_result_t apiResult; in dump() local
1474 hw->waitAPIResult(QCAMERA_SM_EVT_DUMP, &apiResult); in dump()
1475 ret = apiResult.status; in dump()
1547 qcamera_api_result_t apiResult; in register_face_image() local
1550 hw->waitAPIResult(QCAMERA_SM_EVT_REG_FACE_IMAGE, &apiResult); in register_face_image()
1551 ret = apiResult.handle; in register_face_image()
1589 qcamera_api_result_t apiResult; in prepare_snapshot() local
1596 hw->waitAPIResult(QCAMERA_SM_EVT_PREPARE_SNAPSHOT, &apiResult); in prepare_snapshot()
1597 ret = apiResult.status; in prepare_snapshot()
5679 qcamera_api_result_t apiResult; in takeBackendPic_internal() local
5694 waitAPIResult(QCAMERA_SM_EVT_PREPARE_SNAPSHOT, &apiResult); in takeBackendPic_internal()
5695 rc = apiResult.status; in takeBackendPic_internal()
5716 waitAPIResult(QCAMERA_SM_EVT_TAKE_PICTURE, &apiResult); in takeBackendPic_internal()
5717 rc = apiResult.status; in takeBackendPic_internal()
7294 qcamera_api_result_t *apiResult) in waitAPIResult() argument
7306 *apiResult = apiResultList->result; in waitAPIResult()
7322 apiResult->status, api_evt); in waitAPIResult()
7354 api_result_list *apiResult = (api_result_list *)malloc(sizeof(api_result_list)); in signalAPIResult() local
7355 if (apiResult == NULL) { in signalAPIResult()
7359 apiResult->result = *result; in signalAPIResult()
7360 apiResult->next = NULL; in signalAPIResult()
7361 if (m_apiResultList == NULL) m_apiResultList = apiResult; in signalAPIResult()
7365 apiResultList->next = apiResult; in signalAPIResult()