Lines Matching refs:apiResult
126 qcamera_api_result_t apiResult; in set_preview_window() local
129 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PREVIEW_WINDOW, &apiResult); in set_preview_window()
130 rc = apiResult.status; in set_preview_window()
175 qcamera_api_result_t apiResult; in set_CallBacks() local
178 hw->waitAPIResult(QCAMERA_SM_EVT_SET_CALLBACKS, &apiResult); in set_CallBacks()
204 qcamera_api_result_t apiResult; in enable_msg_type() local
207 hw->waitAPIResult(QCAMERA_SM_EVT_ENABLE_MSG_TYPE, &apiResult); in enable_msg_type()
233 qcamera_api_result_t apiResult; in disable_msg_type() local
236 hw->waitAPIResult(QCAMERA_SM_EVT_DISABLE_MSG_TYPE, &apiResult); in disable_msg_type()
264 qcamera_api_result_t apiResult; in msg_type_enabled() local
267 hw->waitAPIResult(QCAMERA_SM_EVT_MSG_TYPE_ENABLED, &apiResult); in msg_type_enabled()
268 ret = apiResult.enabled; in msg_type_enabled()
300 qcamera_api_result_t apiResult; in start_preview() local
307 hw->waitAPIResult(evt, &apiResult); in start_preview()
308 ret = apiResult.status; in start_preview()
339 qcamera_api_result_t apiResult; in stop_preview() local
342 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_PREVIEW, &apiResult); in stop_preview()
372 qcamera_api_result_t apiResult; in preview_enabled() local
375 hw->waitAPIResult(QCAMERA_SM_EVT_PREVIEW_ENABLED, &apiResult); in preview_enabled()
376 ret = apiResult.enabled; in preview_enabled()
408 qcamera_api_result_t apiResult; in store_meta_data_in_buffers() local
411 hw->waitAPIResult(QCAMERA_SM_EVT_STORE_METADATA_IN_BUFS, &apiResult); in store_meta_data_in_buffers()
412 ret = apiResult.status; in store_meta_data_in_buffers()
443 qcamera_api_result_t apiResult; in start_recording() local
446 hw->waitAPIResult(QCAMERA_SM_EVT_START_RECORDING, &apiResult); in start_recording()
447 ret = apiResult.status; in start_recording()
476 qcamera_api_result_t apiResult; in stop_recording() local
479 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_RECORDING, &apiResult); in stop_recording()
507 qcamera_api_result_t apiResult; in recording_enabled() local
510 hw->waitAPIResult(QCAMERA_SM_EVT_RECORDING_ENABLED, &apiResult); in recording_enabled()
511 ret = apiResult.enabled; in recording_enabled()
545 qcamera_api_result_t apiResult; in release_recording_frame() local
548 hw->waitAPIResult(QCAMERA_SM_EVT_RELEASE_RECORIDNG_FRAME, &apiResult); in release_recording_frame()
578 qcamera_api_result_t apiResult; in auto_focus() local
581 hw->waitAPIResult(QCAMERA_SM_EVT_START_AUTO_FOCUS, &apiResult); in auto_focus()
582 ret = apiResult.status; in auto_focus()
614 qcamera_api_result_t apiResult; in cancel_auto_focus() local
617 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_AUTO_FOCUS, &apiResult); in cancel_auto_focus()
618 ret = apiResult.status; in cancel_auto_focus()
652 qcamera_api_result_t apiResult; in take_picture() local
679 hw->waitAPIResult(QCAMERA_SM_EVT_TAKE_PICTURE, &apiResult); in take_picture()
680 ret = apiResult.status; in take_picture()
689 hw->waitAPIResult(QCAMERA_SM_EVT_PREPARE_SNAPSHOT, &apiResult); in take_picture()
690 ret = apiResult.status; in take_picture()
707 hw->waitAPIResult(QCAMERA_SM_EVT_PREPARE_SNAPSHOT, &apiResult); in take_picture()
708 ret = apiResult.status; in take_picture()
721 hw->waitAPIResult(QCAMERA_SM_EVT_TAKE_PICTURE, &apiResult); in take_picture()
722 ret = apiResult.status; in take_picture()
753 qcamera_api_result_t apiResult; in cancel_picture() local
756 hw->waitAPIResult(QCAMERA_SM_EVT_CANCEL_PICTURE, &apiResult); in cancel_picture()
757 ret = apiResult.status; in cancel_picture()
789 qcamera_api_result_t apiResult; in set_parameters() local
792 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS, &apiResult); in set_parameters()
793 ret = apiResult.status; in set_parameters()
821 qcamera_api_result_t apiResult; in get_parameters() local
824 hw->waitAPIResult(QCAMERA_SM_EVT_GET_PARAMS, &apiResult); in get_parameters()
825 ret = apiResult.params; in get_parameters()
854 qcamera_api_result_t apiResult; in put_parameters() local
857 hw->waitAPIResult(QCAMERA_SM_EVT_PUT_PARAMS, &apiResult); in put_parameters()
897 qcamera_api_result_t apiResult; in send_command() local
900 hw->waitAPIResult(QCAMERA_SM_EVT_SEND_COMMAND, &apiResult); in send_command()
901 ret = apiResult.status; in send_command()
928 qcamera_api_result_t apiResult; in release() local
931 hw->waitAPIResult(QCAMERA_SM_EVT_RELEASE, &apiResult); in release()
964 qcamera_api_result_t apiResult; in dump() local
967 hw->waitAPIResult(QCAMERA_SM_EVT_DUMP, &apiResult); in dump()
968 ret = apiResult.status; in dump()
1035 qcamera_api_result_t apiResult; in register_face_image() local
1038 hw->waitAPIResult(QCAMERA_SM_EVT_REG_FACE_IMAGE, &apiResult); in register_face_image()
1039 ret = apiResult.handle; in register_face_image()
3627 qcamera_api_result_t apiResult; in takeBackendPic_internal() local
3642 waitAPIResult(QCAMERA_SM_EVT_PREPARE_SNAPSHOT, &apiResult); in takeBackendPic_internal()
3643 rc = apiResult.status; in takeBackendPic_internal()
3660 waitAPIResult(QCAMERA_SM_EVT_TAKE_PICTURE, &apiResult); in takeBackendPic_internal()
3661 rc = apiResult.status; in takeBackendPic_internal()
4871 qcamera_api_result_t *apiResult) in waitAPIResult() argument
4883 *apiResult = apiResultList->result; in waitAPIResult()
4899 __func__, apiResult->status, api_evt); in waitAPIResult()
4931 api_result_list *apiResult = (api_result_list *)malloc(sizeof(api_result_list)); in signalAPIResult() local
4932 if (apiResult == NULL) { in signalAPIResult()
4937 apiResult->result = *result; in signalAPIResult()
4938 apiResult->next = NULL; in signalAPIResult()
4939 if (m_apiResultList == NULL) m_apiResultList = apiResult; in signalAPIResult()
4943 apiResultList->next = apiResult; in signalAPIResult()