/system/connectivity/shill/cellular/ |
D | mobile_operator_info.cc | 220 void MobileOperatorInfo::UpdateIMSI(const string& imsi) { in UpdateIMSI() argument 221 SLOG(this, 3) << GetLogPrefix(__func__) << "(" << imsi << ")"; in UpdateIMSI() 222 impl_->UpdateIMSI(imsi); in UpdateIMSI()
|
D | cellular_capability_classic.cc | 318 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()
|
D | mobile_operator_info_impl.cc | 226 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()
|
D | cellular_capability_gsm.cc | 365 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()
|
D | mobile_operator_info_unittest.cc | 279 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()
|
D | mobile_operator_info.h | 211 virtual void UpdateIMSI(const std::string& imsi);
|
D | cellular_capability_universal_unittest.cc | 820 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 …]
|
D | cellular_capability_gsm_unittest.cc | 378 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()
|
D | mobile_operator_info_impl.h | 73 void UpdateIMSI(const std::string& imsi);
|
D | cellular_capability_universal.cc | 783 &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()
|
D | cellular_capability_gsm.h | 204 const std::string& imsi,
|
D | cellular.h | 247 const std::string& imsi() const { return imsi_; } in imsi() function 274 void set_imsi(const std::string& imsi);
|
D | cellular.cc | 1296 void Cellular::set_imsi(const string& imsi) { in set_imsi() argument 1297 if (imsi_ == imsi) in set_imsi() 1300 imsi_ = imsi; in set_imsi()
|
D | cellular_unittest.cc | 750 EXPECT_EQ(kIMSI, device_->imsi()); in TEST_F()
|