Home
last modified time | relevance | path

Searched refs:NormalizeMdn (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/cellular/
Dcellular_capability_universal.h210 FRIEND_TEST(CellularCapabilityUniversalMainTest, NormalizeMdn);
388 std::string NormalizeMdn(const std::string& mdn) const;
Dcellular_capability_universal_unittest.cc1151 TEST_F(CellularCapabilityUniversalMainTest, NormalizeMdn) { in TEST_F() argument
1152 EXPECT_EQ("", capability_->NormalizeMdn("")); in TEST_F()
1153 EXPECT_EQ("12345678901", capability_->NormalizeMdn("12345678901")); in TEST_F()
1154 EXPECT_EQ("12345678901", capability_->NormalizeMdn("+1 234 567 8901")); in TEST_F()
1155 EXPECT_EQ("12345678901", capability_->NormalizeMdn("+1-234-567-8901")); in TEST_F()
1156 EXPECT_EQ("12345678901", capability_->NormalizeMdn("+1 (234) 567-8901")); in TEST_F()
1157 EXPECT_EQ("12345678901", capability_->NormalizeMdn("1 234 567 8901 ")); in TEST_F()
1158 EXPECT_EQ("2345678901", capability_->NormalizeMdn("(234) 567-8901")); in TEST_F()
Dcellular_capability_universal.cc1285 string CellularCapabilityUniversal::NormalizeMdn(const string& mdn) const { in NormalizeMdn() function in shill::CellularCapabilityUniversal
1345 cellular()->set_mdn(NormalizeMdn(mdn)); in OnMdnChanged()