Searched refs:cameraHandle (Results 1 – 3 of 3) sorted by relevance
2455 mm_camera_vtbl_t *cameraHandle) in initCapabilities() argument2461 rc = camera_open((uint8_t)cameraId, &cameraHandle); in initCapabilities()2466 if (!cameraHandle) { in initCapabilities()2467 LOGE("camera_open failed. cameraHandle = %p", cameraHandle); in initCapabilities()2471 handle = get_main_camera_handle(cameraHandle->camera_handle); in initCapabilities()2472 gCamCapability[cameraId] = getCapabilities(cameraHandle->ops, handle); in initCapabilities()2480 handle = get_aux_camera_handle(cameraHandle->camera_handle); in initCapabilities()2482 getCapabilities(cameraHandle->ops, handle); in initCapabilities()2501 cameraHandle->ops->close_camera(cameraHandle->camera_handle); in initCapabilities()2502 cameraHandle = NULL; in initCapabilities()
280 static int initCapabilities(uint32_t cameraId, mm_camera_vtbl_t *cameraHandle);
9413 mm_camera_vtbl_t *cameraHandle = NULL; in initCapabilities() local9416 rc = camera_open((uint8_t)cameraId, &cameraHandle); in initCapabilities()9421 if (!cameraHandle) { in initCapabilities()9422 LOGE("camera_open failed. cameraHandle = %p", cameraHandle); in initCapabilities()9426 handle = get_main_camera_handle(cameraHandle->camera_handle); in initCapabilities()9427 gCamCapability[cameraId] = getCapabilities(cameraHandle->ops, handle); in initCapabilities()9435 handle = get_aux_camera_handle(cameraHandle->camera_handle); in initCapabilities()9437 getCapabilities(cameraHandle->ops, handle); in initCapabilities()9456 cameraHandle->ops->close_camera(cameraHandle->camera_handle); in initCapabilities()9457 cameraHandle = NULL; in initCapabilities()