Home
last modified time | relevance | path

Searched refs:sim_lock_status_ (Results 1 – 7 of 7) sorted by relevance

/system/connectivity/shill/cellular/
Dcellular_capability_gsm_unittest.cc405 capability_->sim_lock_status_.lock_type = "sim-pin"; in TEST_F()
410 capability_->sim_lock_status_.lock_type.clear(); in TEST_F()
664 EXPECT_FALSE(capability_->sim_lock_status_.enabled); in TEST_F()
665 EXPECT_EQ("", capability_->sim_lock_status_.lock_type); in TEST_F()
666 EXPECT_EQ(0, capability_->sim_lock_status_.retries_left); in TEST_F()
680 EXPECT_FALSE(capability_->sim_lock_status_.enabled); in TEST_F()
681 EXPECT_EQ("", capability_->sim_lock_status_.lock_type); in TEST_F()
682 EXPECT_EQ(0, capability_->sim_lock_status_.retries_left); in TEST_F()
700 EXPECT_TRUE(capability_->sim_lock_status_.enabled); in TEST_F()
701 EXPECT_TRUE(capability_->sim_lock_status_.lock_type.empty()); in TEST_F()
[all …]
Dcellular_capability_universal_unittest.cc816 capability_->sim_lock_status_.lock_type = MM_MODEM_LOCK_SIM_PIN; in TEST_F()
832 capability_->sim_lock_status_.lock_type = MM_MODEM_LOCK_NONE; in TEST_F()
1900 capability_->sim_lock_status_.enabled = true; in TEST_F()
1901 capability_->sim_lock_status_.retries_left = 3; in TEST_F()
1902 capability_->sim_lock_status_.lock_type = MM_MODEM_LOCK_SIM_PIN; in TEST_F()
1908 capability_->sim_lock_status_.lock_type = MM_MODEM_LOCK_SIM_PUK; in TEST_F()
1912 capability_->sim_lock_status_.lock_type = MM_MODEM_LOCK_SIM_PIN2; in TEST_F()
1916 capability_->sim_lock_status_.lock_type = MM_MODEM_LOCK_SIM_PUK2; in TEST_F()
1926 EXPECT_EQ(kDefaultRetries, capability_->sim_lock_status_.retries_left); in TEST_F()
1931 EXPECT_EQ(3, capability_->sim_lock_status_.retries_left); in TEST_F()
[all …]
Dcellular_capability_gsm.cc117 status.SetBool(kSIMLockEnabledProperty, sim_lock_status_.enabled); in SimLockStatusToProperty()
118 status.SetString(kSIMLockTypeProperty, sim_lock_status_.lock_type); in SimLockStatusToProperty()
119 status.SetUint(kSIMLockRetriesLeftProperty, sim_lock_status_.retries_left); in SimLockStatusToProperty()
443 sim_lock_status_.enabled = locks & MM_MODEM_GSM_FACILITY_SIM; in GetProperties()
682 sim_lock_status_.enabled = locks & MM_MODEM_GSM_FACILITY_SIM; in OnPropertiesChanged()
687 sim_lock_status_.lock_type = in OnPropertiesChanged()
692 sim_lock_status_.retries_left = in OnPropertiesChanged()
764 } else if (!sim_lock_status_.lock_type.empty()) { in OnGetIMSIReply()
Dcellular_capability_universal.cc178 switch (sim_lock_status_.lock_type) { in SimLockStatusToProperty()
189 status.SetBool(kSIMLockEnabledProperty, sim_lock_status_.enabled); in SimLockStatusToProperty()
191 status.SetUint(kSIMLockRetriesLeftProperty, sim_lock_status_.retries_left); in SimLockStatusToProperty()
1417 lock_retries.find(sim_lock_status_.lock_type); in OnLockRetriesChanged()
1421 sim_lock_status_.retries_left = it->second; in OnLockRetriesChanged()
1424 sim_lock_status_.retries_left = 999; in OnLockRetriesChanged()
1430 sim_lock_status_.lock_type = lock_type; in OnLockTypeChanged()
1438 !sim_lock_status_.enabled) in OnLockTypeChanged()
1439 sim_lock_status_.enabled = true; in OnLockTypeChanged()
1451 (sim_lock_status_.lock_type == MM_MODEM_LOCK_NONE || in OnSimLockStatusChanged()
[all …]
Dcellular_capability_gsm.h240 SimLockStatus sim_lock_status_; variable
Dcellular_capability_universal.h432 SimLockStatus sim_lock_status_; variable
Dcellular_unittest.cc756 EXPECT_TRUE(GetCapabilityGSM()->sim_lock_status_.enabled); in TEST_F()