Searched refs:NormalizeMdn (Results 1 – 3 of 3) sorted by relevance
210 FRIEND_TEST(CellularCapabilityUniversalMainTest, NormalizeMdn);388 std::string NormalizeMdn(const std::string& mdn) const;
1151 TEST_F(CellularCapabilityUniversalMainTest, NormalizeMdn) { in TEST_F() argument1152 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()
1285 string CellularCapabilityUniversal::NormalizeMdn(const string& mdn) const { in NormalizeMdn() function in shill::CellularCapabilityUniversal1345 cellular()->set_mdn(NormalizeMdn(mdn)); in OnMdnChanged()