Home
last modified time | relevance | path

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

/packages/apps/Dialer/tests/src/com/android/dialer/database/
DSmartDialPrefixTest.java29 import com.android.dialer.dialpad.SmartDialPrefix;
47 assertFalse(SmartDialPrefix.isCountryNanp(null)); in testIsCountryNanp_CaseInsensitive()
48 assertFalse(SmartDialPrefix.isCountryNanp("CN")); in testIsCountryNanp_CaseInsensitive()
49 assertFalse(SmartDialPrefix.isCountryNanp("HK")); in testIsCountryNanp_CaseInsensitive()
50 assertFalse(SmartDialPrefix.isCountryNanp("uk")); in testIsCountryNanp_CaseInsensitive()
51 assertFalse(SmartDialPrefix.isCountryNanp("sg")); in testIsCountryNanp_CaseInsensitive()
52 assertTrue(SmartDialPrefix.isCountryNanp("US")); in testIsCountryNanp_CaseInsensitive()
53 assertTrue(SmartDialPrefix.isCountryNanp("CA")); in testIsCountryNanp_CaseInsensitive()
54 assertTrue(SmartDialPrefix.isCountryNanp("AS")); in testIsCountryNanp_CaseInsensitive()
55 assertTrue(SmartDialPrefix.isCountryNanp("AI")); in testIsCountryNanp_CaseInsensitive()
[all …]
DDialerDatabaseHelperTest.java30 import com.android.dialer.dialpad.SmartDialPrefix;
151 SmartDialPrefix.getMap()); in getMatchesFromDb()
/packages/apps/Dialer/src/com/android/dialer/list/
DSmartDialNumberListAdapter.java31 import com.android.dialer.dialpad.SmartDialPrefix;
48 mNameMatcher = new SmartDialNameMatcher("", SmartDialPrefix.getMap()); in SmartDialNumberListAdapter()
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/
DSmartDialNameMatcherTest.java25 import com.android.dialer.dialpad.SmartDialPrefix;
201 SmartDialPrefix.setUserInNanpRegion(true); in testMatches_NumberNANP()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialCursorLoader.java65 mQuery = SmartDialNameMatcher.normalizeNumber(query, SmartDialPrefix.getMap()); in configureQuery()
68 mNameMatcher = new SmartDialNameMatcher(mQuery, SmartDialPrefix.getMap()); in configureQuery()
DSmartDialNameMatcher.java22 import com.android.dialer.dialpad.SmartDialPrefix.PhoneNumberTokens;
140 SmartDialPrefix.parsePhoneNumber(phoneNumber); in matchesNumber()
DSmartDialPrefix.java40 public class SmartDialPrefix { class
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java45 import com.android.dialer.dialpad.SmartDialPrefix;
827 SmartDialPrefix.parseToNumberTokens(contactPhoneNumber); in insertUpdatedContactsAndNumberPrefix()
867 SmartDialPrefix.generateNamePrefixes(nameCursor.getString(columnIndexName)); in insertNamePrefixes()
/packages/apps/Dialer/src/com/android/dialer/
DDialtactsActivity.java70 import com.android.dialer.dialpad.SmartDialPrefix;
494 SmartDialPrefix.initializeNanpSettings(this); in onCreate()