Lines Matching refs:apiResult
132 qcamera_api_result_t apiResult; in set_preview_window() local
135 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PREVIEW_WINDOW, &apiResult); in set_preview_window()
136 rc = apiResult.status; in set_preview_window()
180 qcamera_api_result_t apiResult; in set_CallBacks() local
183 hw->waitAPIResult(QCAMERA_SM_EVT_SET_CALLBACKS, &apiResult); in set_CallBacks()
208 qcamera_api_result_t apiResult; in enable_msg_type() local
211 hw->waitAPIResult(QCAMERA_SM_EVT_ENABLE_MSG_TYPE, &apiResult); in enable_msg_type()
236 qcamera_api_result_t apiResult; in disable_msg_type() local
239 hw->waitAPIResult(QCAMERA_SM_EVT_DISABLE_MSG_TYPE, &apiResult); in disable_msg_type()
266 qcamera_api_result_t apiResult; in msg_type_enabled() local
269 hw->waitAPIResult(QCAMERA_SM_EVT_MSG_TYPE_ENABLED, &apiResult); in msg_type_enabled()
270 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()
336 qcamera_api_result_t apiResult; in stop_preview() local
339 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_PREVIEW, &apiResult); in stop_preview()
367 qcamera_api_result_t apiResult; in preview_enabled() local
370 hw->waitAPIResult(QCAMERA_SM_EVT_PREVIEW_ENABLED, &apiResult); in preview_enabled()
371 ret = apiResult.enabled; in preview_enabled()
403 qcamera_api_result_t apiResult; in store_meta_data_in_buffers() local
406 hw->waitAPIResult(QCAMERA_SM_EVT_STORE_METADATA_IN_BUFS, &apiResult); in store_meta_data_in_buffers()
407 ret = apiResult.status; in store_meta_data_in_buffers()
437 qcamera_api_result_t apiResult; in start_recording() local
440 hw->waitAPIResult(QCAMERA_SM_EVT_START_RECORDING, &apiResult); in start_recording()
441 ret = apiResult.status; in start_recording()
469 qcamera_api_result_t apiResult; in stop_recording() local
472 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_RECORDING, &apiResult); in stop_recording()
499 qcamera_api_result_t apiResult; in recording_enabled() local
502 hw->waitAPIResult(QCAMERA_SM_EVT_RECORDING_ENABLED, &apiResult); in recording_enabled()
503 ret = apiResult.enabled; in recording_enabled()
532 qcamera_api_result_t apiResult; in release_recording_frame() local
535 hw->waitAPIResult(QCAMERA_SM_EVT_RELEASE_RECORIDNG_FRAME, &apiResult); in release_recording_frame()
564 qcamera_api_result_t apiResult; in auto_focus() local
567 hw->waitAPIResult(QCAMERA_SM_EVT_START_AUTO_FOCUS, &apiResult); in auto_focus()
568 ret = apiResult.status; in auto_focus()
599 qcamera_api_result_t apiResult; in cancel_auto_focus() local
602 hw->waitAPIResult(QCAMERA_SM_EVT_STOP_AUTO_FOCUS, &apiResult); in cancel_auto_focus()
603 ret = apiResult.status; in cancel_auto_focus()
633 qcamera_api_result_t apiResult; in take_picture() local
660 hw->waitAPIResult(QCAMERA_SM_EVT_TAKE_PICTURE, &apiResult); in take_picture()
661 ret = apiResult.status; in take_picture()
670 hw->waitAPIResult(QCAMERA_SM_EVT_PREPARE_SNAPSHOT, &apiResult); in take_picture()
671 ret = apiResult.status; in take_picture()
687 hw->waitAPIResult(QCAMERA_SM_EVT_PREPARE_SNAPSHOT, &apiResult); in take_picture()
688 ret = apiResult.status; in take_picture()
700 hw->waitAPIResult(QCAMERA_SM_EVT_TAKE_PICTURE, &apiResult); in take_picture()
701 ret = apiResult.status; in take_picture()
731 qcamera_api_result_t apiResult; in cancel_picture() local
734 hw->waitAPIResult(QCAMERA_SM_EVT_CANCEL_PICTURE, &apiResult); in cancel_picture()
735 ret = apiResult.status; in cancel_picture()
766 qcamera_api_result_t apiResult; in set_parameters() local
769 hw->waitAPIResult(QCAMERA_SM_EVT_SET_PARAMS, &apiResult); in set_parameters()
770 ret = apiResult.status; in set_parameters()
797 qcamera_api_result_t apiResult; in get_parameters() local
800 hw->waitAPIResult(QCAMERA_SM_EVT_GET_PARAMS, &apiResult); in get_parameters()
801 ret = apiResult.params; in get_parameters()
829 qcamera_api_result_t apiResult; in put_parameters() local
832 hw->waitAPIResult(QCAMERA_SM_EVT_PUT_PARAMS, &apiResult); in put_parameters()
871 qcamera_api_result_t apiResult; in send_command() local
874 hw->waitAPIResult(QCAMERA_SM_EVT_SEND_COMMAND, &apiResult); in send_command()
875 ret = apiResult.status; in send_command()
901 qcamera_api_result_t apiResult; in release() local
904 hw->waitAPIResult(QCAMERA_SM_EVT_RELEASE, &apiResult); in release()
937 qcamera_api_result_t apiResult; in dump() local
940 hw->waitAPIResult(QCAMERA_SM_EVT_DUMP, &apiResult); in dump()
941 ret = apiResult.status; in dump()
1006 qcamera_api_result_t apiResult; in register_face_image() local
1009 hw->waitAPIResult(QCAMERA_SM_EVT_REG_FACE_IMAGE, &apiResult); in register_face_image()
1010 ret = apiResult.handle; in register_face_image()
3789 qcamera_api_result_t *apiResult) in waitAPIResult() argument
3801 *apiResult = apiResultList->result; in waitAPIResult()
3817 __func__, apiResult->status, api_evt); in waitAPIResult()
3849 api_result_list *apiResult = (api_result_list *)malloc(sizeof(api_result_list)); in signalAPIResult() local
3850 if (apiResult == NULL) { in signalAPIResult()
3855 apiResult->result = *result; in signalAPIResult()
3856 apiResult->next = NULL; in signalAPIResult()
3857 if (m_apiResultList == NULL) m_apiResultList = apiResult; in signalAPIResult()
3861 apiResultList->next = apiResult; in signalAPIResult()