Home
last modified time | relevance | path

Searched refs:imsi (Results 1 – 25 of 29) sorted by relevance

12

/base/telephony/core_service/services/sim/src/
Druim_file.cpp46 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()
Dsim_file.cpp52 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 …]
Dicc_file.cpp108 void IccFile::UpdateImsi(std::string imsi) in UpdateImsi() argument
110 imsi_ = imsi; in UpdateImsi()
Dsim_file_manager.cpp426 void SimFileManager::SetImsi(std::string imsi) in SetImsi() argument
432 simFile_->UpdateImsi(imsi); in SetImsi()
Dsim_manager.cpp725 int32_t SimManager::GetIMSI(int32_t slotId, std::u16string &imsi) in GetIMSI() argument
735 imsi = simFileManager_[slotId]->GetIMSI(); in GetIMSI()
Dsim_rdb_helper.cpp350 result->GetString(index, simBean.imsi); in SaveDataToBean()
/base/telephony/core_service/services/sim/include/
Dsim_rdb_info.h36 std::string imsi; variable
Dsim_file_manager.h70 void SetImsi(std::string imsi);
Dicc_file.h44 void UpdateImsi(std::string imsi);
Dsim_manager.h99 int32_t GetIMSI(int32_t slotId, std::u16string &imsi) override;
/base/location/services/location_gnss/gnss/source/
Dagnss_event_callback.cpp45 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/
Dopkey_data.h74 std::string imsi = ""; member
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_elementary_file_test.cpp170 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/
Dparser_util.cpp221 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/
Dcellular_call_config.cpp713 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/
Di_sim_manager.h91 virtual int32_t GetIMSI(int32_t slotId, std::u16string &imsi) = 0;
Dcore_service_client.h222 int32_t GetIMSI(int32_t slotId, std::u16string &imsi);
Di_core_service.h70 virtual int32_t GetIMSI(int32_t slotId, std::u16string &imsi) = 0;
Dcore_service_proxy.h50 int32_t GetIMSI(int32_t slotId, std::u16string &imsi) override;
/base/telephony/core_service/services/core/include/
Dcore_service.h83 int32_t GetIMSI(int32_t slotId, std::u16string &imsi) override;
/base/telephony/core_service/frameworks/native/src/
Dcore_service_client.cpp300 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/
Dtest.cpp497 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/
Dcore_service.cpp423 int32_t CoreService::GetIMSI(int32_t slotId, std::u16string &imsi) in GetIMSI() argument
438 return simManager_->GetIMSI(slotId, imsi); in GetIMSI()
Dcore_service_stub.cpp542 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/
Dtel_ril_test_util.cpp2327 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()

12