Home
last modified time | relevance | path

Searched refs:pRI (Results 1 – 2 of 2) sorted by relevance

/hardware/ril/libril/
Dril.cpp198 RequestInfo *pRI; in addRequestToList() local
226 pRI = (RequestInfo *)calloc(1, sizeof(RequestInfo)); in addRequestToList()
227 if (pRI == NULL) { in addRequestToList()
232 pRI->token = serial; in addRequestToList()
233 pRI->pCI = &(s_commands[request]); in addRequestToList()
234 pRI->socket_id = socket_id; in addRequestToList()
239 pRI->p_next = *pendingRequestsHook; in addRequestToList()
240 *pendingRequestsHook = pRI; in addRequestToList()
245 return pRI; in addRequestToList()
499 checkAndDequeueRequestInfoIfAck(struct RequestInfo *pRI, bool isAck) { in checkAndDequeueRequestInfoIfAck() argument
[all …]
Dril_service.cpp500 void sendErrorResponse(RequestInfo *pRI, RIL_Errno err) { in sendErrorResponse() argument
501 pRI->pCI->responseFunction((int) pRI->socket_id, in sendErrorResponse()
502 (int) RadioResponseType::SOLICITED, pRI->token, err, NULL, 0); in sendErrorResponse()
514 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI, bool allowEmpty) { in copyHidlStringToRil() argument
522 RLOGE("Memory allocation failed for request %s", requestToString(pRI->pCI->requestNumber)); in copyHidlStringToRil()
523 sendErrorResponse(pRI, RIL_E_NO_MEMORY); in copyHidlStringToRil()
532 sendErrorResponse(pRI, RIL_E_INTERNAL_ERR); in copyHidlStringToRil()
538 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI) { in copyHidlStringToRil() argument
539 return copyHidlStringToRil(dest, src, pRI, false); in copyHidlStringToRil()
552 RequestInfo *pRI = android::addRequestToList(serial, slotId, request); in dispatchVoid() local
[all …]