Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogInsertionHelperTest.java37 checkNormalization("650-555-1212", "+16505551212"); in testValidNumber()
38 checkNormalization("1-650-555-1212", "+16505551212"); in testValidNumber()
39 checkNormalization("+16505551212", "+16505551212"); in testValidNumber()
40 checkNormalization("011-81-3-6384-9000", "+81363849000"); in testValidNumber()
47 checkNormalization("", null); in testInvalidNumber()
49 checkNormalization("663-555-1212", null); in testInvalidNumber()
51 checkNormalization("555-1212", null); in testInvalidNumber()
53 checkNormalization("03-6384-9000", null); in testInvalidNumber()
55 checkNormalization("test@sip.org", null); in testInvalidNumber()
65 private void checkNormalization(String number, String expectedNormalized) { in checkNormalization() method in CallLogInsertionHelperTest