/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | SocketComm.cpp | 69 int retVal; in open() local 84 retVal = bind(mSockFd, reinterpret_cast<struct sockaddr*>(&servAddr), sizeof(servAddr)); in open() 85 if(retVal < 0) { in open() 86 ALOGE("%s: Error on binding: retVal=%d, errno=%d", __FUNCTION__, retVal, errno); in open() 161 int retVal = 0; in write() local 173 retVal = ::write(mCurSockFd, msgLenBytes, MSG_HEADER_LEN); in write() 175 if (retVal == MSG_HEADER_LEN) { in write() 176 retVal = ::write(mCurSockFd, data.data(), data.size()); in write() 180 return retVal; in write()
|
D | PipeComm.cpp | 80 int retVal = 0; in write() local 85 retVal = qemu_pipe_frame_send(mPipeFd, data.data(), data.size()); in write() 89 if (retVal < 0) { in write() 90 retVal = -errno; in write() 94 return retVal; in write()
|
D | VehicleEmulator.cpp | 190 int retVal = mComm->write(msg); in txMsg() local 191 if (retVal < 0) { in txMsg() 192 ALOGE("%s: Failed to tx message: retval=%d, errno=%d", __func__, retVal, errno); in txMsg() 338 int retVal = mComm->open(); in rxThread() local 339 if (retVal != 0) mExit = true; in rxThread() 343 retVal = mComm->connect(); in rxThread() 345 if (retVal >= 0) { in rxThread()
|
/hardware/qcom/gps/msm8998/android/location_api/ |
D | FlpAPIClient.cpp | 92 int retVal = -1; in flpStartSession() local 100 retVal = 1; in flpStartSession() 102 return retVal; in flpStartSession() 109 int retVal = -1; in flpUpdateSessionOptions() local 118 retVal = 1; in flpUpdateSessionOptions() 120 return retVal; in flpUpdateSessionOptions() 126 int retVal = -1; in flpStopSession() local 128 retVal = 1; in flpStopSession() 130 return retVal; in flpStopSession()
|
D | GnssAPIClient.cpp | 124 bool retVal = true; in gnssStart() local 126 return retVal; in gnssStart() 132 bool retVal = true; in gnssStop() local 134 return retVal; in gnssStop() 185 bool retVal = true; in gnssSetPositionMode() local 196 return retVal; in gnssSetPositionMode()
|
/hardware/qcom/gps/msm8998/location/ |
D | LocationAPIClientBase.cpp | 130 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStartTracking() local 147 retVal = LOCATION_ERROR_SUCCESS; in locAPIStartTracking() 150 return retVal; in locAPIStartTracking() 203 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStartSession() local 209 retVal = LOCATION_ERROR_ALREADY_STARTED; in locAPIStartSession() 243 retVal = LOCATION_ERROR_SUCCESS; in locAPIStartSession() 249 return retVal; in locAPIStartSession() 254 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStopSession() local 281 retVal = LOCATION_ERROR_SUCCESS; in locAPIStopSession() 283 retVal = LOCATION_ERROR_ID_UNKNOWN; in locAPIStopSession() [all …]
|
/hardware/intel/common/libmix/mix_audio/src/ |
D | mixaudio.c | 465 int retVal = 0; in mix_audio_SST_SET_PARAMS() local 471 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_SET_PARAMS, &sst_params); in mix_audio_SST_SET_PARAMS() 472 g_debug("_SET_PARAMS returned %d", retVal); in mix_audio_SST_SET_PARAMS() 475 if (!retVal) in mix_audio_SST_SET_PARAMS() 629 int retVal = 0; in mix_audio_stop_drop_default() local 634 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_DROP); in mix_audio_stop_drop_default() 635 g_debug("_DROP returned %d", retVal); in mix_audio_stop_drop_default() 638 if (!retVal) in mix_audio_stop_drop_default() 658 int retVal = 0; in mix_audio_stop_drain_default() local 698 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_DRAIN); in mix_audio_stop_drain_default() [all …]
|
/hardware/qcom/gps/msm8998/android/ |
D | Gnss.cpp | 200 bool retVal = false; in start() local 203 retVal = api->gnssStart(); in start() 205 return retVal; in start() 210 bool retVal = false; in stop() local 213 retVal = api->gnssStop(); in stop() 215 return retVal; in stop() 268 bool retVal = false; in setPositionMode() local 271 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode() 274 return retVal; in setPositionMode()
|
/hardware/interfaces/contexthub/1.0/default/ |
D | Contexthub.cpp | 194 Return<Result> retVal = Result::BAD_PARAMS; in registerCallback() local 199 retVal = Result::NOT_INIT; in registerCallback() 202 retVal = Result::BAD_PARAMS; in registerCallback() 222 retVal = Result::OK; in registerCallback() 228 retVal = Result::UNKNOWN_FAILURE; in registerCallback() 231 return retVal; in registerCallback() 260 int retVal = -1; in handleOsMessage() local 272 retVal = 0; in handleOsMessage() 281 retVal = 0; in handleOsMessage() 306 retVal = 0; in handleOsMessage() [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc.cpp | 234 int retVal = -1; in loc_init() local 240 EXIT_LOG(%d, retVal); in loc_init() 241 return retVal; in loc_init() 268 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event); in loc_init() 273 EXIT_LOG(%d, retVal); in loc_init() 274 return retVal; in loc_init()
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc.cpp | 277 int retVal = -1; in loc_init() local 283 EXIT_LOG(%d, retVal); in loc_init() 284 return retVal; in loc_init() 315 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event, NULL); in loc_init() 323 if(retVal) { in loc_init() 334 EXIT_LOG(%d, retVal); in loc_init() 335 return retVal; in loc_init()
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc.cpp | 277 int retVal = -1; in loc_init() local 283 EXIT_LOG(%d, retVal); in loc_init() 284 return retVal; in loc_init() 312 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event, NULL); in loc_init() 319 if(retVal) { in loc_init() 330 EXIT_LOG(%d, retVal); in loc_init() 331 return retVal; in loc_init()
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc.cpp | 281 int retVal = -1; in loc_init() local 287 EXIT_LOG(%d, retVal); in loc_init() 288 return retVal; in loc_init() 316 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event, NULL); in loc_init() 323 if(retVal) { in loc_init() 334 EXIT_LOG(%d, retVal); in loc_init() 335 return retVal; in loc_init()
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc.cpp | 279 int retVal = -1; in loc_init() local 286 EXIT_LOG(%d, retVal); in loc_init() 287 return retVal; in loc_init() 315 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event, NULL); in loc_init() 321 if(retVal) { in loc_init() 369 EXIT_LOG(%d, retVal); in loc_init() 370 return retVal; in loc_init()
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc.cpp | 345 int retVal = -1; in loc_init() local 351 EXIT_LOG(%d, retVal); in loc_init() 352 return retVal; in loc_init() 383 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event, NULL); in loc_init() 390 if(retVal) { in loc_init() 401 EXIT_LOG(%d, retVal); in loc_init() 402 return retVal; in loc_init()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | common.cpp | 312 wifi_error retVal = WIFI_SUCCESS; in fetchLowiCbTableAndCapabilities() local 353 retVal = WIFI_ERROR_NOT_SUPPORTED; in fetchLowiCbTableAndCapabilities() 367 retVal = WIFI_ERROR_NOT_SUPPORTED; in fetchLowiCbTableAndCapabilities() 390 if (retVal) { in fetchLowiCbTableAndCapabilities() 393 return retVal; in fetchLowiCbTableAndCapabilities()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_copybit.cpp | 461 int retVal = drawLayerUsingCopybit(ctx, in drawUsingAppBufferComposition() local 463 if(retVal < 0) { in drawUsingAppBufferComposition() 480 int retVal = true; in draw() local 555 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw() 558 if(retVal < 0) { in draw() 614 int retVal = drawRectUsingCopybit(ctx, layer, renderBuffer, overlap, in drawOverlap() local 617 if(retVal < 0) { in drawOverlap()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_copybit.cpp | 470 int retVal = drawLayerUsingCopybit(ctx, in drawUsingAppBufferComposition() local 472 if(retVal < 0) { in drawUsingAppBufferComposition() 489 int retVal = true; in draw() local 568 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw() 571 if(retVal < 0) { in draw() 667 int retVal = drawRectUsingCopybit(ctx, layer, renderBuffer, in drawOverlap() local 670 if(retVal < 0) { in drawOverlap()
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_copybit.cpp | 232 int retVal = true; in draw() local 275 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw() 278 if(retVal < 0) { in draw()
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
D | hwc_copybit.cpp | 574 int retVal = drawLayerUsingCopybit(ctx, in drawUsingAppBufferComposition() local 576 if(retVal < 0) { in drawUsingAppBufferComposition() 593 int retVal = true; in draw() local 675 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw() 678 if(retVal < 0) { in draw() 778 int retVal = drawRectUsingCopybit(ctx, layer, renderBuffer, in drawOverlap() local 781 if(retVal < 0) { in drawOverlap()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_copybit.cpp | 269 int retVal = true; in draw() local 331 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw() 334 if(retVal < 0) { in draw()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 4914 OMX_ERRORTYPE retVal = OMX_ErrorNone; in push_empty_eos_buffer() local 4952 retVal = OMX_ErrorBadParameter; in push_empty_eos_buffer() 4969 retVal = OMX_ErrorBadParameter; in push_empty_eos_buffer() 4979 return retVal; in push_empty_eos_buffer()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 5403 OMX_ERRORTYPE retVal = OMX_ErrorNone; in push_empty_eos_buffer() local 5441 retVal = OMX_ErrorBadParameter; in push_empty_eos_buffer() 5460 retVal = OMX_ErrorBadParameter; in push_empty_eos_buffer() 5472 return retVal; in push_empty_eos_buffer()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 5242 OMX_ERRORTYPE retVal = OMX_ErrorNone; in push_empty_eos_buffer() local 5280 retVal = OMX_ErrorBadParameter; in push_empty_eos_buffer() 5299 retVal = OMX_ErrorBadParameter; in push_empty_eos_buffer() 5309 return retVal; in push_empty_eos_buffer()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 12055 bool retVal = load_lib(); in request_cores() local 12056 if (retVal && m_perf_lock_acquire && m_perf_handle == 0) { in request_cores()
|