/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_unit_test.c | 45 int rc = MM_CAMERA_OK; in mm_app_tc_open_close() local 52 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_open_close() 53 if (rc != MM_CAMERA_OK) { in mm_app_tc_open_close() 55 i, rc); in mm_app_tc_open_close() 59 rc = mm_app_close(&test_obj); in mm_app_tc_open_close() 60 if (rc != MM_CAMERA_OK) { in mm_app_tc_open_close() 62 i, rc); in mm_app_tc_open_close() 66 if (rc == MM_CAMERA_OK) { in mm_app_tc_open_close() 71 LOGD("END, rc = %d\n", rc); in mm_app_tc_open_close() 72 return rc; in mm_app_tc_open_close() [all …]
|
D | mm_qcamera_dual_test.c | 79 int rc = MM_CAMERA_OK; in mm_app_dtc_0() local 88 LOGE("mm_app_open() back camera err=%d\n", rc); in mm_app_dtc_0() 89 rc = -1; in mm_app_dtc_0() 93 LOGE("system_dimension_set() err=%d\n", rc); in mm_app_dtc_0() 94 rc = -1; in mm_app_dtc_0() 100 LOGE("mm_app_open() front camera err=%d\n", rc); in mm_app_dtc_0() 101 rc = -1; in mm_app_dtc_0() 106 LOGE("system_dimension_set() err=%d\n", rc); in mm_app_dtc_0() 107 rc = -1; in mm_app_dtc_0() 112 if( MM_CAMERA_OK != (rc = startRdi(front_camera))) { in mm_app_dtc_0() [all …]
|
D | mm_qcamera_app.c | 56 int rc = 0; in mm_camera_app_timedwait() local 64 rc = pthread_cond_timedwait(&app_cond_v, &app_mutex,&tw); in mm_camera_app_timedwait() 68 return rc; in mm_camera_app_timedwait() 73 int rc = 0; in mm_camera_app_wait() local 80 return rc; in mm_camera_app_wait() 123 int rc = MM_CAMERA_OK; in mm_app_allocate_ion_memory() local 143 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 144 if (rc < 0) { in mm_app_allocate_ion_memory() 145 LOGE("ION allocation failed %s with rc = %d \n",strerror(errno), rc); in mm_app_allocate_ion_memory() 151 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() [all …]
|
D | mm_qcamera_video.c | 63 int rc = MM_CAMERA_OK; in mm_app_add_video_stream() local 93 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_video_stream() 94 if (MM_CAMERA_OK != rc) { in mm_app_add_video_stream() 95 LOGE("config preview stream err=%d\n", rc); in mm_app_add_video_stream() 133 int rc = MM_CAMERA_OK; in mm_app_start_record_preview() local 159 rc = mm_app_start_channel(test_obj, p_ch); in mm_app_start_record_preview() 160 if (MM_CAMERA_OK != rc) { in mm_app_start_record_preview() 161 LOGE("start preview failed rc=%d\n", rc); in mm_app_start_record_preview() 165 return rc; in mm_app_start_record_preview() 168 return rc; in mm_app_start_record_preview() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_unit_test.c | 42 int rc = MM_CAMERA_OK; in mm_app_tc_open_close() local 49 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_open_close() 50 if (rc != MM_CAMERA_OK) { in mm_app_tc_open_close() 52 __func__, i, rc); in mm_app_tc_open_close() 56 rc = mm_app_close(&test_obj); in mm_app_tc_open_close() 57 if (rc != MM_CAMERA_OK) { in mm_app_tc_open_close() 59 __func__, i, rc); in mm_app_tc_open_close() 63 if (rc == MM_CAMERA_OK) { in mm_app_tc_open_close() 68 CDBG("%s:END, rc = %d\n", __func__, rc); in mm_app_tc_open_close() 69 return rc; in mm_app_tc_open_close() [all …]
|
D | mm_qcamera_dual_test.c | 82 int rc = MM_CAMERA_OK; in mm_app_dtc_0() local 91 CDBG_ERROR("%s:mm_app_open() back camera err=%d\n",__func__, rc); in mm_app_dtc_0() 92 rc = -1; in mm_app_dtc_0() 96 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); in mm_app_dtc_0() 97 rc = -1; in mm_app_dtc_0() 103 CDBG_ERROR("%s:mm_app_open() front camera err=%d\n",__func__, rc); in mm_app_dtc_0() 104 rc = -1; in mm_app_dtc_0() 109 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); in mm_app_dtc_0() 110 rc = -1; in mm_app_dtc_0() 115 if( MM_CAMERA_OK != (rc = startRdi(front_camera))) { in mm_app_dtc_0() [all …]
|
D | mm_qcamera_app.c | 48 int rc = 0; in mm_camera_app_timedwait() local 56 rc = pthread_cond_timedwait(&app_cond_v, &app_mutex,&tw); in mm_camera_app_timedwait() 60 return rc; in mm_camera_app_timedwait() 65 int rc = 0; in mm_camera_app_wait() local 72 return rc; in mm_camera_app_wait() 114 int rc = MM_CAMERA_OK; in mm_app_allocate_ion_memory() local 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 135 if (rc < 0) { in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 143 if (rc < 0) { in mm_app_allocate_ion_memory() [all …]
|
D | mm_qcamera_video.c | 62 int rc = MM_CAMERA_OK; in mm_app_add_video_stream() local 91 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_video_stream() 92 if (MM_CAMERA_OK != rc) { in mm_app_add_video_stream() 93 CDBG_ERROR("%s:config preview stream err=%d\n", __func__, rc); in mm_app_add_video_stream() 131 int rc = MM_CAMERA_OK; in mm_app_start_record_preview() local 157 rc = mm_app_start_channel(test_obj, p_ch); in mm_app_start_record_preview() 158 if (MM_CAMERA_OK != rc) { in mm_app_start_record_preview() 159 CDBG_ERROR("%s:start preview failed rc=%d\n", __func__, rc); in mm_app_start_record_preview() 163 return rc; in mm_app_start_record_preview() 166 return rc; in mm_app_start_record_preview() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_unit_test.c | 42 int rc = MM_CAMERA_OK; in mm_app_tc_open_close() local 49 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_open_close() 50 if (rc != MM_CAMERA_OK) { in mm_app_tc_open_close() 52 __func__, i, rc); in mm_app_tc_open_close() 56 rc = mm_app_close(&test_obj); in mm_app_tc_open_close() 57 if (rc != MM_CAMERA_OK) { in mm_app_tc_open_close() 59 __func__, i, rc); in mm_app_tc_open_close() 63 if (rc == MM_CAMERA_OK) { in mm_app_tc_open_close() 68 CDBG("%s:END, rc = %d\n", __func__, rc); in mm_app_tc_open_close() 69 return rc; in mm_app_tc_open_close() [all …]
|
D | mm_qcamera_dual_test.c | 82 int rc = MM_CAMERA_OK; in mm_app_dtc_0() local 91 CDBG_ERROR("%s:mm_app_open() back camera err=%d\n",__func__, rc); in mm_app_dtc_0() 92 rc = -1; in mm_app_dtc_0() 96 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); in mm_app_dtc_0() 97 rc = -1; in mm_app_dtc_0() 103 CDBG_ERROR("%s:mm_app_open() front camera err=%d\n",__func__, rc); in mm_app_dtc_0() 104 rc = -1; in mm_app_dtc_0() 109 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); in mm_app_dtc_0() 110 rc = -1; in mm_app_dtc_0() 115 if( MM_CAMERA_OK != (rc = startRdi(front_camera))) { in mm_app_dtc_0() [all …]
|
D | mm_qcamera_app.c | 48 int rc = 0; in mm_camera_app_timedwait() local 56 rc = pthread_cond_timedwait(&app_cond_v, &app_mutex,&tw); in mm_camera_app_timedwait() 60 return rc; in mm_camera_app_timedwait() 65 int rc = 0; in mm_camera_app_wait() local 72 return rc; in mm_camera_app_wait() 114 int rc = MM_CAMERA_OK; in mm_app_allocate_ion_memory() local 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 135 if (rc < 0) { in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 143 if (rc < 0) { in mm_app_allocate_ion_memory() [all …]
|
D | mm_qcamera_video.c | 62 int rc = MM_CAMERA_OK; in mm_app_add_video_stream() local 91 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_video_stream() 92 if (MM_CAMERA_OK != rc) { in mm_app_add_video_stream() 93 CDBG_ERROR("%s:config preview stream err=%d\n", __func__, rc); in mm_app_add_video_stream() 131 int rc = MM_CAMERA_OK; in mm_app_start_record_preview() local 157 rc = mm_app_start_channel(test_obj, p_ch); in mm_app_start_record_preview() 158 if (MM_CAMERA_OK != rc) { in mm_app_start_record_preview() 159 CDBG_ERROR("%s:start preview failed rc=%d\n", __func__, rc); in mm_app_start_record_preview() 163 return rc; in mm_app_start_record_preview() 166 return rc; in mm_app_start_record_preview() [all …]
|
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraStateMachine.cpp | 197 int32_t rc = NO_ERROR; in applyDelayedMsgs() local 200 rc = m_parent->enableMsgType(m_DelayedMsgs); in applyDelayedMsgs() 207 return rc; in applyDelayedMsgs() 301 int32_t rc = NO_ERROR; in stateMachine() local 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() [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraStateMachine.cpp | 187 int32_t rc = NO_ERROR; in applyDelayedMsgs() local 190 rc = m_parent->enableMsgType(m_DelayedMsgs); in applyDelayedMsgs() 197 return rc; in applyDelayedMsgs() 289 int32_t rc = NO_ERROR; in stateMachine() local 293 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine() 296 rc = procEvtPreviewReadyState(evt, payload); in stateMachine() 299 rc = procEvtPreviewingState(evt, payload); in stateMachine() 302 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine() 305 rc = procEvtPicTakingState(evt, payload); in stateMachine() 308 rc = procEvtRecordingState(evt, payload); in stateMachine() [all …]
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraStateMachine.cpp | 187 int32_t rc = NO_ERROR; in applyDelayedMsgs() local 190 rc = m_parent->enableMsgType(m_DelayedMsgs); in applyDelayedMsgs() 197 return rc; in applyDelayedMsgs() 289 int32_t rc = NO_ERROR; in stateMachine() local 293 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine() 296 rc = procEvtPreviewReadyState(evt, payload); in stateMachine() 299 rc = procEvtPreviewingState(evt, payload); in stateMachine() 302 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine() 305 rc = procEvtPicTakingState(evt, payload); in stateMachine() 308 rc = procEvtRecordingState(evt, payload); in stateMachine() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/services/std_svc/psci/ |
D | psci_main.c | 48 int rc; in psci_cpu_on() local 53 rc = psci_validate_mpidr(target_cpu, MPIDR_AFFLVL0); in psci_cpu_on() 54 if (rc != PSCI_E_SUCCESS) { in psci_cpu_on() 60 rc = psci_plat_pm_ops->validate_ns_entrypoint(entrypoint); in psci_cpu_on() 61 if (rc != PSCI_E_SUCCESS) { in psci_cpu_on() 62 assert(rc == PSCI_E_INVALID_PARAMS); in psci_cpu_on() 72 rc = psci_get_ns_ep_info(&ep, entrypoint, context_id); in psci_cpu_on() 73 if (rc != PSCI_E_SUCCESS) in psci_cpu_on() 74 return rc; in psci_cpu_on() 83 rc = psci_afflvl_on(target_cpu, in psci_cpu_on() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec_interface.c | 58 int32_t rc = -1; in mm_jpegdec_intf_start_job() local 63 return rc; in mm_jpegdec_intf_start_job() 71 return rc; in mm_jpegdec_intf_start_job() 73 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); in mm_jpegdec_intf_start_job() 75 return rc; in mm_jpegdec_intf_start_job() 96 int32_t rc = -1; in mm_jpegdec_intf_create_session() local 100 return rc; in mm_jpegdec_intf_create_session() 108 return rc; in mm_jpegdec_intf_create_session() 111 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); in mm_jpegdec_intf_create_session() 113 return rc; in mm_jpegdec_intf_create_session() [all …]
|
D | mm_jpeg_interface.c | 109 int32_t rc = -1; in mm_jpeg_intf_start_job() local 114 return rc; in mm_jpeg_intf_start_job() 122 return rc; in mm_jpeg_intf_start_job() 124 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id); in mm_jpeg_intf_start_job() 126 return rc; in mm_jpeg_intf_start_job() 147 int32_t rc = -1; in mm_jpeg_intf_create_session() local 151 return rc; in mm_jpeg_intf_create_session() 159 return rc; in mm_jpeg_intf_create_session() 162 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id); in mm_jpeg_intf_create_session() 164 return rc; in mm_jpeg_intf_create_session() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec_interface.c | 61 int32_t rc = -1; in mm_jpegdec_intf_start_job() local 66 return rc; in mm_jpegdec_intf_start_job() 74 return rc; in mm_jpegdec_intf_start_job() 76 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); in mm_jpegdec_intf_start_job() 78 return rc; in mm_jpegdec_intf_start_job() 99 int32_t rc = -1; in mm_jpegdec_intf_create_session() local 103 return rc; in mm_jpegdec_intf_create_session() 111 return rc; in mm_jpegdec_intf_create_session() 114 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); in mm_jpegdec_intf_create_session() 116 return rc; in mm_jpegdec_intf_create_session() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec_interface.c | 61 int32_t rc = -1; in mm_jpegdec_intf_start_job() local 66 return rc; in mm_jpegdec_intf_start_job() 74 return rc; in mm_jpegdec_intf_start_job() 76 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); in mm_jpegdec_intf_start_job() 78 return rc; in mm_jpegdec_intf_start_job() 99 int32_t rc = -1; in mm_jpegdec_intf_create_session() local 103 return rc; in mm_jpegdec_intf_create_session() 111 return rc; in mm_jpegdec_intf_create_session() 114 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); in mm_jpegdec_intf_create_session() 116 return rc; in mm_jpegdec_intf_create_session() [all …]
|
/device/google/marlin/camera/QCamera2/HAL/wrapper/ |
D | QualcommCamera.cpp | 114 int rc = -1; in get_camera_info() local 121 return rc; in get_camera_info() 130 int rc = -1; in camera_device_open() local 142 return rc; in camera_device_open() 153 rc = 0; in camera_device_open() 170 ALOGE(" end rc %d", rc); in camera_device_open() 171 return rc; in camera_device_open() 177 int rc = -1; in close_camera_device() local 193 rc = 0; in close_camera_device() 195 return rc; in close_camera_device() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 157 int rc; in mm_camera_event_notify() local 165 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify() 167 if (rc >= 0 && ev.id == MSM_CAMERA_MSM_NOTIFY) { in mm_camera_event_notify() 225 int32_t rc = 0; in mm_camera_enqueue_evt() local 240 rc = -1; in mm_camera_enqueue_evt() 243 return rc; in mm_camera_enqueue_evt() 261 int32_t rc = 0; in mm_camera_open() local 300 rc = -EUSERS; in mm_camera_open() 302 rc = -1; in mm_camera_open() 329 rc = -1; in mm_camera_open() [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/wrapper/ |
D | QualcommCamera.cpp | 114 int rc = -1; in get_camera_info() local 121 return rc; in get_camera_info() 130 int rc = -1; in camera_device_open() local 142 return rc; in camera_device_open() 153 rc = 0; in camera_device_open() 170 ALOGE("%s: end rc %d", __func__, rc); in camera_device_open() 171 return rc; in camera_device_open() 177 int rc = -1; in close_camera_device() local 193 rc = 0; in close_camera_device() 195 return rc; in close_camera_device() [all …]
|
/device/huawei/angler/camera/QCamera2/HAL/wrapper/ |
D | QualcommCamera.cpp | 114 int rc = -1; in get_camera_info() local 121 return rc; in get_camera_info() 130 int rc = -1; in camera_device_open() local 142 return rc; in camera_device_open() 153 rc = 0; in camera_device_open() 170 ALOGE("%s: end rc %d", __func__, rc); in camera_device_open() 171 return rc; in camera_device_open() 177 int rc = -1; in close_camera_device() local 193 rc = 0; in close_camera_device() 195 return rc; in close_camera_device() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 155 int rc; in mm_camera_event_notify() local 163 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify() 165 if (rc >= 0 && ev.id == MSM_CAMERA_MSM_NOTIFY) { in mm_camera_event_notify() 216 int32_t rc = 0; in mm_camera_enqueue_evt() local 231 rc = -1; in mm_camera_enqueue_evt() 234 return rc; in mm_camera_enqueue_evt() 252 int32_t rc = 0; in mm_camera_open() local 313 rc = -EUSERS; in mm_camera_open() 315 rc = -1; in mm_camera_open() 337 rc = -1; in mm_camera_open() [all …]
|