Searched refs:matchProvider (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
D | AccountSettingsUtilsTests.java | 114 assertTrue(AccountSettingsUtils.matchProvider("foo.com", "foo.com")); in testMatchProvider() 115 assertFalse(AccountSettingsUtils.matchProvider("foo.co", "foo.com")); in testMatchProvider() 116 assertFalse(AccountSettingsUtils.matchProvider("", "foo.com")); in testMatchProvider() 118 assertTrue(AccountSettingsUtils.matchProvider("foo.com", "fo?.com")); in testMatchProvider() 119 assertTrue(AccountSettingsUtils.matchProvider("foo.com", "f??.com")); in testMatchProvider() 120 assertTrue(AccountSettingsUtils.matchProvider("fzz.com", "f??.com")); in testMatchProvider() 121 assertTrue(AccountSettingsUtils.matchProvider("foo.com", "???.???")); in testMatchProvider() 122 assertFalse(AccountSettingsUtils.matchProvider("foo.com", "???.????")); in testMatchProvider() 124 assertTrue(AccountSettingsUtils.matchProvider("foo.com", "*.com")); in testMatchProvider() 125 assertTrue(AccountSettingsUtils.matchProvider("foo.com", "foo.*")); in testMatchProvider() [all …]
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
D | AccountSettingsUtils.java | 276 if (matchProvider(domain, providerDomain)) { in findProviderForDomain() 339 public static boolean matchProvider(String testDomain, String providerDomain) { in matchProvider() method in AccountSettingsUtils
|