/hardware/ti/omap4xxx/camera/ |
D | BaseCameraAdapter.cpp | 83 status_t ret = NO_ERROR; in registerImageReleaseCallback() local 92 return ret; in registerImageReleaseCallback() 97 status_t ret = NO_ERROR; in registerEndCaptureCallback() local 106 return ret; in registerEndCaptureCallback() 111 status_t ret = NO_ERROR; in setErrorHandler() local 118 ret = -EINVAL; in setErrorHandler() 121 if ( NO_ERROR == ret ) in setErrorHandler() 128 return ret; in setErrorHandler() 330 status_t ret = NO_ERROR; in sendCommand() local 348 if ( ret == NO_ERROR ) in sendCommand() [all …]
|
D | CameraHal.cpp | 258 status_t ret = NO_ERROR; in setParameters() local 290 ret = -EINVAL; in setParameters() 305 ret = -EINVAL; in setParameters() 324 ret = -EINVAL; in setParameters() 462 ret = -EINVAL; in setParameters() 472 ret = -EINVAL; in setParameters() 481 ret = -EINVAL; in setParameters() 492 ret = -EINVAL; in setParameters() 573 ret = -EINVAL; in setParameters() 579 ret = -EINVAL; in setParameters() [all …]
|
D | CameraHalUtilClasses.cpp | 36 status_t ret = NO_ERROR; in enableFrameNotification() local 46 return ret; in enableFrameNotification() 52 status_t ret = NO_ERROR; in disableFrameNotification() local 59 return ret; in disableFrameNotification() 64 status_t ret = NO_ERROR; in returnFrame() local 68 return ret; in returnFrame() 90 status_t ret = NO_ERROR; in enableEventNotification() local 100 return ret; in enableEventNotification() 106 status_t ret = NO_ERROR; in disableEventNotification() local 113 return ret; in disableEventNotification() [all …]
|
D | ANativeWindowDisplayAdapter.cpp | 248 status_t ret = mDisplayThread->run("DisplayThread", PRIORITY_URGENT_DISPLAY); in initialize() local 249 if ( ret != NO_ERROR ) in initialize() 253 return ret; in initialize() 258 return ret; in initialize() 311 status_t ret = NO_ERROR; in setErrorHandler() local 318 ret = -EINVAL; in setErrorHandler() 321 if ( NO_ERROR == ret ) in setErrorHandler() 328 return ret; in setErrorHandler() 335 status_t ret = NO_ERROR; in setSnapshotTimeRef() local 347 return ret; in setSnapshotTimeRef() [all …]
|
D | MemoryManager.cpp | 86 int ret = ion_alloc(mIonFd, bytes, 0, 1 << ION_HEAP_TYPE_CARVEOUT, &handle); in allocateBuffer() local 87 if(ret < 0) in allocateBuffer() 89 CAMHAL_LOGEB("ion_alloc resulted in error %d", ret); in allocateBuffer() 94 if ((ret = ion_map(mIonFd, handle, bytes, PROT_READ | PROT_WRITE, MAP_SHARED, 0, in allocateBuffer() 97 CAMHAL_LOGEB("Userspace mapping of ION buffers returned error %d", ret); in allocateBuffer() 151 status_t ret = NO_ERROR; in freeBuffer() local 194 return ret; in freeBuffer() 199 status_t ret = NO_ERROR; in setErrorHandler() local 206 ret = -EINVAL; in setErrorHandler() 209 if ( NO_ERROR == ret ) in setErrorHandler() [all …]
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXFocus.cpp | 41 status_t ret = NO_ERROR; in setParametersFocus() local 55 ret = CameraArea::parseAreas(str, ( strlen(str) + 1 ), tempAreas); in setParametersFocus() 58 if ( (NO_ERROR == ret) && CameraArea::areAreasDifferent(mFocusAreas, tempAreas) ) { in setParametersFocus() 65 ret = -EINVAL; in setParametersFocus() 76 return ret; in setParametersFocus() 81 status_t ret = NO_ERROR; in doAutoFocus() local 143 ret = checkFocus(&focusStatus); in doAutoFocus() 144 if ( NO_ERROR != ret ) { in doAutoFocus() 145 CAMHAL_LOGEB("Focus status check failed 0x%x!", ret); in doAutoFocus() 146 return ret; in doAutoFocus() [all …]
|
D | OMXCapture.cpp | 38 status_t ret = NO_ERROR; in setParametersCapture() local 280 return ret; in setParametersCapture() 285 status_t ret = NO_ERROR; in getPictureBufferSize() local 291 if ( NO_ERROR == ret ) in getPictureBufferSize() 300 ret = setFormat(OMX_CAMERA_PORT_IMAGE_OUT_IMAGE, *imgCaptureData); in getPictureBufferSize() 303 if ( ret == NO_ERROR ) in getPictureBufferSize() 309 CAMHAL_LOGEB("setFormat() failed 0x%x", ret); in getPictureBufferSize() 318 return ret; in getPictureBufferSize() 326 status_t ret = NO_ERROR; in parseExpRange() local 343 if ( NO_ERROR == ret ) in parseExpRange() [all …]
|
D | OMXCapabilities.cpp | 229 status_t ret = NO_ERROR; in encodePixelformatCap() local 247 return ret; in encodePixelformatCap() 256 status_t ret = NO_ERROR; in encodeFramerateCap() local 300 return ret; in encodeFramerateCap() 309 status_t ret = NO_ERROR; in encodeVFramerateCap() local 367 return ret; in encodeVFramerateCap() 376 size_t ret = 0; in encodeZoomCap() local 390 ret++; in encodeZoomCap() 397 return ret; in encodeZoomCap() 405 status_t ret = NO_ERROR; in encodeISOCap() local [all …]
|
D | OMXCameraAdapter.cpp | 63 status_t ret = NO_ERROR; in initialize() local 120 ret = RegisterForEvent(mCameraAdapterParameters.mHandleComp, in initialize() 125 if(ret != NO_ERROR) { in initialize() 126 CAMHAL_LOGEB("Error in registering for event %d", ret); in initialize() 141 ret = mInitSem.WaitTimeout(OMX_CMD_TIMEOUT); in initialize() 142 if ( NO_ERROR == ret ) { in initialize() 145 ret |= RemoveEvent(mCameraAdapterParameters.mHandleComp, in initialize() 223 ret = mCommandHandler->run("CallbackThread", PRIORITY_URGENT_DISPLAY); in initialize() 224 if ( ret != NO_ERROR ) in initialize() 226 if( ret == INVALID_OPERATION){ in initialize() [all …]
|
D | OMXZoom.cpp | 55 status_t ret = NO_ERROR; in setParametersZoom() local 83 return ret; in setParametersZoom() 88 status_t ret = NO_ERROR; in doZoom() local 97 ret = -1; in doZoom() 103 ret = -EINVAL; in doZoom() 111 if ( NO_ERROR == ret ) in doZoom() 124 ret = -1; in doZoom() 135 return ret; in doZoom() 140 status_t ret = NO_ERROR; in advanceZoom() local 151 ret = doZoom(mCurrentZoomIdx); in advanceZoom() [all …]
|
D | OMXAlgo.cpp | 39 status_t ret = NO_ERROR; in setParametersAlgo() local 281 return ret; in setParametersAlgo() 288 status_t ret = NO_ERROR; in getAutoConvergence() local 304 ret = -EINVAL; in getAutoConvergence() 315 return ret; in getAutoConvergence() 322 status_t ret = NO_ERROR; in setAutoConvergence() local 339 ret = -EINVAL; in setAutoConvergence() 348 return ret; in setAutoConvergence() 353 status_t ret = NO_ERROR; in enableVideoNoiseFilter() local 360 if ( NO_ERROR == ret ) in enableVideoNoiseFilter() [all …]
|
D | OMXExif.cpp | 37 status_t ret = NO_ERROR; in setParametersEXIF() local 215 return ret; in setParametersEXIF() 220 status_t ret = NO_ERROR; in setupEXIF() local 240 ret = -EINVAL; in setupEXIF() 243 if ( NO_ERROR == ret ) in setupEXIF() 267 ret = -1; in setupEXIF() 274 if ( NO_ERROR == ret ) in setupEXIF() 286 ret = -1; in setupEXIF() 290 if ( NO_ERROR == ret ) in setupEXIF() 486 ret = -1; in setupEXIF() [all …]
|
D | OMXFD.cpp | 45 status_t ret = NO_ERROR; in setParametersFD() local 51 return ret; in setParametersFD() 56 status_t ret = NO_ERROR; in startFaceDetection() local 60 ret = setFaceDetection(true, mDeviceOrientation); in startFaceDetection() 61 if (ret != NO_ERROR) { in startFaceDetection() 82 return ret; in startFaceDetection() 87 status_t ret = NO_ERROR; in stopFaceDetection() local 94 ret = setFaceDetection(false, mDeviceOrientation); in stopFaceDetection() 95 if (ret != NO_ERROR) { in stopFaceDetection() 100 ret = setParameters3A(mParams, state); in stopFaceDetection() [all …]
|
/hardware/ti/omap4xxx/ion/ |
D | ion.c | 49 int ret = ioctl(fd, req, arg); in ion_ioctl() local 50 if (ret < 0) { in ion_ioctl() 52 ret, strerror(errno)); in ion_ioctl() 55 return ret; in ion_ioctl() 61 int ret; in ion_alloc() local 68 ret = ion_ioctl(fd, ION_IOC_ALLOC, &data); in ion_alloc() 69 if (ret < 0) in ion_alloc() 70 return ret; in ion_alloc() 72 return ret; in ion_alloc() 78 int ret; in ion_alloc_tiler() local [all …]
|
D | ion_test.c | 30 int ret; in _ion_alloc_test() local 37 ret = ion_alloc_tiler(*fd, width, height, fmt, alloc_flags, in _ion_alloc_test() 40 ret = ion_alloc(*fd, len, align, alloc_flags, handle); in _ion_alloc_test() 42 if (ret) in _ion_alloc_test() 43 printf("%s failed: %s\n", __func__, strerror(ret)); in _ion_alloc_test() 44 return ret; in _ion_alloc_test() 49 int fd, ret; in ion_alloc_test() local 55 ret = ion_free(fd, handle); in ion_alloc_test() 56 if (ret) { in ion_alloc_test() 57 printf("%s failed: %s %p\n", __func__, strerror(ret), handle); in ion_alloc_test() [all …]
|
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
D | V4LCameraAdapter.cpp | 72 int ret = NO_ERROR; in initialize() local 87 ret = ioctl (mCameraHandle, VIDIOC_QUERYCAP, &mVideoInfo->cap); in initialize() 88 if (ret < 0) in initialize() 113 return ret; in initialize() 119 status_t ret = NO_ERROR; in fillThisBuffer() local 136 ret = ioctl(mCameraHandle, VIDIOC_QBUF, &mVideoInfo->buf); in fillThisBuffer() 137 if (ret < 0) { in fillThisBuffer() 144 return ret; in fillThisBuffer() 152 status_t ret = NO_ERROR; in setParameters() local 170 ret = ioctl(mCameraHandle, VIDIOC_S_FMT, &mVideoInfo->format); in setParameters() [all …]
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
D | driver_cmd_nl80211.c | 50 int ret = -1; in wpa_driver_set_power_save() local 68 ret = send_and_recv_msgs(drv, msg, NULL, NULL); in wpa_driver_set_power_save() 70 if (ret < 0) in wpa_driver_set_power_save() 71 wpa_printf(MSG_ERROR, "nl80211: Set power mode fail: %d", ret); in wpa_driver_set_power_save() 74 return ret; in wpa_driver_set_power_save() 104 int ret = -1; in wpa_driver_get_power_save() local 116 ret = send_and_recv_msgs(drv, msg, get_power_mode_handler, state); in wpa_driver_get_power_save() 118 if (ret < 0) in wpa_driver_get_power_save() 119 wpa_printf(MSG_ERROR, "nl80211: Get power mode fail: %d", ret); in wpa_driver_get_power_save() 122 return ret; in wpa_driver_get_power_save() [all …]
|
D | driver_cmd_wext.c | 75 int ret, bp; in wpa_driver_wext_combo_scan() local 118 if ((ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr)) < 0) { in wpa_driver_wext_combo_scan() 120 wpa_printf(MSG_ERROR, "ioctl[SIOCSIWPRIV] (cscan): %d", ret); in wpa_driver_wext_combo_scan() 122 ret = 0; /* Hide error in case of bg scan */ in wpa_driver_wext_combo_scan() 124 return ret; in wpa_driver_wext_combo_scan() 203 int ret = 0, i = 0, bp; in wpa_driver_set_backgroundscan_params() local 261 ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr); in wpa_driver_set_backgroundscan_params() 263 if (ret < 0) { in wpa_driver_set_backgroundscan_params() 264 wpa_printf(MSG_ERROR, "ioctl[SIOCSIWPRIV] (pnosetup): %d", ret); in wpa_driver_set_backgroundscan_params() 273 return ret; in wpa_driver_set_backgroundscan_params() [all …]
|
/hardware/ril/reference-ril/ |
D | at_tok.c | 72 char *ret = NULL; in nextTok() local 77 ret = NULL; in nextTok() 80 ret = strsep(p_cur, "\""); in nextTok() 83 ret = strsep(p_cur, ","); in nextTok() 86 return ret; in nextTok() 99 char *ret; in at_tok_nextint_base() local 105 ret = nextTok(p_cur); in at_tok_nextint_base() 107 if (ret == NULL) { in at_tok_nextint_base() 114 l = strtoul(ret, &end, base); in at_tok_nextint_base() 116 l = strtol(ret, &end, base); in at_tok_nextint_base() [all …]
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/ |
D | omx_proxy_videodec_secure.c | 26 int ret; in OMX_ComponentInit() local 71 ret = write(pComponentPrivate->secure_misc_drv_fd, &enable, sizeof(enable)); in OMX_ComponentInit() 72 if(ret != 1) in OMX_ComponentInit() 75 ret = write(pComponentPrivate->secure_misc_drv_fd, &disable, sizeof(disable)); in OMX_ComponentInit() 76 if (ret < 0) in OMX_ComponentInit() 81 ret = close(pComponentPrivate->secure_misc_drv_fd); in OMX_ComponentInit() 82 if (ret < 0) in OMX_ComponentInit() 90 ret = read(pComponentPrivate->secure_misc_drv_fd, &mode, sizeof(mode)); in OMX_ComponentInit() 115 int ret; in PROXY_VIDDEC_Secure_ComponentDeInit() local 133 ret = write(secure_misc_drv_fd, &disable, sizeof(disable)); in PROXY_VIDDEC_Secure_ComponentDeInit() [all …]
|
/hardware/ti/omap4xxx/libtiutils/ |
D | Semaphore.cpp | 89 status_t ret = NO_ERROR; in Create() local 97 ret = Release(); in Create() 98 if ( NO_ERROR != ret ) in Create() 100 return ret; in Create() 195 status_t ret = NO_ERROR; in WaitTimeout() local 203 ret = BAD_VALUE; in WaitTimeout() 206 if ( NO_ERROR == ret ) in WaitTimeout() 217 ret = sem_timedwait(mSemaphore, &timeSpec); in WaitTimeout() 220 if ( NO_ERROR != ret ) in WaitTimeout() 226 return ret; in WaitTimeout()
|
/hardware/broadcom/wlan/bcm4329/dhdutil/ |
D | dhdu.c | 496 int ret; in dhd_check() local 499 if ((ret = dhd_get(dhd, DHD_GET_MAGIC, &val, sizeof(int)) < 0)) in dhd_check() 500 return ret; in dhd_check() 503 if ((ret = dhd_get(dhd, DHD_GET_VERSION, &val, sizeof(int)) < 0)) in dhd_check() 504 return ret; in dhd_check() 569 int ret = 0; in dhd_pktgen() local 578 if ((ret = dhd_var_getbuf(dhd, "pktgen", NULL, 0, &ptr)) != 0) in dhd_pktgen() 579 return ret; in dhd_pktgen() 599 ret = -1; in dhd_pktgen() 606 ret = -1; in dhd_pktgen() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu.c | 496 int ret; in dhd_check() local 499 if ((ret = dhd_get(dhd, DHD_GET_MAGIC, &val, sizeof(int)) < 0)) in dhd_check() 500 return ret; in dhd_check() 503 if ((ret = dhd_get(dhd, DHD_GET_VERSION, &val, sizeof(int)) < 0)) in dhd_check() 504 return ret; in dhd_check() 569 int ret = 0; in dhd_pktgen() local 578 if ((ret = dhd_var_getbuf(dhd, "pktgen", NULL, 0, &ptr)) != 0) in dhd_pktgen() 579 return ret; in dhd_pktgen() 599 ret = -1; in dhd_pktgen() 606 ret = -1; in dhd_pktgen() [all …]
|
/hardware/libhardware_legacy/qemu/ |
D | qemu.c | 97 int fd, ret, namelen = strlen(name); in qemu_channel_open_qemud() local 161 int ret; in qemu_channel_open_tty() local 163 ret = snprintf(key, sizeof key, "ro.kernel.android.%s", name); in qemu_channel_open_tty() 164 if (ret >= (int)sizeof key) in qemu_channel_open_tty() 172 ret = snprintf(channel->device, sizeof channel->device, in qemu_channel_open_tty() 174 if (ret >= (int)sizeof channel->device) { in qemu_channel_open_tty() 278 int ret; in qemu_command_format() local 281 ret = qemu_command_format(buffer, buffer_size, format, args); in qemu_command_format() 283 return ret; in qemu_command_format() 353 int ret, fd, len, result = -1; in qemu_control_query() local [all …]
|
/hardware/broadcom/wlan/bcm4329/wpa_supplicant_8_lib/ |
D | driver_cmd_wext.c | 74 int ret, bp; in wpa_driver_wext_combo_scan() local 117 if ((ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr)) < 0) { in wpa_driver_wext_combo_scan() 119 wpa_printf(MSG_ERROR, "ioctl[SIOCSIWPRIV] (cscan): %d", ret); in wpa_driver_wext_combo_scan() 121 ret = 0; /* Hide error in case of bg scan */ in wpa_driver_wext_combo_scan() 123 return ret; in wpa_driver_wext_combo_scan() 202 int ret = 0, i = 0, bp; in wpa_driver_set_backgroundscan_params() local 260 ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr); in wpa_driver_set_backgroundscan_params() 262 if (ret < 0) { in wpa_driver_set_backgroundscan_params() 263 wpa_printf(MSG_ERROR, "ioctl[SIOCSIWPRIV] (pnosetup): %d", ret); in wpa_driver_set_backgroundscan_params() 272 return ret; in wpa_driver_set_backgroundscan_params() [all …]
|