Home
last modified time | relevance | path

Searched refs:reportInfo (Results 1 – 21 of 21) sorted by relevance

/base/telephony/ril_adapter/services/vendor/src/
Dvendor_report.c27 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 …]
Dat_sms.c69 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 …]
Dat_sim.c196 … 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 …]
Dat_call.c44 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 …]
Dat_modem.c38 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 …]
Dat_network.c99 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 …]
Dvendor_adapter.c196 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 …]
Dat_data.c91 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/
Dhril_hdf.h33 … 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/
Dvendor_report.h29 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 …
Dat_network.h75 void ProcessPhyChnlCfgNotify(struct ReportInfo reportInfo, char *srcStr);
76 int32_t ProcessCurrentCellList(struct ReportInfo reportInfo, const char *s);
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril.h49 …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/
Dsimstkproactivenotify_fuzzer.cpp38 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/
Dnewsmsnotify_fuzzer.cpp38 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/
Dhril_manager.cpp220 …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/
Dims_control.cpp343 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 …]
Dcs_control.cpp413 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/
Dhril_manager.h58 …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 …]
Dhril_base.h47 …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()
Dhril_data.h50 …int32_t ProcessDataNotify(const struct ReportInfo *reportInfo, const void *response, size_t respon…
Dhril_sim.h32 …void ProcessSimNotify(const struct ReportInfo *reportInfo, const void *response, size_t responseLe…