/base/telephony/core_service/test/unittest/esim_gtest/ |
H A D | esim_core_service_client_branch_test.cpp | 206 DownLoadConfigInfo downLoadConfigInfo; in HWTEST_F() local 208 downLoadConfigInfo.portIndex_ = 0; in HWTEST_F() 209 downLoadConfigInfo.hashCc_ = Str8ToStr16("4131423243332D583459355A36"); in HWTEST_F() 212 int32_t result = CoreServiceClient::GetInstance().PrepareDownload(slotId, downLoadConfigInfo, responseResult); in HWTEST_F()
|
H A D | esim_core_service_client_test.cpp | 181 DownLoadConfigInfo downLoadConfigInfo; in HWTEST_F() local 183 downLoadConfigInfo.portIndex_ = 0; in HWTEST_F() 184 downLoadConfigInfo.hashCc_ = Str8ToStr16("4131423243332D583459355A36"); in HWTEST_F() 186 int32_t result = CoreServiceClient::GetInstance().PrepareDownload(slotId, downLoadConfigInfo, responseResult); in HWTEST_F()
|
H A D | esim_core_service_test.cpp | 255 DownLoadConfigInfo downLoadConfigInfo; in HWTEST_F() local 256 downLoadConfigInfo.portIndex_ = 0; in HWTEST_F() 257 downLoadConfigInfo.hashCc_ = Str8ToStr16("4131423243332D583459355A36"); in HWTEST_F() 259 EXPECT_NE(mCoreService->PrepareDownload(slotId, downLoadConfigInfo, responseResult), TELEPHONY_ERR_SUCCESS); in HWTEST_F() 261 EXPECT_EQ(mCoreService->PrepareDownload(slotId, downLoadConfigInfo, responseResult), TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F()
|
H A D | esim_core_service_proxy_test.cpp | 575 DownLoadConfigInfo downLoadConfigInfo; in HWTEST_F() local 576 downLoadConfigInfo.portIndex_ = 0; in HWTEST_F() 577 downLoadConfigInfo.hashCc_ = Str8ToStr16("4131423243332D583459355A36"); in HWTEST_F() 579 EXPECT_EQ(proxy.PrepareDownload(SLOT_ID, downLoadConfigInfo, responseResult), TELEPHONY_ERR_IPC_CONNECT_STUB_FAIL); in HWTEST_F() 586 DownLoadConfigInfo downLoadConfigInfo; in HWTEST_F() local 587 downLoadConfigInfo.portIndex_ = 0; in HWTEST_F() 588 downLoadConfigInfo.hashCc_ = Str8ToStr16("4131423243332D583459355A36"); in HWTEST_F() 591 EXPECT_EQ(proxy.PrepareDownload(SLOT_ID, downLoadConfigInfo, responseResult), TELEPHONY_ERR_IPC_CONNECT_STUB_FAIL); in HWTEST_F() 598 DownLoadConfigInfo downLoadConfigInfo; in HWTEST_F() local 599 downLoadConfigInfo in HWTEST_F() [all...] |
H A D | esim_file_manager_test.cpp | 321 DownLoadConfigInfo downLoadConfigInfo; in HWTEST_F() local 322 downLoadConfigInfo.portIndex_ = 0; in HWTEST_F() 323 downLoadConfigInfo.hashCc_ = u""; in HWTEST_F() 324 ResponseEsimResult res = simFileManager.PrepareDownload(downLoadConfigInfo); in HWTEST_F() 328 res = simFileManager.PrepareDownload(downLoadConfigInfo); in HWTEST_F()
|
H A D | esim_manager_test.cpp | 416 DownLoadConfigInfo downLoadConfigInfo; in HWTEST_F() local 417 downLoadConfigInfo.portIndex_ = 0; in HWTEST_F() 418 downLoadConfigInfo.hashCc_ = Str8ToStr16("4131423243332D583459355A36"); in HWTEST_F() 422 int32_t ret = simManager->PrepareDownload(slotId, downLoadConfigInfo, responseResult); in HWTEST_F() 428 ret = simManager->PrepareDownload(slotId, downLoadConfigInfo, responseResult); in HWTEST_F() 437 ret = simManager->PrepareDownload(slotId, downLoadConfigInfo, responseResult); in HWTEST_F()
|
H A D | esim_test.cpp | 1025 DownLoadConfigInfo downLoadConfigInfo;
in HWTEST_F() local 1028 EXPECT_EQ(preDownloadResult.resultCode_, (esimFile->ObtainPrepareDownload(downLoadConfigInfo)).resultCode_);
in HWTEST_F() 1034 EXPECT_EQ(preDownloadResult.resultCode_, (esimFile->ObtainPrepareDownload(downLoadConfigInfo)).resultCode_);
in HWTEST_F()
|
/base/telephony/core_service/services/sim/include/ |
H A D | sim_file_manager.h | 110 ResponseEsimResult PrepareDownload(const DownLoadConfigInfo &downLoadConfigInfo);
|
H A D | sim_manager.h | 178 int32_t PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo,
|
H A D | esim_file.h | 98 ResponseEsimResult ObtainPrepareDownload(const DownLoadConfigInfo &downLoadConfigInfo);
|
/base/telephony/core_service/services/core/src/ |
H A D | core_service_stub.cpp | 2315 DownLoadConfigInfo downLoadConfigInfo; in OnPrepareDownload() local 2317 downLoadConfigInfo.portIndex_ = data.ReadInt32(); in OnPrepareDownload() 2318 downLoadConfigInfo.hashCc_ = data.ReadString16(); in OnPrepareDownload() 2319 downLoadConfigInfo.smdpSigned2_ = data.ReadString16(); in OnPrepareDownload() 2320 downLoadConfigInfo.smdpSignature2_ = data.ReadString16(); in OnPrepareDownload() 2321 downLoadConfigInfo.smdpCertificate_ = data.ReadString16(); in OnPrepareDownload() 2324 int32_t result = PrepareDownload(slotId, downLoadConfigInfo, responseResult); in OnPrepareDownload()
|
H A D | core_service.cpp | 1884 int32_t CoreService::PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo, in PrepareDownload() argument 1899 return simManager_->PrepareDownload(slotId, downLoadConfigInfo, responseResult); in PrepareDownload()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | core_service_client.h | 1068 * @param downLoadConfigInfo.portIndex[in], the Id of the eUICC 1069 * @param downLoadConfigInfo.hashCc[in], the hash of confirmation code. 1071 * @param downLoadConfigInfo.smdpSigned2[in], 1074 * @param downLoadConfigInfo.smdpSignature2[in], ASN.1 data in byte array indicating the SM-DP+ 1076 * @param downLoadConfigInfo.smdpCertificate[in], ASN.1 data in byte array indicating the SM-DP+ 1081 int32_t PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo,
|
H A D | i_sim_manager.h | 177 virtual int32_t PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo,
|
H A D | core_service_proxy.h | 171 int32_t PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo,
|
H A D | i_core_service.h | 185 virtual int32_t PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo,
|
/base/telephony/core_service/services/sim/src/ |
H A D | esim_file.cpp | 1530 ResponseEsimResult EsimFile::ObtainPrepareDownload(const DownLoadConfigInfo &downLoadConfigInfo)
in ObtainPrepareDownload() argument 1532 esimProfile_.portIndex = downLoadConfigInfo.portIndex_;
in ObtainPrepareDownload() 1533 esimProfile_.hashCc = downLoadConfigInfo.hashCc_;
in ObtainPrepareDownload() 1534 esimProfile_.smdpSigned2 = downLoadConfigInfo.smdpSigned2_;
in ObtainPrepareDownload() 1535 esimProfile_.smdpSignature2 = downLoadConfigInfo.smdpSignature2_;
in ObtainPrepareDownload() 1536 esimProfile_.smdpCertificate = downLoadConfigInfo.smdpCertificate_;
in ObtainPrepareDownload()
|
H A D | sim_file_manager.cpp | 1137 ResponseEsimResult SimFileManager::PrepareDownload(const DownLoadConfigInfo &downLoadConfigInfo) in PrepareDownload() argument 1143 ResponseEsimResult result = eSimFile_->ObtainPrepareDownload(downLoadConfigInfo); in PrepareDownload()
|
H A D | sim_manager.cpp | 1415 int32_t SimManager::PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo,
in PrepareDownload() argument 1422 responseResult = simFileManager_[slotId]->PrepareDownload(downLoadConfigInfo);
in PrepareDownload()
|
/base/telephony/core_service/frameworks/native/src/ |
H A D | core_service_client.cpp | 1234 int32_t CoreServiceClient::PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo, in PrepareDownload() argument 1242 return proxy->PrepareDownload(slotId, downLoadConfigInfo, responseResult); in PrepareDownload()
|
H A D | core_service_proxy.cpp | 3807 int32_t CoreServiceProxy::PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo, in PrepareDownload() argument 3819 ret = (ret && data.WriteInt32(downLoadConfigInfo.portIndex_)); in PrepareDownload() 3820 ret = (ret && data.WriteString16(downLoadConfigInfo.hashCc_)); in PrepareDownload() 3821 ret = (ret && data.WriteString16(downLoadConfigInfo.smdpSigned2_)); in PrepareDownload() 3822 ret = (ret && data.WriteString16(downLoadConfigInfo.smdpSignature2_)); in PrepareDownload() 3823 ret = (ret && data.WriteString16(downLoadConfigInfo.smdpCertificate_)); in PrepareDownload()
|
/base/telephony/core_service/services/core/include/ |
H A D | core_service.h | 295 int32_t PrepareDownload(int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo,
|
/base/telephony/core_service/test/unittest/esim_gtest/mock/include/ |
H A D | esim_core_service_stub_test.h | 636 int32_t slotId, const DownLoadConfigInfo &downLoadConfigInfo, ResponseEsimResult &responseResult) override
|