/device/google/cuttlefish/guest/hals/ril/libril/ |
D | ril.cpp | 198 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 …]
|
D | ril_service.cpp | 610 void sendErrorResponse(RequestInfo *pRI, RIL_Errno err) { in sendErrorResponse() argument 611 pRI->pCI->responseFunction((int) pRI->socket_id, in sendErrorResponse() 612 (int) RadioResponseType::SOLICITED, pRI->token, err, NULL, 0); in sendErrorResponse() 624 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI, bool allowEmpty) { in copyHidlStringToRil() argument 632 RLOGE("Memory allocation failed for request %s", requestToString(pRI->pCI->requestNumber)); in copyHidlStringToRil() 633 sendErrorResponse(pRI, RIL_E_NO_MEMORY); in copyHidlStringToRil() 642 sendErrorResponse(pRI, RIL_E_INTERNAL_ERR); in copyHidlStringToRil() 648 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI) { in copyHidlStringToRil() argument 649 return copyHidlStringToRil(dest, src, pRI, false); in copyHidlStringToRil() 662 RequestInfo *pRI = android::addRequestToList(serial, slotId, request); in dispatchVoid() local [all …]
|
/device/generic/goldfish/radio/libril/ |
D | ril.cpp | 198 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 …]
|
D | ril_service.cpp | 507 void sendErrorResponse(RequestInfo *pRI, RIL_Errno err) { in sendErrorResponse() argument 508 pRI->pCI->responseFunction((int) pRI->socket_id, in sendErrorResponse() 509 (int) RadioResponseType::SOLICITED, pRI->token, err, NULL, 0); in sendErrorResponse() 521 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI, bool allowEmpty) { in copyHidlStringToRil() argument 529 RLOGE("Memory allocation failed for request %s", requestToString(pRI->pCI->requestNumber)); in copyHidlStringToRil() 530 sendErrorResponse(pRI, RIL_E_NO_MEMORY); in copyHidlStringToRil() 539 sendErrorResponse(pRI, RIL_E_INTERNAL_ERR); in copyHidlStringToRil() 545 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI) { in copyHidlStringToRil() argument 546 return copyHidlStringToRil(dest, src, pRI, false); in copyHidlStringToRil() 559 RequestInfo *pRI = android::addRequestToList(serial, slotId, request); in dispatchVoid() local [all …]
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | ril.cpp | 208 RequestInfo *pRI = nullptr; in addRequestToList() local 236 pRI = (RequestInfo *)calloc(1, sizeof(RequestInfo)); in addRequestToList() 237 if (pRI == NULL) { in addRequestToList() 242 pRI->token = serial; in addRequestToList() 243 pRI->pCI = &(s_commands[request]); in addRequestToList() 248 pRI->pCI = &(s_configCommands[request]); in addRequestToList() 251 pRI->socket_id = socket_id; in addRequestToList() 256 pRI->p_next = *pendingRequestsHook; in addRequestToList() 257 *pendingRequestsHook = pRI; in addRequestToList() 262 return pRI; in addRequestToList() [all …]
|
D | ril_service.cpp | 621 void sendErrorResponse(RequestInfo *pRI, RIL_Errno err) { in sendErrorResponse() argument 622 pRI->pCI->responseFunction((int) pRI->socket_id, in sendErrorResponse() 623 (int) RadioResponseType::SOLICITED, pRI->token, err, NULL, 0); in sendErrorResponse() 635 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI, bool allowEmpty) { in copyHidlStringToRil() argument 643 RLOGE("Memory allocation failed for request %s", requestToString(pRI->pCI->requestNumber)); in copyHidlStringToRil() 644 sendErrorResponse(pRI, RIL_E_NO_MEMORY); in copyHidlStringToRil() 653 sendErrorResponse(pRI, RIL_E_INTERNAL_ERR); in copyHidlStringToRil() 659 bool copyHidlStringToRil(char **dest, const hidl_string &src, RequestInfo *pRI) { in copyHidlStringToRil() argument 660 return copyHidlStringToRil(dest, src, pRI, false); in copyHidlStringToRil() 673 RequestInfo *pRI = android::addRequestToList(serial, slotId, request); in dispatchVoid() local [all …]
|
D | ril_config.cpp | 67 extern void sendErrorResponse(android::RequestInfo *pRI, RIL_Errno err); 145 RequestInfo *pRI = android::addRequestToList(serial, RIL_SOCKET_1, in setSimSlotsMapping() local 147 if (pRI == NULL) { in setSimSlotsMapping() 154 sendErrorResponse(pRI, RIL_E_INVALID_ARGUMENTS); in setSimSlotsMapping() 161 sendErrorResponse(pRI, RIL_E_INVALID_ARGUMENTS); in setSimSlotsMapping() 169 sendErrorResponse(pRI, RIL_E_INVALID_ARGUMENTS); in setSimSlotsMapping() 181 slotNum * sizeof(int), pRI, pRI->socket_id); in setSimSlotsMapping() 209 RequestInfo *pRI = android::addRequestToList(serial, mSlotId, in setModemsConfig() local 211 if (pRI == NULL) { in setModemsConfig() 221 sizeof(RIL_ModemConfig), pRI, pRI->socket_id); in setModemsConfig()
|