Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java24 import com.android.emailcommon.VendorPolicyLoader;
25 import com.android.emailcommon.VendorPolicyLoader.Provider;
40 VendorPolicyLoader.clearInstanceForTest(); in tearDown()
47 VendorPolicyLoader pl = new VendorPolicyLoader(getContext(), "no.such.package", in testPackageNotExist()
56 assertEquals(false, VendorPolicyLoader.isSystemPackage(c, "no.such.package")); in testIsSystemPackage()
57 assertEquals(false, VendorPolicyLoader.isSystemPackage(c, mTestApkPackageName)); in testIsSystemPackage()
58 assertEquals(true, VendorPolicyLoader.isSystemPackage(c, "com.android.settings")); in testIsSystemPackage()
67 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext()); in testGetPolicy()
94 VendorPolicyLoader pl = new VendorPolicyLoader(getContext(), mTestApkPackageName, in testGetPolicyNonSystem()
115 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext()); in testGetImapIdValues()
[all …]
DMockVendorPolicy.java22 import com.android.emailcommon.VendorPolicyLoader;
39 VendorPolicyLoader.injectPolicyForTest(context, context.getPackageName(), in inject()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
DVendorPolicyLoader.java39 public class VendorPolicyLoader { class
60 private static VendorPolicyLoader sInstance;
64 public static VendorPolicyLoader getInstance(Context context) { in getInstance()
67 sInstance = new VendorPolicyLoader(context); in getInstance()
81 sInstance = new VendorPolicyLoader(context, apkPackageName, name, true); in injectPolicyForTest()
94 private VendorPolicyLoader(Context context) { in VendorPolicyLoader() method in VendorPolicyLoader
102 public VendorPolicyLoader(Context context, String apkPackageName, String className, in VendorPolicyLoader() method in VendorPolicyLoader
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSettingsUtils.java29 import com.android.emailcommon.VendorPolicyLoader;
30 import com.android.emailcommon.VendorPolicyLoader.OAuthProvider;
31 import com.android.emailcommon.VendorPolicyLoader.Provider;
248 Provider p = VendorPolicyLoader.getInstance(context).findProviderForDomain(domain); in findProviderForDomain()
/packages/apps/Email/provider_src/com/android/email/service/
DAccountService.java29 import com.android.emailcommon.VendorPolicyLoader;
51 VendorPolicyLoader.getInstance(mContext).useAlternateExchangeStrings());
DEmailServiceUtils.java53 import com.android.emailcommon.VendorPolicyLoader;
762 if (VendorPolicyLoader.getInstance(context).useAlternateExchangeStrings()) { in enableExchangeComponent()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupIncomingFragment.java47 import com.android.emailcommon.VendorPolicyLoader;
260 final List<VendorPolicyLoader.OAuthProvider> oauthProviders = in onActivityCreated()
354 final List<VendorPolicyLoader.OAuthProvider> oauthProviders = in loadSettings()
DAccountSetupOutgoingFragment.java45 import com.android.emailcommon.VendorPolicyLoader;
242 final List<VendorPolicyLoader.OAuthProvider> oauthProviders = in loadSettings()
DAccountSetupFinal.java48 import com.android.emailcommon.VendorPolicyLoader;
174 private VendorPolicyLoader.Provider mProvider;
206 mProvider = (VendorPolicyLoader.Provider) in onCreate()
DOAuthAuthenticationActivity.java21 import com.android.emailcommon.VendorPolicyLoader.OAuthProvider;
DAuthenticationView.java19 import com.android.emailcommon.VendorPolicyLoader.OAuthProvider;
DAccountSetupCredentialsFragment.java40 import com.android.emailcommon.VendorPolicyLoader.OAuthProvider;
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java34 import com.android.emailcommon.VendorPolicyLoader;
219 String vendorId = VendorPolicyLoader.getInstance(context).getImapIdValues(userName, host, in getImapId()
/packages/apps/Email/
Dproguard-test.flags81 -keepclasseswithmembers class com.android.emailcommon.VendorPolicyLoader {
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSettingsUtilsTests.java23 import com.android.emailcommon.VendorPolicyLoader.Provider;
/packages/apps/Email/provider_src/com/android/email/mail/internet/
DOAuthAuthenticator.java8 import com.android.emailcommon.VendorPolicyLoader.OAuthProvider;
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java38 import com.android.emailcommon.VendorPolicyLoader;
315 VendorPolicyLoader.clearInstanceForTest(); in testImapIdWithVendorPolicy()