/base/telephony/ril_adapter/services/vendor/src/ |
D | vendor_report.c | 27 void OnModemReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t re… in OnModemReport() argument 30 g_reportOps->OnModemReport(slotId, reportInfo, response, responseLen); in OnModemReport() 36 void OnCallReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t res… in OnCallReport() argument 39 g_reportOps->OnCallReport(slotId, reportInfo, response, responseLen); in OnCallReport() 45 void OnDataReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t res… in OnDataReport() argument 48 g_reportOps->OnDataReport(slotId, reportInfo, response, responseLen); in OnDataReport() 54 void OnSmsReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t resp… in OnSmsReport() argument 57 g_reportOps->OnSmsReport(slotId, reportInfo, response, responseLen); in OnSmsReport() 63 void OnNetworkReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t … in OnNetworkReport() argument 66 g_reportOps->OnNetworkReport(slotId, reportInfo, response, responseLen); in OnNetworkReport() [all …]
|
D | at_sms.c | 69 static void HandlerSmsResult(HRilSmsResponse *response, struct ReportInfo *reportInfo, const ReqDat… in HandlerSmsResult() argument 72 if (reportInfo == NULL || err == NULL) { in HandlerSmsResult() 85 *reportInfo = CreateReportInfo(requestInfo, *err, HRIL_RESPONSE, 0); in HandlerSmsResult() 86 OnSmsReport(GetSlotId(requestInfo), *reportInfo, NULL, 0); in HandlerSmsResult() 120 struct ReportInfo reportInfo = {0}; in ReqSendGsmSms() local 129 HandlerSmsResult(&response, &reportInfo, requestInfo, &err, responseInfo); in ReqSendGsmSms() 137 HandlerSmsResult(&response, &reportInfo, requestInfo, &err, responseInfo); in ReqSendGsmSms() 143 HandlerSmsResult(&response, &reportInfo, requestInfo, &err, responseInfo); in ReqSendGsmSms() 148 HandlerSmsResult(&response, &reportInfo, requestInfo, &err, responseInfo); in ReqSendGsmSms() 152 reportInfo = CreateReportInfo(requestInfo, err, HRIL_RESPONSE, 0); in ReqSendGsmSms() [all …]
|
D | at_sim.c | 196 … struct ReportInfo reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_SUCCESS, HRIL_RESPONSE, 0); in ReqGetSimStatus() local 197 …OnSimReport(GetSlotId(requestInfo), reportInfo, (const uint8_t *)&cardState, sizeof(HRilCardState)… in ReqGetSimStatus() 199 struct ReportInfo reportInfo = CreateReportInfo(requestInfo, ret, HRIL_RESPONSE, 0); in ReqGetSimStatus() local 200 OnSimReport(GetSlotId(requestInfo), reportInfo, NULL, 0); in ReqGetSimStatus() 209 … struct ReportInfo reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_SUCCESS, HRIL_RESPONSE, 0); in ReqGetSimStatus() local 210 …OnSimReport(GetSlotId(requestInfo), reportInfo, (const uint8_t *)&cardState, sizeof(HRilCardState)… in ReqGetSimStatus() 295 struct ReportInfo reportInfo = CreateReportInfo(requestInfo, *ret, HRIL_RESPONSE, 0); in HandlerSimIOResult() local 298 OnSimReport(GetSlotId(requestInfo), reportInfo, NULL, 0); in HandlerSimIOResult() 300 …OnSimReport(GetSlotId(requestInfo), reportInfo, (const uint8_t *)simResponse, sizeof(HRilSimIOResp… in HandlerSimIOResult() 314 …struct ReportInfo reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_INVALID_RESPONSE, HRIL_RESPO… in ReqGetSimIO() local [all …]
|
D | at_call.c | 44 struct ReportInfo reportInfo = CreateReportInfo(requestInfo, errorNo, HRIL_RESPONSE, 0); in OnCallReportErrorMessages() local 45 reportInfo.modemErrInfo = errInfo; in OnCallReportErrorMessages() 46 OnCallReport(GetSlotId(requestInfo), reportInfo, NULL, 0); in OnCallReportErrorMessages() 142 …struct ReportInfo reportInfo = CreateReportInfo(&requestInfo, err, HRIL_NOTIFICATION, HNOTI_CALL_S… in ReportCallStateUpdated() local 143 reportInfo.modemErrInfo = errInfo; in ReportCallStateUpdated() 144 OnCallReport(GetSlotId(NULL), reportInfo, NULL, 0); in ReportCallStateUpdated() 162 struct ReportInfo reportInfo = in ReportSrvccStatusUpdate() local 164 reportInfo.modemErrInfo = errInfo; in ReportSrvccStatusUpdate() 165 …OnCallReport(GetSlotId(NULL), reportInfo, (const uint8_t *)&srvccStatus, sizeof(HRilCallSrvccStatu… in ReportSrvccStatusUpdate() 189 struct ReportInfo reportInfo = in ReportCsChannelInfo() local [all …]
|
D | at_modem.c | 38 struct ReportInfo reportInfo; in ResponseModemReport() local 39 reportInfo = CreateReportInfo(requestInfo, err, HRIL_RESPONSE, 0); in ResponseModemReport() 40 …OnModemReport(slotId, reportInfo, (const uint8_t *)(respDataAck->respDataPointer), respDataAck->re… in ResponseModemReport() 69 struct ReportInfo reportInfo; in ReqSetRadioState() local 72 reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_SUCCESS, HRIL_RESPONSE, 0); in ReqSetRadioState() 76 reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_REPEAT_STATUS, HRIL_RESPONSE, 0); in ReqSetRadioState() 78 reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_GENERIC_FAILURE, HRIL_RESPONSE, 0); in ReqSetRadioState() 81 OnModemReport(requestInfo->slotId, reportInfo, NULL, 0); in ReqSetRadioState() 89 struct ReportInfo reportInfo; in ErrorHandler() local 90 reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_GENERIC_FAILURE, HRIL_RESPONSE, 0); in ErrorHandler() [all …]
|
D | at_network.c | 99 struct ReportInfo reportInfo; in ResponseNetworkReport() local 100 reportInfo = CreateReportInfo(requestInfo, err, HRIL_RESPONSE, 0); in ResponseNetworkReport() 101 …OnNetworkReport(slotId, reportInfo, (const uint8_t *)(respDataAck->respDataPointer), respDataAck->… in ResponseNetworkReport() 457 struct ReportInfo reportInfo; in ReqGetSignalStrength() local 465 reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_NULL_POINT, HRIL_RESPONSE, 0); in ReqGetSignalStrength() 466 OnNetworkReport(requestInfo->slotId, reportInfo, NULL, 0); in ReqGetSignalStrength() 478 reportInfo = CreateReportInfo(requestInfo, HRIL_ERR_INVALID_RESPONSE, HRIL_RESPONSE, 0); in ReqGetSignalStrength() 479 OnNetworkReport(requestInfo->slotId, reportInfo, NULL, 0); in ReqGetSignalStrength() 494 reportInfo = CreateReportInfo(requestInfo, err, HRIL_RESPONSE, 0); in ReqGetSignalStrength() 495 OnNetworkReport(requestInfo->slotId, reportInfo, (const uint8_t *)&hrilRssi, sizeof(HRilRssi)); in ReqGetSignalStrength() [all …]
|
D | vendor_adapter.c | 196 struct ReportInfo reportInfo; in SetRadioState() local 197 (void)memset_s(&reportInfo, sizeof(struct ReportInfo), 0, sizeof(struct ReportInfo)); in SetRadioState() 225 reportInfo.notifyId = HNOTI_MODEM_RADIO_STATE_UPDATED; in SetRadioState() 226 reportInfo.type = HRIL_NOTIFICATION; in SetRadioState() 227 reportInfo.error = HRIL_ERR_SUCCESS; in SetRadioState() 228 …OnModemReport(GetSlotId(NULL), reportInfo, (const uint8_t *)&g_radioState, sizeof(HRilRadioState)); in SetRadioState() 314 struct ReportInfo reportInfo = { 0 }; in ModemInit() local 315 reportInfo.notifyId = HNOTI_MODEM_RADIO_STATE_UPDATED; in ModemInit() 316 reportInfo.type = HRIL_NOTIFICATION; in ModemInit() 317 reportInfo.error = HRIL_ERR_SUCCESS; in ModemInit() [all …]
|
D | at_data.c | 91 struct ReportInfo reportInfo = CreateReportInfo(requestInfo, errorNo, HRIL_RESPONSE, 0); in OnDataReportErrorMessages() local 92 reportInfo.modemErrInfo = errInfo; in OnDataReportErrorMessages() 93 OnDataReport(slotId, reportInfo, NULL, 0); in OnDataReportErrorMessages() 95 struct ReportInfo reportInfo = in OnDataReportErrorMessages() local 97 reportInfo.modemErrInfo = errInfo; in OnDataReportErrorMessages() 98 OnDataReport(GetSlotId(NULL), reportInfo, NULL, 0); in OnDataReportErrorMessages() 115 struct ReportInfo reportInfo = CreateReportInfo(requestInfo, err, HRIL_RESPONSE, 0); in OnDataReportPdpErrorMessages() local 116 reportInfo.modemErrInfo = errInfo; in OnDataReportPdpErrorMessages() 120 …OnDataReport(GetSlotId(requestInfo), reportInfo, (const uint8_t *)&pDataCall, sizeof(HRilDataCallR… in OnDataReportPdpErrorMessages() 532 struct ReportInfo reportInfo = {}; in DataReportMessage() local [all …]
|
/base/telephony/ril_adapter/services/hril_hdf/include/ |
D | hril_hdf.h | 33 … int32_t slotId, const struct ReportInfo reportInfo, const uint8_t *response, size_t responseLen); 35 … int32_t slotId, const struct ReportInfo reportInfo, const uint8_t *response, size_t responseLen); 37 … int32_t slotId, const struct ReportInfo reportInfo, const uint8_t *response, size_t responseLen); 39 … int32_t slotId, const struct ReportInfo reportInfo, const uint8_t *response, size_t responseLen); 41 … int32_t slotId, const struct ReportInfo reportInfo, const uint8_t *response, size_t responseLen); 43 … int32_t slotId, const struct ReportInfo reportInfo, const uint8_t *response, size_t responseLen);
|
/base/telephony/ril_adapter/services/vendor/include/ |
D | vendor_report.h | 29 void OnModemReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t re… 30 void OnCallReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t res… 31 void OnDataReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t res… 32 void OnSimReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t resp… 33 void OnSmsReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t resp… 34 void OnNetworkReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t …
|
D | at_network.h | 75 void ProcessPhyChnlCfgNotify(struct ReportInfo reportInfo, char *srcStr); 76 int32_t ProcessCurrentCellList(struct ReportInfo reportInfo, const char *s);
|
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
D | hril.h | 49 …void (*OnCallReport)(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *data, size_t dat… 50 …void (*OnDataReport)(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *data, size_t dat… 51 …void (*OnModemReport)(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *data, size_t da… 52 …void (*OnNetworkReport)(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *data, size_t … 53 …void (*OnSimReport)(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *data, size_t data… 54 …void (*OnSmsReport)(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *data, size_t data…
|
/base/telephony/ril_adapter/test/fuzztest/simstkproactivenotify_fuzzer/ |
D | simstkproactivenotify_fuzzer.cpp | 38 struct ReportInfo reportInfo; in DoSomethingInterestingWithMyAPI() local 39 reportInfo.error = static_cast<HRilErrNumber>(size); in DoSomethingInterestingWithMyAPI() 40 reportInfo.notifyId = HNOTI_SIM_STK_PROACTIVE_NOTIFY; in DoSomethingInterestingWithMyAPI() 45 hrilSim->ProcessNotify<HRilSim>(HRIL_RESPONSE_NOTICE, &reportInfo, &response, sizeof(char)); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/ril_adapter/test/fuzztest/newsmsnotify_fuzzer/ |
D | newsmsnotify_fuzzer.cpp | 38 struct ReportInfo reportInfo; in DoSomethingInterestingWithMyAPI() local 39 reportInfo.error = static_cast<HRilErrNumber>(size); in DoSomethingInterestingWithMyAPI() 40 reportInfo.notifyId = HNOTI_SMS_NEW_SMS; in DoSomethingInterestingWithMyAPI() 48 hrilSms->ProcessNotify<HRilSms>(HRIL_RESPONSE_NOTICE, &reportInfo, &response, size); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/ril_adapter/services/hril/src/ |
D | hril_manager.cpp | 220 …OnReport(std::vector<std::unique_ptr<T>> &subModules, int32_t slotId, const ReportInfo *reportInfo, in OnReport() argument 223 if (reportInfo == nullptr) { in OnReport() 231 TELEPHONY_LOGI("OnReport notifyId:%{public}d", reportInfo->notifyId); in OnReport() 232 switch (reportInfo->type) { in OnReport() 234 ReqDataInfo *reqInfo = (ReqDataInfo *)reportInfo->requestInfo; in OnReport() 242 responseInfo.error = (HRilErrType)reportInfo->error; in OnReport() 244 if (HRIL_NEED_ACK == reportInfo->ack) { in OnReport() 255 auto iter = notificationMap_.find(reportInfo->notifyId); in OnReport() 257 …TELEPHONY_LOGI("OnReport notifyId:%{public}d, value:%{public}d", reportInfo->notifyId, iter->secon… in OnReport() 263 … subModules[slotId]->template ProcessNotify<T>(notifyType, reportInfo, response, responseLen); in OnReport() [all …]
|
/base/telephony/cellular_call/services/control/src/ |
D | ims_control.cpp | 343 CallReportInfo reportInfo = it.second.GetCallReportInfo(); in ReportHungUpInfo() local 344 reportInfo.state = TelCallState::CALL_STATUS_DISCONNECTED; in ReportHungUpInfo() 345 reportInfo.accountId = slotId; in ReportHungUpInfo() 346 callsReportInfo.callVec.push_back(reportInfo); in ReportHungUpInfo() 370 … CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, imsCurrentCallInfoList.calls[i]); in ReportIncomingInfo() local 375 connection.SetOrUpdateCallReportInfo(reportInfo); in ReportIncomingInfo() 378 callsReportInfo.callVec.push_back(reportInfo); in ReportIncomingInfo() 399 CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, callInfoList.calls[i]); in ReportUpdateInfo() local 405 connection.SetOrUpdateCallReportInfo(reportInfo); in ReportUpdateInfo() 412 pConnection->SetOrUpdateCallReportInfo(reportInfo); in ReportUpdateInfo() [all …]
|
D | cs_control.cpp | 413 CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, callInfoList.calls[i]); in ReportUpdateInfo() local 419 connection.SetOrUpdateCallReportInfo(reportInfo); in ReportUpdateInfo() 426 pConnection->SetOrUpdateCallReportInfo(reportInfo); in ReportUpdateInfo() 428 callsReportInfo.callVec.push_back(reportInfo); in ReportUpdateInfo()
|
/base/telephony/ril_adapter/services/hril/include/ |
D | hril_manager.h | 58 …void OnCallReport(int32_t slotId, const ReportInfo *reportInfo, const uint8_t *response, size_t re… 59 …void OnDataReport(int32_t slotId, const ReportInfo *reportInfo, const uint8_t *response, size_t re… 60 …void OnModemReport(int32_t slotId, const ReportInfo *reportInfo, const uint8_t *response, size_t r… 61 …void OnNetworkReport(int32_t slotId, const ReportInfo *reportInfo, const uint8_t *response, size_t… 62 …void OnSimReport(int32_t slotId, const ReportInfo *reportInfo, const uint8_t *response, size_t res… 63 …void OnSmsReport(int32_t slotId, const ReportInfo *reportInfo, const uint8_t *response, size_t res… 219 …OnReport(std::vector<std::unique_ptr<T>> &subModules, int32_t slotId, const ReportInfo *reportInfo, 244 void OnCallReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t res… 245 void OnDataReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t res… 246 void OnModemReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t re… [all …]
|
D | hril_base.h | 47 …int32_t notifyType, const struct ReportInfo *reportInfo, const void *response, size_t responseLen); 159 … int32_t notifyType, const struct ReportInfo *reportInfo, const void *response, size_t responseLen) in ProcessNotify() argument 161 if (reportInfo == nullptr) { in ProcessNotify() 165 int32_t code = reportInfo->notifyId; in ProcessNotify() 166 HRilErrNumber error = (HRilErrNumber)reportInfo->error; in ProcessNotify()
|
D | hril_data.h | 50 …int32_t ProcessDataNotify(const struct ReportInfo *reportInfo, const void *response, size_t respon…
|
D | hril_sim.h | 32 …void ProcessSimNotify(const struct ReportInfo *reportInfo, const void *response, size_t responseLe…
|