/base/telephony/core_service/services/sim/src/ |
D | ruim_file.cpp | 46 std::string imsi = ObtainIMSI(); in ObtainSimOperator() local 47 if (imsi.empty()) { in ObtainSimOperator() 52 operatorNumeric_ = imsi.substr(0, MCC_LEN + lengthOfMnc_); in ObtainSimOperator() 54 std::string mcc = imsi.substr(0, MCC_LEN); in ObtainSimOperator() 56 … operatorNumeric_ = imsi.substr(0, MCC_LEN + MccPool::ShortestMncLengthFromMcc(std::stoi(mcc))); in ObtainSimOperator()
|
D | sim_file.cpp | 52 std::string imsi = ObtainIMSI(); in ObtainSimOperator() local 53 if (imsi.empty()) { in ObtainSimOperator() 62 int imsiLen = static_cast<int>(imsi.size()); in ObtainSimOperator() 63 operatorNumeric_ = ((imsiLen >= length) ? imsi.substr(0, MCC_LEN + lengthOfMnc_) : ""); in ObtainSimOperator() 1016 std::string imsi = ObtainIMSI(); in ProcessGetAdDone() local 1017 int mcc = atoi(imsi.substr(0, MCC_LEN).c_str()); in ProcessGetAdDone() 1050 std::string imsi = ObtainIMSI(); in CheckMncLength() local 1051 int imsiSize = static_cast<int>(imsi.size()); in CheckMncLength() 1053 ((!imsi.empty()) && (imsiSize >= MCCMNC_LEN))) { in CheckMncLength() 1054 std::string mccMncCode = imsi.substr(0, MCCMNC_LEN); in CheckMncLength() [all …]
|
D | icc_file.cpp | 108 void IccFile::UpdateImsi(std::string imsi) in UpdateImsi() argument 110 imsi_ = imsi; in UpdateImsi()
|
D | sim_file_manager.cpp | 426 void SimFileManager::SetImsi(std::string imsi) in SetImsi() argument 432 simFile_->UpdateImsi(imsi); in SetImsi()
|
D | sim_manager.cpp | 725 int32_t SimManager::GetIMSI(int32_t slotId, std::u16string &imsi) in GetIMSI() argument 735 imsi = simFileManager_[slotId]->GetIMSI(); in GetIMSI()
|
D | sim_rdb_helper.cpp | 350 result->GetString(index, simBean.imsi); in SaveDataToBean()
|
/base/telephony/core_service/services/sim/include/ |
D | sim_rdb_info.h | 36 std::string imsi; variable
|
D | sim_file_manager.h | 70 void SetImsi(std::string imsi);
|
D | icc_file.h | 44 void UpdateImsi(std::string imsi);
|
D | sim_manager.h | 99 int32_t GetIMSI(int32_t slotId, std::u16string &imsi) override;
|
/base/location/services/location_gnss/gnss/source/ |
D | agnss_event_callback.cpp | 45 std::string imsi; in RequestSubscriberSetId() local 50 imsi = CommonUtils::Str16ToStr8(tempImsi); in RequestSubscriberSetId() 54 setId.id = imsi; in RequestSubscriberSetId()
|
/base/telephony/telephony_data/interfaces/innerkits/include/ |
D | opkey_data.h | 74 std::string imsi = ""; member
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_elementary_file_test.cpp | 170 std::u16string imsi; variable 171 CoreServiceClient::GetInstance().GetIMSI(SimTest::slotId_, imsi); 172 std::string result = Str16ToStr8(imsi); 188 std::u16string imsi; variable 189 CoreServiceClient::GetInstance().GetIMSI(SimTest::slotId1_, imsi); 190 std::string result = Str16ToStr8(imsi); 205 std::u16string imsi; variable 206 CoreServiceClient::GetInstance().GetIMSI(SimTest::slotId_, imsi); 207 std::string result = Str16ToStr8(imsi);
|
/base/telephony/telephony_data/common/src/ |
D | parser_util.cpp | 221 bean.imsi = ruleRoot[ITEM_IMSI].asString(); in ParserOpKeyInfos() 234 if (!bean.imsi.empty()) { in ParserOpKeyInfos() 256 value.PutString(OpKeyData::IMSI, bean.imsi); in ParserOpKeyToValuesBucket()
|
/base/telephony/cellular_call/services/control/src/ |
D | cellular_call_config.cpp | 713 std::string imsi = Str16ToStr8(operatorNumeric); in GetMcc() local 714 int len = static_cast<int>(imsi.length()); in GetMcc() 715 std::string mcc = imsi; in GetMcc() 717 mcc = imsi.substr(0, MCC_LEN); in GetMcc()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | i_sim_manager.h | 91 virtual int32_t GetIMSI(int32_t slotId, std::u16string &imsi) = 0;
|
D | core_service_client.h | 222 int32_t GetIMSI(int32_t slotId, std::u16string &imsi);
|
D | i_core_service.h | 70 virtual int32_t GetIMSI(int32_t slotId, std::u16string &imsi) = 0;
|
D | core_service_proxy.h | 50 int32_t GetIMSI(int32_t slotId, std::u16string &imsi) override;
|
/base/telephony/core_service/services/core/include/ |
D | core_service.h | 83 int32_t GetIMSI(int32_t slotId, std::u16string &imsi) override;
|
/base/telephony/core_service/frameworks/native/src/ |
D | core_service_client.cpp | 300 int32_t CoreServiceClient::GetIMSI(int32_t slotId, std::u16string &imsi) in GetIMSI() argument 307 return proxy->GetIMSI(slotId, imsi); in GetIMSI()
|
/base/telephony/core_service/services/sim/test/ |
D | test.cpp | 497 std::u16string imsi; in TestGetIMSI() local 498 g_telephonyService->GetIMSI(testSlot, imsi); in TestGetIMSI() 499 std::string str = Str16ToStr8(imsi); in TestGetIMSI()
|
/base/telephony/core_service/services/core/src/ |
D | core_service.cpp | 423 int32_t CoreService::GetIMSI(int32_t slotId, std::u16string &imsi) in GetIMSI() argument 438 return simManager_->GetIMSI(slotId, imsi); in GetIMSI()
|
D | core_service_stub.cpp | 542 std::u16string imsi; in OnGetIMSI() local 543 int32_t result = GetIMSI(slotId, imsi); in OnGetIMSI() 546 ret = (ret && reply.WriteString16(imsi)); in OnGetIMSI()
|
/base/telephony/core_service/test/unittest/tel_ril_gtest/ |
D | tel_ril_test_util.cpp | 2327 std::shared_ptr<std::string> imsi = event->GetSharedObject<std::string>(); in ProcessResponseInfo() local 2328 if (imsi != nullptr) { in ProcessResponseInfo() 2329 … TELEPHONY_LOGI("TelRilTest::DemoHandler::ProcessResponseInfo --> imsi=%{public}s", imsi->c_str()); in ProcessResponseInfo()
|