!869 send sim matched operator info xts hats

Merge pull request !869 from xieyao_whu/master
This commit is contained in:
openharmony_ci 2023-11-08 13:37:47 +00:00 committed by Gitee
commit f8fcfec289
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -112,6 +112,7 @@ enum class HdiId {
HREQ_SIM_TRANSMIT_APDU_BASIC_CHANNEL,
HREQ_SIM_AUTHENTICATION,
HREQ_SIM_UNLOCK_SIM_LOCK,
HREQ_SIM_SEND_NCFG_OPER_INFO,
HREQ_DATA_BASE = 300,
HREQ_DATA_SET_INIT_APN_INFO,
@ -368,6 +369,7 @@ public:
int32_t SimAuthenticationResponse(
const RilRadioResponseInfo &responseInfo, const IccIoResultInfo &result) override;
int32_t UnlockSimLockResponse(const RilRadioResponseInfo &responseInfo, const LockStatusResp &lockStatus) override;
int32_t SendSimMatchedOperatorInfoResponse(const RilRadioResponseInfo &responseInfo) override;
// Network
int32_t NetworkCsRegStatusUpdated(const RilRadioResponseInfo &responseInfo,
@ -834,6 +836,15 @@ int32_t RilCallback::UnlockSimLockResponse(const RilRadioResponseInfo &responseI
return 0;
}
int32_t RilCallback::SendSimMatchedOperatorInfoResponse(const RilRadioResponseInfo &responseInfo)
{
HDF_LOGI("GetBoolResult SendSimMatchedOperatorInfo result");
hdiId_ = HdiId::HREQ_SIM_SEND_NCFG_OPER_INFO;
resultInfo_ = responseInfo;
NotifyAll();
return 0;
}
// Network
int32_t RilCallback::NetworkCsRegStatusUpdated(const RilRadioResponseInfo &responseInfo,
const CsRegStatusInfo &csRegStatusInfo)