Home
last modified time | relevance | path

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

/system/connectivity/shill/cellular/
Dmobile_operator_info.cc220 void MobileOperatorInfo::UpdateIMSI(const string& imsi) { in UpdateIMSI() argument
221 SLOG(this, 3) << GetLogPrefix(__func__) << "(" << imsi << ")"; in UpdateIMSI()
222 impl_->UpdateIMSI(imsi); in UpdateIMSI()
Dcellular_capability_classic.cc318 string imsi = props.GetString(kModemPropertyIMSI); in OnGetModemStatusReply() local
319 cellular()->set_imsi(imsi); in OnGetModemStatusReply()
320 cellular()->home_provider_info()->UpdateIMSI(imsi); in OnGetModemStatusReply()
323 cellular()->serving_operator_info()->UpdateIMSI(imsi); in OnGetModemStatusReply()
Dmobile_operator_info_impl.cc226 void MobileOperatorInfoImpl::UpdateIMSI(const string& imsi) { in UpdateIMSI() argument
228 if (user_imsi_ == imsi) { in UpdateIMSI()
232 user_imsi_ = imsi; in UpdateIMSI()
235 if (!base::StartsWith(imsi, user_mccmnc_, in UpdateIMSI()
238 << "the IMSI [" << imsi << "]."; in UpdateIMSI()
242 AppendToCandidatesByMCCMNC(imsi.substr(0, kMCCMNCMinLen)); in UpdateIMSI()
243 AppendToCandidatesByMCCMNC(imsi.substr(0, kMCCMNCMinLen + 1)); in UpdateIMSI()
Dcellular_capability_gsm.cc365 if (cellular()->imsi().empty()) { in GetIMSI()
375 SLOG(this, 2) << "Already have IMSI " << cellular()->imsi(); in GetIMSI()
753 const string& imsi, in OnGetIMSIReply() argument
756 SLOG(this, 2) << "IMSI: " << imsi; in OnGetIMSIReply()
757 cellular()->set_imsi(imsi); in OnGetIMSIReply()
759 cellular()->home_provider_info()->UpdateIMSI(imsi); in OnGetIMSIReply()
762 cellular()->serving_operator_info()->UpdateIMSI(imsi); in OnGetIMSIReply()
Dmobile_operator_info_unittest.cc279 void UpdateIMSI(const std::string& imsi) { in UpdateIMSI() argument
280 operator_info_->UpdateIMSI(imsi); in UpdateIMSI()
1304 string imsi {"2009991234512345"}; in TEST_P() local
1320 UpdateIMSI(imsi); in TEST_P()
1340 string imsi {"2009991234512345"}; in TEST_P() local
1351 UpdateIMSI(imsi); in TEST_P()
Dmobile_operator_info.h211 virtual void UpdateIMSI(const std::string& imsi);
Dcellular_capability_universal_unittest.cc820 EXPECT_EQ("", cellular_->imsi()); in TEST_F()
836 EXPECT_EQ(kImsi, cellular_->imsi()); in TEST_F()
851 EXPECT_EQ("", cellular_->imsi()); in TEST_F()
866 EXPECT_EQ("", cellular_->imsi()); in TEST_F()
1183 EXPECT_EQ("", cellular_->imsi()); in TEST_F()
1191 EXPECT_EQ(kImsi, cellular_->imsi()); in TEST_F()
1200 EXPECT_EQ(kImsi, cellular_->imsi()); in TEST_F()
1210 EXPECT_EQ("", cellular_->imsi()); in TEST_F()
1224 EXPECT_EQ(kImsi, cellular_->imsi()); in TEST_F()
1232 EXPECT_EQ("", cellular_->imsi()); in TEST_F()
[all …]
Dcellular_capability_gsm_unittest.cc378 EXPECT_TRUE(cellular_->imsi().empty()); in TEST_F()
382 EXPECT_EQ(kIMSI, cellular_->imsi()); in TEST_F()
402 EXPECT_TRUE(cellular_->imsi().empty()); in TEST_F()
407 EXPECT_TRUE(cellular_->imsi().empty()); in TEST_F()
424 EXPECT_TRUE(cellular_->imsi().empty()); in TEST_F()
Dmobile_operator_info_impl.h73 void UpdateIMSI(const std::string& imsi);
Dcellular_capability_universal.cc783 &post_data, 0, "${imsi}", cellular()->imsi()); in UpdateServiceOLP()
1663 string imsi = props.GetString(MM_SIM_PROPERTY_IMSI); in OnSimPropertiesChanged() local
1664 cellular()->set_imsi(imsi); in OnSimPropertiesChanged()
1665 cellular()->home_provider_info()->UpdateIMSI(imsi); in OnSimPropertiesChanged()
1668 cellular()->serving_operator_info()->UpdateIMSI(imsi); in OnSimPropertiesChanged()
Dcellular_capability_gsm.h204 const std::string& imsi,
Dcellular.h247 const std::string& imsi() const { return imsi_; } in imsi() function
274 void set_imsi(const std::string& imsi);
Dcellular.cc1296 void Cellular::set_imsi(const string& imsi) { in set_imsi() argument
1297 if (imsi_ == imsi) in set_imsi()
1300 imsi_ = imsi; in set_imsi()
Dcellular_unittest.cc750 EXPECT_EQ(kIMSI, device_->imsi()); in TEST_F()