Home
last modified time | relevance | path

Searched refs:iccId (Results 1 - 25 of 52) sorted by relevance

123

/base/telephony/core_service/interfaces/innerkits/include/
H A Dsim_state_type.h352 std::u16string iccId = u""; member
371 this->iccId = DEFAULT_ICC_ID; in Init()
388 this->iccId = id; in SetIccId()
415 if (!parcel.WriteString16(iccId)) { in Marshalling()
442 parcel.ReadString16(iccId); in ReadFromParcel()
H A Desim_service_client.h133 * @param iccId[in], the iccId of the profile.
137 int32_t DeleteProfile(int32_t slotId, const std::string &iccId, int32_t &deleteProfileResult);
144 * @param iccId[in], the iccId of the profile.
151 const std::string &iccId, bool forceDisableProfile, int32_t &switchToProfileResult);
157 * @param iccId[in], the iccId of the profile.
163 int32_t slotId, const std::string &iccId, const std::string &nickname, int32_t &setProfileNicknameResult);
H A Dcore_service_client.h235 * @param iccId[out], the integrated circuit card identity of the SIM card
238 int32_t GetSimIccId(int32_t slotId, std::u16string &iccId);
954 * @param iccId[in], the iccId of the profile
960 int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool refresh, ResultState &enumResult);
1018 * @param iccId[in], the iccId of the profile
1022 int32_t GetProfile(int32_t slotId, int32_t portIndex, const std::u16string &iccId, EuiccProfile &eUiccProfile);
1146 * @param iccId[in], the iccId o
[all...]
H A Di_sim_manager.h106 virtual int32_t GetSimIccId(int32_t slotId, std::u16string &iccId) = 0;
160 int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool refresh, ResultState &enumResult) = 0;
170 int32_t slotId, int32_t portIndex, const std::u16string &iccId, EuiccProfile &eUiccProfile) = 0;
189 virtual int32_t DeleteProfile(int32_t slotId, const std::u16string &iccId, ResultState &enumResult) = 0;
191 const std::u16string &iccId, bool forceDisableProfile, ResultState &enumResult) = 0;
193 int32_t slotId, const std::u16string &iccId, const std::u16string &nickname, ResultState &enumResult) = 0;
H A Dcore_service_proxy.h56 int32_t GetSimIccId(int32_t slotId, std::u16string &iccId) override;
153 int32_t DisableProfile(int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool refresh,
163 int32_t GetProfile(int32_t slotId, int32_t portIndex, const std::u16string &iccId,
183 int32_t DeleteProfile(int32_t slotId, const std::u16string &iccId, ResultState &enumResult) override;
184 int32_t SwitchToProfile(int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool forceDisableProfile,
187 int32_t slotId, const std::u16string &iccId, const std::u16string &nickname, ResultState &enumResult) override;
/base/telephony/core_service/test/unittest/esim_gtest/
H A Desim_core_service_test.cpp93 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
97 slotId, portIndex, iccId, refresh, disableProfileResult), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
100 slotId, portIndex, iccId, refresh, disableProfileResult), TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F()
183 std::u16string iccId = Str8ToStr16("5A0A89670000000000216954"); in HWTEST_F() local
186 slotId, portIndex, iccId, eUiccProfile), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
189 slotId, portIndex, iccId, eUiccProfile), TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F()
353 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
355 EXPECT_NE(mCoreService->DeleteProfile(slotId, iccId, deleteProfileResult), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
358 EXPECT_EQ(mCoreService->DeleteProfile(slotId, iccId, deleteProfileResult), TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F()
368 std::u16string iccId in HWTEST_F() local
385 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
[all...]
H A Desim_core_service_client_branch_test.cpp93 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
98 CoreServiceClient::GetInstance().DisableProfile(slotId, portIndex, iccId, refresh, disableProfileResult); in HWTEST_F()
157 std::u16string iccId = Str8ToStr16("5A0A89670000000000216954"); in HWTEST_F() local
160 int32_t result = CoreServiceClient::GetInstance().GetProfile(slotId, portIndex, iccId, eUiccProfile); in HWTEST_F()
280 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
283 int32_t result = CoreServiceClient::GetInstance().DeleteProfile(slotId, iccId, DeleteProfileResult); in HWTEST_F()
291 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
296 slotId, portIndex, iccId, forceDisableProfile, SwitchProfileResult); in HWTEST_F()
303 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
307 int32_t result = CoreServiceClient::GetInstance().SetProfileNickname(slotId, iccId, nicknam in HWTEST_F()
[all...]
H A Desim_core_service_client_test.cpp79 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
83 slotId, portIndex, iccId, refresh, disableProfileResult); in HWTEST_F()
137 std::u16string iccId = Str8ToStr16("5A0A89670000000000216954"); in HWTEST_F() local
139 int32_t result = CoreServiceClient::GetInstance().GetProfile(slotId, portIndex, iccId, eUiccProfile); in HWTEST_F()
247 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
249 int32_t result = CoreServiceClient::GetInstance().DeleteProfile(slotId, iccId, DeleteProfileResult); in HWTEST_F()
257 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
261 slotId, portIndex, iccId, forceDisableProfile, SwitchProfileResult); in HWTEST_F()
268 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
271 int32_t result = CoreServiceClient::GetInstance().SetProfileNickname(slotId, iccId, nicknam in HWTEST_F()
[all...]
H A Desim_core_service_proxy_test.cpp210 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
213 int32_t ret = proxy.DisableProfile(SLOT_ID, portIndex, iccId, refresh, DisableProfileResult); in HWTEST_F()
222 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
226 int32_t ret = proxy.DisableProfile(SLOT_ID, portIndex, iccId, refresh, DisableProfileResult); in HWTEST_F()
235 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
239 int32_t ret = proxy.DisableProfile(SLOT_ID, portIndex, iccId, refresh, DisableProfileResult); in HWTEST_F()
418 std::u16string iccId; in HWTEST_F() local
420 int32_t ret = proxy.GetProfile(SLOT_ID, portIndex, iccId, eUiccProfile); in HWTEST_F()
429 std::u16string iccId; in HWTEST_F() local
432 int32_t ret = proxy.GetProfile(SLOT_ID, portIndex, iccId, eUiccProfil in HWTEST_F()
441 std::u16string iccId; HWTEST_F() local
787 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
798 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
810 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
823 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
836 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
850 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
863 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
875 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
888 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
[all...]
H A Desim_file_manager_test.cpp111 std::u16string iccId = u""; in HWTEST_F() local
112 ResultState res = simFileManager.DisableProfile(portIndex, iccId); in HWTEST_F()
115 res = simFileManager.DisableProfile(portIndex, iccId); in HWTEST_F()
226 std::u16string iccId = u""; in HWTEST_F() local
227 EuiccProfile res = simFileManager.GetProfile(portIndex, iccId); in HWTEST_F()
230 res = simFileManager.GetProfile(portIndex, iccId); in HWTEST_F()
443 std::u16string iccId = u""; in HWTEST_F() local
444 ResultState res = simFileManager.DeleteProfile(iccId); in HWTEST_F()
447 res = simFileManager.DeleteProfile(iccId); in HWTEST_F()
463 std::u16string iccId in HWTEST_F() local
483 std::u16string iccId = u""; HWTEST_F() local
[all...]
H A Desim_service_client_branch_test.cpp150 std::string iccId = "98760000000000543210"; in HWTEST_F() local
155 int32_t result = EsimServiceClient::GetInstance().DeleteProfile(SLOT_ID, iccId, deleteProfileResult); in HWTEST_F()
162 std::string iccId = "98760000000000543210"; in HWTEST_F() local
169 SLOT_ID, portIndex, iccId, forceDisableProfile, switchToProfileResult); in HWTEST_F()
175 std::string iccId = "98760000000000543210"; in HWTEST_F() local
182 SLOT_ID, iccId, nickname, setProfileNicknameResult); in HWTEST_F()
H A Desim_manager_test.cpp134 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
139 int32_t ret = simManager->DisableProfile(slotId, portIndex, iccId, refresh, DisableProfileResult); in HWTEST_F()
146 ret = simManager->DisableProfile(slotId, portIndex, iccId, refresh, DisableProfileResult); in HWTEST_F()
156 ret = simManager->DisableProfile(slotId, portIndex, iccId, refresh, DisableProfileResult); in HWTEST_F()
301 std::u16string iccId = Str8ToStr16("5A0A89670000000000216954"); in HWTEST_F() local
305 int32_t ret = simManager->GetProfile(slotId, portIndex, iccId, eUiccProfile); in HWTEST_F()
312 ret = simManager->GetProfile(slotId, portIndex, iccId, eUiccProfile); in HWTEST_F()
322 ret = simManager->GetProfile(slotId, portIndex, iccId, eUiccProfile); in HWTEST_F()
585 std::u16string iccId = Str8ToStr16("98760000000000543210"); in HWTEST_F() local
589 int32_t ret = simManager->DeleteProfile(slotId, iccId, DeleteProfileResul in HWTEST_F()
614 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
643 std::u16string iccId = Str8ToStr16("98760000000000543210"); HWTEST_F() local
[all...]
/base/telephony/core_service/services/sim/src/
H A Dicc_file.cpp639 void IccFile::SwapPairsForIccId(std::string &iccId) in SwapPairsForIccId() argument
641 if (iccId.empty() || iccId.length() < LENGTH_TWO) { in SwapPairsForIccId()
645 for (size_t i = 0; i < iccId.length() - 1; i += DATA_STEP) { in SwapPairsForIccId()
646 if (iccId[i + 1] > '9') { in SwapPairsForIccId()
649 result += iccId[i + 1]; in SwapPairsForIccId()
650 if (iccId[i] == 'F') { in SwapPairsForIccId()
653 if (iccId[i] > '9') { in SwapPairsForIccId()
656 result += iccId[i]; in SwapPairsForIccId()
658 iccId in SwapPairsForIccId()
661 GetFullIccid(std::string &iccId) GetFullIccid() argument
[all...]
H A Dsim_file_manager.cpp297 TELEPHONY_LOGD("obtain dec iccId result:%{public}s ", (result.empty() ? "false" : "true")); in GetSimDecIccId()
714 std::string iccId = simFile_->ObtainIccId(); in IsCTSimCard() local
715 if (!iccId.empty() && iccId.length() >= ICCID_LEN_MINIMUM) { in IsCTSimCard()
716 iccId.resize(ICCID_LEN_MINIMUM); in IsCTSimCard()
718 if (isCTCardType && IsCTIccId(iccId)) { in IsCTSimCard()
730 if (!iccId.empty()) { in IsCTSimCard()
732 if (!iccId.compare(GC_ICCID)) { in IsCTSimCard()
736 if (!plmn.compare(ROAMING_CPLMN) && IsCTIccId(iccId)) { in IsCTSimCard()
761 bool SimFileManager::IsCTIccId(std::string iccId) in IsCTIccId() argument
1027 DisableProfile(int32_t portIndex, const std::u16string &iccId) DisableProfile() argument
1087 GetProfile(int32_t portIndex, const std::u16string &iccId) GetProfile() argument
1195 DeleteProfile(const std::u16string &iccId) DeleteProfile() argument
1205 SwitchToProfile(int32_t portIndex, const std::u16string &iccId, bool forceDisableProfile) SwitchToProfile() argument
1215 SetProfileNickname(const std::u16string &iccId, const std::u16string &nickname) SetProfileNickname() argument
[all...]
H A Dmulti_sim_controller.cpp242 if (localCacheInfo_[i].iccId.empty()) { in IsAllCardsLoaded()
271 if (!simRdbInfo.iccId.empty()) { // already have this card, reactive it in InitIccId()
318 values.Put(SimData::CARD_ID, iccidObj); // iccId == cardId by now in InsertData()
385 emptyUnit.iccId = ""; in SortCache()
434 iccAccountInfo_.iccId = Str8ToStr16(it->iccId); in RefreshActiveIccAccountInfoList()
651 if (localCacheInfo_[slotId].iccId.empty()) { in GetSimAccountInfo()
662 info.iccId = Str8ToStr16(localCacheInfo_[slotId].iccId); in GetSimAccountInfo()
950 std::string iccId in SavePrimarySlotIdInfo() local
1124 GetTargetIccId(int32_t slotId, std::string &iccId) GetTargetIccId() argument
[all...]
/base/telephony/core_service/frameworks/native/src/
H A Desim_service_client.cpp233 int32_t EsimServiceClient::DeleteProfile(int32_t slotId, const std::string &iccId, int32_t &deleteProfileResult) in DeleteProfile() argument
240 return proxy->DeleteProfile(slotId, iccId, deleteProfileResult); in DeleteProfile()
244 const std::string &iccId, bool forceDisableProfile, int32_t &switchToProfileResult) in SwitchToProfile()
251 return proxy->SwitchToProfile(slotId, portIndex, iccId, forceDisableProfile, switchToProfileResult); in SwitchToProfile()
254 int32_t EsimServiceClient::SetProfileNickname(int32_t slotId, const std::string &iccId, in SetProfileNickname() argument
262 return proxy->SetProfileNickname(slotId, iccId, nickname, setProfileNicknameResult); in SetProfileNickname()
243 SwitchToProfile(int32_t slotId, int32_t portIndex, const std::string &iccId, bool forceDisableProfile, int32_t &switchToProfileResult) SwitchToProfile() argument
H A Dcore_service_client.cpp322 int32_t CoreServiceClient::GetSimIccId(int32_t slotId, std::u16string &iccId) in GetSimIccId() argument
329 return proxy->GetSimIccId(slotId, iccId); in GetSimIccId()
1118 int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool refresh, ResultState &enumResult) in DisableProfile()
1125 return proxy->DisableProfile(slotId, portIndex, iccId, refresh, enumResult); in DisableProfile()
1182 int32_t slotId, int32_t portIndex, const std::u16string &iccId, EuiccProfile &eUiccProfile) in GetProfile()
1189 return proxy->GetProfile(slotId, portIndex, iccId, eUiccProfile); in GetProfile()
1300 int32_t CoreServiceClient::DeleteProfile(int32_t slotId, const std::u16string &iccId, ResultState &enumResult) in DeleteProfile() argument
1307 return proxy->DeleteProfile(slotId, iccId, enumResult); in DeleteProfile()
1311 int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool forceDisableProfile, ResultState &enumResult) in SwitchToProfile()
1318 return proxy->SwitchToProfile(slotId, portIndex, iccId, forceDisableProfil in SwitchToProfile()
1117 DisableProfile( int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool refresh, ResultState &enumResult) DisableProfile() argument
1181 GetProfile( int32_t slotId, int32_t portIndex, const std::u16string &iccId, EuiccProfile &eUiccProfile) GetProfile() argument
1310 SwitchToProfile( int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool forceDisableProfile, ResultState &enumResult) SwitchToProfile() argument
1321 SetProfileNickname( int32_t slotId, const std::u16string &iccId, const std::u16string &nickname, ResultState &enumResult) SetProfileNickname() argument
[all...]
/base/telephony/core_service/services/sim/include/
H A Dsim_file_manager.h99 ResultState DisableProfile(int32_t portIndex, const std::u16string &iccId);
105 EuiccProfile GetProfile(int32_t portIndex, const std::u16string &iccId);
116 ResultState DeleteProfile(const std::u16string &iccId);
117 ResultState SwitchToProfile(int32_t portIndex, const std::u16string &iccId, bool forceDisableProfile);
118 ResultState SetProfileNickname(const std::u16string &iccId, const std::u16string &nickname);
148 bool IsCTIccId(std::string iccId);
H A Dsim_rdb_info.h28 std::string iccId; member in OHOS::Telephony::SimRdbInfo
H A Dsim_rdb_helper.h51 int32_t QueryDataByIccId(std::string iccId, SimRdbInfo &simBean);
55 int32_t UpdateDataByIccId(std::string iccId, const DataShare::DataShareValuesBucket &values);
H A Dsim_manager.h109 int32_t GetSimIccId(int32_t slotId, std::u16string &iccId) override;
163 int32_t slotId, int32_t portIndex, const std::u16string &iccId, bool refresh, ResultState &enumResult) override;
171 int32_t slotId, int32_t portIndex, const std::u16string &iccId, EuiccProfile &eUiccProfile) override;
193 int32_t DeleteProfile(int32_t slotId, const std::u16string &iccId, ResultState &enumResult) override;
194 int32_t SwitchToProfile(int32_t slotId, int32_t portIndex, const std::u16string &iccId,
197 int32_t slotId, const std::u16string &iccId, const std::u16string &nickname, ResultState &enumResult) override;
/base/telephony/core_service/frameworks/cj/telephony_sim/src/
H A Dtelephony_sim_utils.h112 char* iccId; member
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dget_device_info_plugin.cpp160 std::u16string iccId; in GetSimInfoBySlotId() local
161 int32_t iccIdRet = telephonyService.GetSimIccId(slotId, iccId); in GetSimInfoBySlotId()
165 cJSON_AddStringToObject(slotJson, EdmConstants::DeviceInfo::SIM_ICCID, EdmUtils::Utf16ToUtf8(iccId).c_str()); in GetSimInfoBySlotId()
/base/telephony/core_service/test/unittest/icc_file_gtest/
H A Dicc_file_gtest.cpp290 std::string iccId = "ABCD"; in HWTEST_F() local
291 iccFile->iccId_ = iccId; in HWTEST_F()
403 std::string iccId = "1"; in HWTEST_F() local
407 iccFile->SwapPairsForIccId(iccId); in HWTEST_F()
408 EXPECT_FALSE(iccId.empty()); in HWTEST_F()
409 EXPECT_TRUE(iccId.length() < LENGTH_TWO); in HWTEST_F()
/base/telephony/cellular_data/services/src/apn_manager/
H A Dapn_manager.cpp286 std::string iccId = Str16ToStr8(tempIccId); in GetCTOperator() local
290 if (!iccId.compare(0, ICCID_LEN_MINIMUM, GC_ICCID) || !spn.compare(GC_SPN)) { in GetCTOperator()
292 } else if (!iccId.compare(0, ICCID_LEN_MINIMUM, MO_ICCID_1) || in GetCTOperator()
293 !iccId.compare(0, ICCID_LEN_MINIMUM, MO_ICCID_2)) { in GetCTOperator()
331 std::u16string iccId; in CreateMvnoApnItems() local
332 CoreManagerInner::GetInstance().GetSimIccId(slotId, iccId); in CreateMvnoApnItems()
333 if (!helper->QueryMvnoApnsByType(mcc, mnc, MvnoType::ICCID, Str16ToStr8(iccId), mvnoApnVec, slotId)) { in CreateMvnoApnItems()
334 TELEPHONY_LOGE("query mvno apns by iccId fail"); in CreateMvnoApnItems()

Completed in 22 milliseconds

123