Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/sm8150p/gps/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
259 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
263 LOC_LOGV("%s: Received message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
265 return rv; in msg_q_rcv()
275 msq_q_err_type rv; in msg_q_rmv() local
302 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rmv()
306 LOC_LOGV("%s: Removed message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rmv()
[all …]
/hardware/qcom/sm7150/gps/utils/
Dmsg_q.c188 msq_q_err_type rv; in msg_q_snd() local
212 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
221 return rv; in msg_q_snd()
231 msq_q_err_type rv; in msg_q_rcv() local
261 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
265 LOC_LOGV("%s: Received message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
267 return rv; in msg_q_rcv()
277 msq_q_err_type rv; in msg_q_rmv() local
304 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rmv()
308 LOC_LOGV("%s: Removed message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rmv()
[all …]
/hardware/qcom/sm8150/gps/utils/
Dmsg_q.c188 msq_q_err_type rv; in msg_q_snd() local
212 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
221 return rv; in msg_q_snd()
231 msq_q_err_type rv; in msg_q_rcv() local
261 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
265 LOC_LOGV("%s: Received message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
267 return rv; in msg_q_rcv()
277 msq_q_err_type rv; in msg_q_rmv() local
304 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rmv()
308 LOC_LOGV("%s: Removed message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rmv()
[all …]
/hardware/qcom/gps/msm8994/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8084/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8909/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8909/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8994/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8960/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8996/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8996/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8909w_3100/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
259 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
263 LOC_LOGV("%s: Received message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
265 return rv; in msg_q_rcv()
275 msq_q_err_type rv; in msg_q_flush() local
289 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
295 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8084/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8960/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/sdm845/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
259 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
263 LOC_LOGV("%s: Received message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
265 return rv; in msg_q_rcv()
275 msq_q_err_type rv; in msg_q_flush() local
289 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
295 return rv; in msg_q_flush()
DLocIpc.cpp223 ssize_t rv = ::sendto(fd, data + sentBytes, partLen, 0, in sendData() local
225 if (rv < 0) { in sendData()
230 sentBytes += rv; in sendData()
/hardware/qcom/sdm845/gps/msm8998/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
261 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
267 return rv; in msg_q_rcv()
277 msq_q_err_type rv; in msg_q_flush() local
291 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
297 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8998/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
261 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
267 return rv; in msg_q_rcv()
277 msq_q_err_type rv; in msg_q_flush() local
291 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
297 return rv; in msg_q_flush()
/hardware/google/pixel/pixelstats/
DOrientationCollector.cpp76 int rv; in getEvents() local
83 rv = ALooper_pollOnce(GET_EVENT_TIMEOUT_MILLIS, nullptr, nullptr, nullptr); in getEvents()
84 if (rv == ALOOPER_POLL_ERROR) { in getEvents()
/hardware/qcom/sdm845/thermal/
Dthermal_common.c103 int rv; in read_line_from_file() local
111 rv = (int)strlen(buf); in read_line_from_file()
113 rv = ferror(fd); in read_line_from_file()
118 return rv; in read_line_from_file()
/hardware/qcom/sm8150/thermal/
Dthermal_common.c103 int rv; in read_line_from_file() local
111 rv = (int)strlen(buf); in read_line_from_file()
113 rv = ferror(fd); in read_line_from_file()
118 return rv; in read_line_from_file()
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp259 inv_error_t rv; in MPLSensor() local
615 rv = inv_load_calibration(); in MPLSensor()
616 if(rv == INV_SUCCESS) { in MPLSensor()
635 LOGE("HAL:Could not open or load MPL calibration file (%d)", rv); in MPLSensor()