/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraFlash.cpp | 115 int32_t retVal = 0; in registerCallbacks() local 117 return retVal; in registerCallbacks() 140 int32_t retVal = 0; in initFlash() local 161 retVal = -ENOSYS; in initFlash() 165 retVal = -EBUSY; in initFlash() 175 retVal = -EBUSY; in initFlash() 184 retVal = ioctl(m_flashFds[camera_id], in initFlash() 187 if (retVal < 0) { in initFlash() 199 LOGD("X, retVal = %d", retVal); in initFlash() 200 return retVal; in initFlash() [all …]
|
/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 | 79 int retVal = 0; in write() local 84 retVal = qemu_pipe_frame_send(mPipeFd, data.data(), data.size()); in write() 88 if (retVal < 0) { in write() 89 retVal = -errno; in write() 93 return retVal; in write()
|
D | VehicleEmulator.cpp | 191 int retVal = mComm->write(msg); in txMsg() local 192 if (retVal < 0) { in txMsg() 193 ALOGE("%s: Failed to tx message: retval=%d, errno=%d", __func__, retVal, errno); in txMsg() 337 int retVal = mComm->open(); in rxThread() local 338 if (retVal != 0) mExit = true; in rxThread() 342 retVal = mComm->connect(); in rxThread() 344 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 | 125 bool retVal = true; in gnssStart() local 127 return retVal; in gnssStart() 133 bool retVal = true; in gnssStop() local 135 return retVal; in gnssStop() 186 bool retVal = true; in gnssSetPositionMode() local 198 return retVal; in gnssSetPositionMode()
|
/hardware/qcom/gps/msm8909w_3100/android/location_api/ |
D | BatchingAPIClient.cpp | 97 int retVal = -1; in startSession() local 105 retVal = 1; in startSession() 107 return retVal; in startSession() 114 int retVal = -1; in updateSessionOptions() local 123 retVal = 1; in updateSessionOptions() 125 return retVal; in updateSessionOptions() 131 int retVal = -1; in stopSession() local 133 retVal = 1; in stopSession() 135 return retVal; in stopSession()
|
D | GnssAPIClient.cpp | 139 bool retVal = true; in gnssStart() local 141 return retVal; in gnssStart() 147 bool retVal = true; in gnssStop() local 149 return retVal; in gnssStop() 158 bool retVal = true; in gnssSetPositionMode() local 171 retVal = false; in gnssSetPositionMode() 174 return retVal; in gnssSetPositionMode()
|
/hardware/qcom/gps/msm8998/location/ |
D | LocationAPIClientBase.cpp | 138 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStartTracking() local 159 retVal = LOCATION_ERROR_SUCCESS; in locAPIStartTracking() 163 return retVal; in locAPIStartTracking() 221 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStartSession() local 227 retVal = LOCATION_ERROR_ALREADY_STARTED; in locAPIStartSession() 263 retVal = LOCATION_ERROR_SUCCESS; in locAPIStartSession() 269 return retVal; in locAPIStartSession() 274 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStopSession() local 301 retVal = LOCATION_ERROR_SUCCESS; in locAPIStopSession() 303 retVal = LOCATION_ERROR_ID_UNKNOWN; in locAPIStopSession() [all …]
|
/hardware/qcom/gps/msm8909w_3100/location/ |
D | LocationAPIClientBase.cpp | 88 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssDeleteAidingData() local 96 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssDeleteAidingData() 100 return retVal; in locAPIGnssDeleteAidingData() 105 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIEnable() local 109 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable() 115 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable() 122 return retVal; in locAPIEnable() 144 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssUpdateConfig() local 147 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig() 148 return retVal; in locAPIGnssUpdateConfig() [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/interfaces/contexthub/1.0/default/ |
D | Contexthub.cpp | 200 Return<Result> retVal = Result::BAD_PARAMS; in registerCallback() local 205 retVal = Result::NOT_INIT; in registerCallback() 208 retVal = Result::BAD_PARAMS; in registerCallback() 228 retVal = Result::OK; in registerCallback() 234 retVal = Result::UNKNOWN_FAILURE; in registerCallback() 237 return retVal; in registerCallback() 266 int retVal = -1; in handleOsMessage() local 278 retVal = 0; in handleOsMessage() 288 retVal = 0; in handleOsMessage() 312 retVal = 0; in handleOsMessage() [all …]
|
/hardware/qcom/gps/msm8998/android/ |
D | Gnss.cpp | 201 bool retVal = false; in start() local 204 retVal = api->gnssStart(); in start() 206 return retVal; in start() 211 bool retVal = false; in stop() local 214 retVal = api->gnssStop(); in stop() 216 return retVal; in stop() 269 bool retVal = false; in setPositionMode() local 272 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode() 275 return retVal; in setPositionMode()
|
/hardware/qcom/gps/msm8909w_3100/android/ |
D | Gnss.cpp | 201 bool retVal = false; in start() local 204 retVal = api->gnssStart(); in start() 206 return retVal; in start() 211 bool retVal = false; in stop() local 214 retVal = api->gnssStop(); in stop() 216 return retVal; in stop() 269 bool retVal = false; in setPositionMode() local 272 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode() 275 return retVal; in setPositionMode()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 165 int32_t retVal = NO_ERROR; in invalidate_buf() local 169 retVal = stream->invalidateBuf(buf_idx); in invalidate_buf() 170 if (NO_ERROR != retVal) { in invalidate_buf() 172 buf_idx, retVal); in invalidate_buf() 174 rc |= retVal; in invalidate_buf() 205 int32_t retVal = NO_ERROR; in clean_invalidate_buf() local 209 retVal = stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf() 210 if (NO_ERROR != retVal) { in clean_invalidate_buf() 212 buf_idx, retVal); in clean_invalidate_buf() 214 rc |= retVal; in clean_invalidate_buf() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | common.cpp | 267 wifi_error retVal = WIFI_SUCCESS; in fetchLowiCbTableAndCapabilities() local 308 retVal = WIFI_ERROR_NOT_SUPPORTED; in fetchLowiCbTableAndCapabilities() 322 retVal = WIFI_ERROR_NOT_SUPPORTED; in fetchLowiCbTableAndCapabilities() 345 if (retVal) { in fetchLowiCbTableAndCapabilities() 348 return retVal; in fetchLowiCbTableAndCapabilities()
|
/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/msm8996/loc_api/libloc_api_50001/ |
D | loc.cpp | 346 int retVal = -1; in loc_init() local 352 EXIT_LOG(%d, retVal); in loc_init() 353 return retVal; in loc_init() 384 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event, NULL); in loc_init() 391 if(retVal) { in loc_init() 402 EXIT_LOG(%d, retVal); in loc_init() 403 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/msm8909/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() 319 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event, NULL); in loc_init() 327 if(retVal) { in loc_init() 338 EXIT_LOG(%d, retVal); in loc_init() 339 return retVal; in loc_init()
|
/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/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()
|