Home
last modified time | relevance | path

Searched refs:reportInfo (Results 1 – 22 of 22) 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()
121 struct ReportInfo reportInfo = {0}; in ReqSendGsmSms() local
130 HandlerSmsResult(&response, &reportInfo, requestInfo, &err, responseInfo); in ReqSendGsmSms()
138 HandlerSmsResult(&response, &reportInfo, requestInfo, &err, responseInfo); in ReqSendGsmSms()
144 HandlerSmsResult(&response, &reportInfo, requestInfo, &err, responseInfo); in ReqSendGsmSms()
149 HandlerSmsResult(&response, &reportInfo, requestInfo, &err, responseInfo); in ReqSendGsmSms()
153 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()
285 struct ReportInfo reportInfo = CreateReportInfo(requestInfo, *ret, HRIL_RESPONSE, 0); in HandlerSimIOResult() local
288 OnSimReport(GetSlotId(requestInfo), reportInfo, NULL, 0); in HandlerSimIOResult()
303 OnSimReport(GetSlotId(requestInfo), reportInfo, NULL, 0); in HandlerSimIOResult()
305 …OnSimReport(GetSlotId(requestInfo), reportInfo, (const uint8_t *)simResponse, sizeof(HRilSimIOResp… in HandlerSimIOResult()
[all …]
Dat_call.c45 struct ReportInfo reportInfo = CreateReportInfo(requestInfo, errorNo, HRIL_RESPONSE, 0); in OnCallReportErrorMessages() local
46 reportInfo.modemErrInfo = errInfo; in OnCallReportErrorMessages()
47 OnCallReport(GetSlotId(requestInfo), reportInfo, NULL, 0); in OnCallReportErrorMessages()
143 …struct ReportInfo reportInfo = CreateReportInfo(&requestInfo, err, HRIL_NOTIFICATION, HNOTI_CALL_S… in ReportCallStateUpdated() local
144 reportInfo.modemErrInfo = errInfo; in ReportCallStateUpdated()
145 OnCallReport(GetSlotId(NULL), reportInfo, NULL, 0); in ReportCallStateUpdated()
163 struct ReportInfo reportInfo = in ReportSrvccStatusUpdate() local
165 reportInfo.modemErrInfo = errInfo; in ReportSrvccStatusUpdate()
166 …OnCallReport(GetSlotId(NULL), reportInfo, (const uint8_t *)&srvccStatus, sizeof(HRilCallSrvccStatu… in ReportSrvccStatusUpdate()
190 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 …]
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()
536 struct ReportInfo reportInfo = {}; in DataReportMessage() local
[all …]
Dvendor_adapter.c200 struct ReportInfo reportInfo; in SetRadioState() local
201 (void)memset_s(&reportInfo, sizeof(struct ReportInfo), 0, sizeof(struct ReportInfo)); in SetRadioState()
229 reportInfo.notifyId = HNOTI_MODEM_RADIO_STATE_UPDATED; in SetRadioState()
230 reportInfo.type = HRIL_NOTIFICATION; in SetRadioState()
231 reportInfo.error = HRIL_ERR_SUCCESS; in SetRadioState()
232 …OnModemReport(GetSlotId(NULL), reportInfo, (const uint8_t *)&g_radioState, sizeof(HRilRadioState)); in SetRadioState()
318 struct ReportInfo reportInfo = { 0 }; in ModemInit() local
319 reportInfo.notifyId = HNOTI_MODEM_RADIO_STATE_UPDATED; in ModemInit()
320 reportInfo.type = HRIL_NOTIFICATION; in ModemInit()
321 reportInfo.error = HRIL_ERR_SUCCESS; in ModemInit()
[all …]
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dfan_fault_detect.cpp59 std::string reportInfo = FormatReportInfo(report, config); in CheckFanTooSlow() local
60 THERMAL_HILOGE(COMP_SVC, "fan is slow, %{public}s", reportInfo.c_str()); in CheckFanTooSlow()
61 WriteFanFaultEvent(FAN_FAULT_TOO_SLOW, reportInfo); in CheckFanTooSlow()
82 std::string reportInfo = FormatReportInfo(report, config); in CheckFanTooFast() local
83 THERMAL_HILOGE(COMP_SVC, "fan is fast, %{public}s", reportInfo.c_str()); in CheckFanTooFast()
84 WriteFanFaultEvent(FAN_FAULT_TOO_FAST, reportInfo); in CheckFanTooFast()
120 std::string reportInfo = "Report"; in FormatReportInfo() local
122 reportInfo += " "; in FormatReportInfo()
123 reportInfo += sensorInfo.first; in FormatReportInfo()
124 reportInfo += ":"; in FormatReportInfo()
[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.cpp239 …OnReport(std::vector<std::unique_ptr<T>> &subModules, int32_t slotId, const ReportInfo *reportInfo, in OnReport() argument
242 if (reportInfo == nullptr) { in OnReport()
250 switch (reportInfo->type) { in OnReport()
252 ReqDataInfo *reqInfo = (ReqDataInfo *)reportInfo->requestInfo; in OnReport()
260 responseInfo.error = (HRilErrType)reportInfo->error; in OnReport()
262 if (HRIL_NEED_ACK == reportInfo->ack) { in OnReport()
273 auto iter = notificationMap_.find(reportInfo->notifyId); in OnReport()
275 …TELEPHONY_LOGI("OnReport notifyId:%{public}d, value:%{public}d", reportInfo->notifyId, iter->secon… in OnReport()
281 … subModules[slotId]->template ProcessNotify<T>(notifyType, reportInfo, response, responseLen); in OnReport()
290 int32_t slotId, const ReportInfo *reportInfo, const uint8_t *response, size_t responseLen) in OnCallReport() argument
[all …]
/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…
225 …OnReport(std::vector<std::unique_ptr<T>> &subModules, int32_t slotId, const ReportInfo *reportInfo,
250 void OnCallReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t res…
251 void OnDataReport(int32_t slotId, struct ReportInfo reportInfo, const uint8_t *response, size_t res…
252 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.h52 …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…
/base/telephony/cellular_call/services/control/src/
Dims_control.cpp368 CallReportInfo reportInfo = it.second.GetCallReportInfo(); in ReportHungUpInfo() local
369 reportInfo.state = TelCallState::CALL_STATUS_DISCONNECTED; in ReportHungUpInfo()
370 reportInfo.accountId = slotId; in ReportHungUpInfo()
371 callsReportInfo.callVec.push_back(reportInfo); in ReportHungUpInfo()
395 … CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, imsCurrentCallInfoList.calls[i]); in ReportIncomingInfo() local
401 connection.SetOrUpdateCallReportInfo(reportInfo); in ReportIncomingInfo()
404 callsReportInfo.callVec.push_back(reportInfo); in ReportIncomingInfo()
425 CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, callInfoList.calls[i]); in ReportUpdateInfo() local
430 connection.SetOrUpdateCallReportInfo(reportInfo); in ReportUpdateInfo()
440 pConnection->SetOrUpdateCallReportInfo(reportInfo); in ReportUpdateInfo()
[all …]
Dcs_control.cpp420 CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, callInfoList.calls[i]); in ReportUpdateInfo() local
426 connection.SetOrUpdateCallReportInfo(reportInfo); in ReportUpdateInfo()
435 pConnection->SetOrUpdateCallReportInfo(reportInfo); in ReportUpdateInfo()
444 callsReportInfo.callVec.push_back(reportInfo); in ReportUpdateInfo()