Home
last modified time | relevance | path

Searched refs:normalizeNumberWithStar (Results 1 – 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefixTest.java28 assertEquals("6502910000", PhoneLookupWithStarPrefix.normalizeNumberWithStar( in testNormalizeNumberWithStar()
30 assertEquals("1234567", PhoneLookupWithStarPrefix.normalizeNumberWithStar("12,3#4*567")); in testNormalizeNumberWithStar()
31 assertEquals("8004664114", PhoneLookupWithStarPrefix.normalizeNumberWithStar( in testNormalizeNumberWithStar()
33 assertEquals("+16502910000", PhoneLookupWithStarPrefix.normalizeNumberWithStar( in testNormalizeNumberWithStar()
35 assertEquals("*16502910000", PhoneLookupWithStarPrefix.normalizeNumberWithStar( in testNormalizeNumberWithStar()
37 assertEquals("*123", PhoneLookupWithStarPrefix.normalizeNumberWithStar("*1-23")); in testNormalizeNumberWithStar()
38 assertEquals("*123", PhoneLookupWithStarPrefix.normalizeNumberWithStar("*+1-23")); in testNormalizeNumberWithStar()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java60 final String queryPhoneNumberNormalized = normalizeNumberWithStar(number); in removeNonStarMatchesFromCursor()
78 = normalizeNumberWithStar(cursor.getString(numberIndex)); in removeNonStarMatchesFromCursor()
104 static String normalizeNumberWithStar(String phoneNumber) { in normalizeNumberWithStar() method in PhoneLookupWithStarPrefix
126 final String phoneNumber = normalizeNumberWithStar(cursor.getString(numberIndex)); in matchingNumberStartsWithStar()