Home
last modified time | relevance | path

Searched refs:retVal (Results 1 – 25 of 26) sorted by relevance

12

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DSocketComm.cpp69 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()
DPipeComm.cpp80 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()
DVehicleEmulator.cpp190 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/
DFlpAPIClient.cpp92 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()
DGnssAPIClient.cpp124 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/
DLocationAPIClientBase.cpp130 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/
Dmixaudio.c465 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/
DGnss.cpp200 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/
DContexthub.cpp194 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/
Dloc.cpp234 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/
Dloc.cpp277 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/
Dloc.cpp277 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/
Dloc.cpp281 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/
Dloc.cpp279 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/
Dloc.cpp345 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/
Dcommon.cpp312 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/
Dhwc_copybit.cpp461 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/
Dhwc_copybit.cpp470 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/
Dhwc_copybit.cpp232 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/
Dhwc_copybit.cpp574 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/
Dhwc_copybit.cpp269 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/
Domx_video_base.cpp4914 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/
Domx_video_base.cpp5403 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/
Domx_video_base.cpp5242 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/
Domx_vdec_v4l2.cpp12055 bool retVal = load_lib(); in request_cores() local
12056 if (retVal && m_perf_lock_acquire && m_perf_handle == 0) { in request_cores()

12