/base/telephony/core_service/services/sim/src/ |
H A D | icc_operator_privilege_controller.cpp | 331 ApduSimIORequestInfo reqInfo; in ProcessOpenLogicalChannelDone() local 332 reqInfo.channelId = state_->currentChannelId; in ProcessOpenLogicalChannelDone() 333 reqInfo.type = CLA; in ProcessOpenLogicalChannelDone() 334 reqInfo.instruction = COMMAND; in ProcessOpenLogicalChannelDone() 335 reqInfo.p1 = P1; in ProcessOpenLogicalChannelDone() 336 reqInfo.p2 = P2; in ProcessOpenLogicalChannelDone() 337 reqInfo.p3 = P3; in ProcessOpenLogicalChannelDone() 338 reqInfo.data = ""; in ProcessOpenLogicalChannelDone() 339 telRilManager_->SimTransmitApduLogicalChannel(slotId_, reqInfo, transmitEvent); in ProcessOpenLogicalChannelDone() 363 ApduSimIORequestInfo reqInfo; in ProcessTransmitLogicalChannelDone() local [all...] |
H A D | esim_file.cpp | 766 ApduSimIORequestInfo reqInfo;
in ProcessDisableProfile() local 767 CommBuildOneApduReqInfo(reqInfo, builder);
in ProcessDisableProfile() 771 int32_t apduResult = telRilManager_->SimTransmitApduLogicalChannel(slotId, reqInfo, responseEvent);
in ProcessDisableProfile() 788 ApduSimIORequestInfo reqInfo;
in ProcessObtainSmdsAddress() local 789 CommBuildOneApduReqInfo(reqInfo, builder);
in ProcessObtainSmdsAddress() 793 int32_t apduResult = telRilManager_->SimTransmitApduLogicalChannel(slotId, reqInfo, responseEvent);
in ProcessObtainSmdsAddress() 806 ApduSimIORequestInfo reqInfo;
in ProcessRequestRulesAuthTable() local 807 CommBuildOneApduReqInfo(reqInfo, builder);
in ProcessRequestRulesAuthTable() 811 int32_t apduResult = telRilManager_->SimTransmitApduLogicalChannel(slotId, reqInfo, responseEvent);
in ProcessRequestRulesAuthTable() 828 ApduSimIORequestInfo reqInfo;
in ProcessObtainEuiccChallenge() local 1104 ApduSimIORequestInfo reqInfo; ProcessObtainDefaultSmdpAddress() local 1135 ApduSimIORequestInfo reqInfo; ProcessGetProfile() local 1183 ApduSimIORequestInfo reqInfo; ProcessCancelSession() local 1341 ApduSimIORequestInfo reqInfo; ProcessEstablishDefaultSmdpAddress() local 1433 ApduSimIORequestInfo reqInfo; ProcessResetMemory() local 1483 ApduSimIORequestInfo reqInfo; ProcessSendApduData() local 1656 ApduSimIORequestInfo reqInfo; SplitSendLongData() local 1678 ApduSimIORequestInfo reqInfo; ProcessIfNeedMoreResponse() local 1877 ApduSimIORequestInfo reqInfo; ProcessLoadBoundProfilePackage() local 2025 ApduSimIORequestInfo reqInfo; ProcessListNotifications() local 2233 ApduSimIORequestInfo reqInfo; ProcessRetrieveNotificationList() local 2309 ApduSimIORequestInfo reqInfo; ProcessRetrieveNotification() local 2394 ApduSimIORequestInfo reqInfo; ProcessRemoveNotification() local 2509 ApduSimIORequestInfo reqInfo; ProcessDeleteProfile() local 2538 ApduSimIORequestInfo reqInfo; ProcessSetNickname() local 2593 ApduSimIORequestInfo reqInfo; ProcessSwitchToProfile() local 2709 ApduSimIORequestInfo reqInfo; ProcessObtainEuiccInfo2() local [all...] |
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
H A D | ril_sim_test.cpp | 389 ApduSimIORequestInfo reqInfo; in HWTEST_F() local 390 reqInfo.channelId = RilTestUtil::GetCallback()->GetCurrentChannelId(); in HWTEST_F() 391 reqInfo.type = 0x80; // CLA in HWTEST_F() 392 reqInfo.instruction = 0xCA; // COMMAND; in HWTEST_F() 393 reqInfo.p1 = 0xFF; in HWTEST_F() 394 reqInfo.p2 = 0x40; in HWTEST_F() 395 reqInfo.p3 = 0x00; in HWTEST_F() 396 reqInfo.data = ""; in HWTEST_F() 397 int32_t ret = g_rilInterface->SimTransmitApduLogicalChannel(SLOTID_1, RilTestUtil::GetSerialId(), reqInfo); in HWTEST_F() 448 ApduSimIORequestInfo reqInfo; in HWTEST_F() local 489 ApduSimIORequestInfo reqInfo; HWTEST_F() local 512 ApduSimIORequestInfo reqInfo; HWTEST_F() local [all...] |
/base/telephony/core_service/services/tel_ril/src/ |
H A D | tel_ril_sim.cpp | 443 const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) in SimTransmitApduLogicalChannel() 446 BuildApduRequestInfo(ApduRequestInfo, reqInfo); in SimTransmitApduLogicalChannel() 452 const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) in SimTransmitApduBasicChannel() 455 BuildApduRequestInfo(ApduRequestInfo, reqInfo); in SimTransmitApduBasicChannel() 461 const SimAuthenticationRequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) in SimAuthentication() 464 simAuthInfo.serial = reqInfo.serial; in SimAuthentication() 465 simAuthInfo.aid = reqInfo.aid; in SimAuthentication() 466 simAuthInfo.authData = reqInfo.authData; in SimAuthentication() 477 const NcfgOperatorInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) in SendSimMatchedOperatorInfo() 480 ncfgOperatorInfo.operName = reqInfo in SendSimMatchedOperatorInfo() 442 SimTransmitApduLogicalChannel( const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) SimTransmitApduLogicalChannel() argument 451 SimTransmitApduBasicChannel( const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) SimTransmitApduBasicChannel() argument 460 SimAuthentication( const SimAuthenticationRequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) SimAuthentication() argument 476 SendSimMatchedOperatorInfo( const NcfgOperatorInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) SendSimMatchedOperatorInfo() argument 568 BuildApduRequestInfo( OHOS::HDI::Ril::V1_1::ApduSimIORequestInfo &ApduRequestInfo, const ApduSimIORequestInfo &reqInfo) BuildApduRequestInfo() argument [all...] |
H A D | tel_ril_manager.cpp | 922 int32_t slotId, const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) in SimTransmitApduLogicalChannel() 925 response, "TelRilSim", GetTelRilSim(slotId), &TelRilSim::SimTransmitApduLogicalChannel, reqInfo); in SimTransmitApduLogicalChannel() 929 int32_t slotId, const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) in SimTransmitApduBasicChannel() 931 return TaskSchedule(response, "TelRilSim", GetTelRilSim(slotId), &TelRilSim::SimTransmitApduBasicChannel, reqInfo); in SimTransmitApduBasicChannel() 935 int32_t slotId, const SimAuthenticationRequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) in SimAuthentication() 937 return TaskSchedule(response, "TelRilSim", GetTelRilSim(slotId), &TelRilSim::SimAuthentication, reqInfo); in SimAuthentication() 947 int32_t slotId, const NcfgOperatorInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) in SendSimMatchedOperatorInfo() 949 return TaskSchedule(response, "TelRilSim", GetTelRilSim(slotId), &TelRilSim::SendSimMatchedOperatorInfo, reqInfo); in SendSimMatchedOperatorInfo() 921 SimTransmitApduLogicalChannel( int32_t slotId, const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) SimTransmitApduLogicalChannel() argument 928 SimTransmitApduBasicChannel( int32_t slotId, const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) SimTransmitApduBasicChannel() argument 934 SimAuthentication( int32_t slotId, const SimAuthenticationRequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) SimAuthentication() argument 946 SendSimMatchedOperatorInfo( int32_t slotId, const NcfgOperatorInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) SendSimMatchedOperatorInfo() argument
|
/base/telephony/core_service/services/tel_ril/include/ |
H A D | tel_ril_sim.h | 62 const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response); 64 const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response); 66 const SimAuthenticationRequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response); 69 const NcfgOperatorInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response); 130 OHOS::HDI::Ril::V1_1::ApduSimIORequestInfo &ApduRequestInfo, const ApduSimIORequestInfo &reqInfo);
|
H A D | tel_ril_manager.h | 277 int32_t slotId, const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) override; 279 int32_t slotId, const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) override; 280 int32_t SimAuthentication(int32_t slotId, const SimAuthenticationRequestInfo &reqInfo, 282 int32_t SendSimMatchedOperatorInfo(int32_t slotId, const NcfgOperatorInfo &reqInfo,
|
/base/telephony/ril_adapter/test/unittest/ |
H A D | ril_interface_test.cpp | 1158 void RilInterfaceTest::InputTransmitApduChannelParam(ApduSimIORequestInfo &reqInfo)
in InputTransmitApduChannelParam() argument 1161 cin >> reqInfo.channelId;
in InputTransmitApduChannelParam() 1163 cin >> reqInfo.type;
in InputTransmitApduChannelParam() 1165 cin >> reqInfo.instruction;
in InputTransmitApduChannelParam() 1167 cin >> reqInfo.p1;
in InputTransmitApduChannelParam() 1169 cin >> reqInfo.p2;
in InputTransmitApduChannelParam() 1171 cin >> reqInfo.p3;
in InputTransmitApduChannelParam() 1177 ApduSimIORequestInfo reqInfo = ApduSimIORequestInfo();
in SimTransmitApduLogicalChannelTest() local 1178 InputTransmitApduChannelParam(reqInfo);
in SimTransmitApduLogicalChannelTest() 1179 int32_t ret = g_rilInterface->SimTransmitApduLogicalChannel(slotId, GetSerialId(), reqInfo);
in SimTransmitApduLogicalChannelTest() 1186 ApduSimIORequestInfo reqInfo = ApduSimIORequestInfo(); SimTransmitApduBasicChannelTest() local 1195 SimAuthenticationRequestInfo reqInfo = SimAuthenticationRequestInfo(); SimAuthenticationTest() local 1214 NcfgOperatorInfo reqInfo = NcfgOperatorInfo(); SendSimMatchedOperatorInfoTest() local [all...] |
/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | i_tel_ril_manager.h | 255 int32_t slotId, const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) = 0; 257 int32_t slotId, const ApduSimIORequestInfo &reqInfo, const AppExecFwk::InnerEvent::Pointer &response) = 0; 258 virtual int32_t SimAuthentication(int32_t slotId, const SimAuthenticationRequestInfo &reqInfo, 260 virtual int32_t SendSimMatchedOperatorInfo(int32_t slotId, const NcfgOperatorInfo &reqInfo,
|
/base/telephony/ril_adapter/test/unittest/include/ |
H A D | ril_interface_test.h | 137 void InputTransmitApduChannelParam(OHOS::HDI::Ril::V1_1::ApduSimIORequestInfo &reqInfo);
|
/base/telephony/core_service/services/tel_ril/test/ |
H A D | tel_ril_test.cpp | 368 ApduSimIORequestInfo reqInfo; in OnRequestTransmitApduLogicalChannelTest() local 369 telRilManager_->SimTransmitApduLogicalChannel(slotId, reqInfo, event); in OnRequestTransmitApduLogicalChannelTest() 387 ApduSimIORequestInfo reqInfo; in OnRequestTransmitApduBasicChannelTest() local 388 telRilManager_->SimTransmitApduBasicChannel(slotId, reqInfo, event); in OnRequestTransmitApduBasicChannelTest() 421 SimAuthenticationRequestInfo reqInfo; in OnRequestSimAuthenticationTest() local 422 reqInfo.serial = authType; in OnRequestSimAuthenticationTest() 423 reqInfo.aid = aid; in OnRequestSimAuthenticationTest() 424 reqInfo.authData = authData; in OnRequestSimAuthenticationTest() 425 int ret = telRilManager_->SimAuthentication(slotId, reqInfo, event); in OnRequestSimAuthenticationTest() 445 NcfgOperatorInfo reqInfo in OnRequestSendSimMatchedOperatorInfoTest() local [all...] |
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_manager.cpp | 277 ReqDataInfo *reqInfo = (ReqDataInfo *)reportInfo->requestInfo; in ReportResponse() local 278 if (reqInfo == nullptr) { in ReportResponse() 279 TELEPHONY_LOGE("reqInfo is null!!!"); in ReportResponse() 282 auto iter = requestEventMap_.find(reqInfo->request); in ReportResponse() 284 TELEPHONY_LOGI("requestId:%{public}d, event:%{public}s", reqInfo->request, iter->second.c_str()); in ReportResponse() 286 TELEPHONY_LOGD("requestId:%{public}d", reqInfo->request); in ReportResponse() 289 responseInfo.serial = reqInfo->serial; in ReportResponse() 296 int32_t requestId = reqInfo->request; in ReportResponse() 297 ReleaseHRilRequest(requestId, reqInfo); in ReportResponse()
|
/base/telephony/core_service/services/sim/include/ |
H A D | esim_file.h | 124 void CommBuildOneApduReqInfo(ApduSimIORequestInfo &reqInfo, std::shared_ptr<Asn1Builder> &builder);
|
/base/telephony/core_service/test/unittest/esim_gtest/ |
H A D | esim_test.cpp | 285 ApduSimIORequestInfo reqInfo;
in HWTEST_F() local 287 esimFile->CommBuildOneApduReqInfo(reqInfo, builder);
in HWTEST_F()
|