Home
last modified time | relevance | path

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

/hardware/ril/libril/
Dril.cpp200 RequestInfo *pRI; in addRequestToList() local
228 pRI = (RequestInfo *)calloc(1, sizeof(RequestInfo)); in addRequestToList()
229 if (pRI == NULL) { in addRequestToList()
234 pRI->token = serial; in addRequestToList()
235 pRI->pCI = &(s_commands[request]); in addRequestToList()
236 pRI->socket_id = socket_id; in addRequestToList()
241 pRI->p_next = *pendingRequestsHook; in addRequestToList()
242 *pendingRequestsHook = pRI; in addRequestToList()
247 return pRI; in addRequestToList()
501 checkAndDequeueRequestInfoIfAck(struct RequestInfo *pRI, bool isAck) { in checkAndDequeueRequestInfoIfAck() argument
[all …]
Dril_service.cpp499 void sendErrorResponse(RequestInfo *pRI, RIL_Errno err) { in sendErrorResponse() argument
500 pRI->pCI->responseFunction((int) pRI->socket_id, in sendErrorResponse()
501 (int) RadioResponseType::SOLICITED, pRI->token, err, NULL, 0); in sendErrorResponse()
513 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI, bool allowEmpty) { in copyHidlStringToRil() argument
521 RLOGE("Memory allocation failed for request %s", requestToString(pRI->pCI->requestNumber)); in copyHidlStringToRil()
522 sendErrorResponse(pRI, RIL_E_NO_MEMORY); in copyHidlStringToRil()
531 sendErrorResponse(pRI, RIL_E_INTERNAL_ERR); in copyHidlStringToRil()
537 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI) { in copyHidlStringToRil() argument
538 return copyHidlStringToRil(dest, src, pRI, false); in copyHidlStringToRil()
551 RequestInfo *pRI = android::addRequestToList(serial, slotId, request); in dispatchVoid() local
[all …]