HomeSort by relevance Sort by last modified time
    Searched refs:VendorPolicyLoader (Results 1 - 10 of 10) sorted by null

  /packages/apps/Email/tests/src/com/android/email/
VendorPolicyLoaderTest.java 23 import com.android.emailcommon.VendorPolicyLoader;
24 import com.android.emailcommon.VendorPolicyLoader.Provider;
38 VendorPolicyLoader.clearInstanceForTest();
45 VendorPolicyLoader pl = new VendorPolicyLoader(getContext(), "no.such.package",
54 assertEquals(false, VendorPolicyLoader.isSystemPackage(c, "no.such.package"));
55 assertEquals(false, VendorPolicyLoader.isSystemPackage(c, mTestApkPackageName));
56 assertEquals(true, VendorPolicyLoader.isSystemPackage(c, "com.android.settings"));
60 * Actually call {@link VendorPolicyLoader#getPolicy}, using MockVendorPolicy as a vendor
65 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext())
    [all...]
MockVendorPolicy.java 22 import com.android.emailcommon.VendorPolicyLoader;
39 VendorPolicyLoader.injectPolicyForTest(context, context.getPackageName(),
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/
VendorPolicyLoader.java 39 public class VendorPolicyLoader {
60 private static VendorPolicyLoader sInstance;
64 public static VendorPolicyLoader getInstance(Context context) {
66 // It's okay to instantiate VendorPolicyLoader multiple times. No need to synchronize.
67 sInstance = new VendorPolicyLoader(context);
81 sInstance = new VendorPolicyLoader(context, apkPackageName, name, true);
94 private VendorPolicyLoader(Context context) {
102 public VendorPolicyLoader(Context context, String apkPackageName, String className,
121 LogUtils.w(Logging.LOG_TAG, "VendorPolicyLoader: " + e);
124 LogUtils.w(Logging.LOG_TAG, "VendorPolicyLoader: " + e)
    [all...]
  /packages/apps/Email/src/com/android/email/service/
AccountService.java 30 import com.android.emailcommon.VendorPolicyLoader;
68 VendorPolicyLoader.getInstance(mContext).useAlternateExchangeStrings());
EmailBroadcastProcessorService.java 43 import com.android.emailcommon.VendorPolicyLoader;
320 if (VendorPolicyLoader.getInstance(this).useAlternateExchangeStrings()) {
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsUtils.java 30 import com.android.emailcommon.VendorPolicyLoader;
31 import com.android.emailcommon.VendorPolicyLoader.Provider;
109 Provider p = VendorPolicyLoader.getInstance(context).findProviderForDomain(domain);
AccountSetupBasics.java 49 import com.android.emailcommon.VendorPolicyLoader.Provider;
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSettingsUtilsTests.java 23 import com.android.emailcommon.VendorPolicyLoader.Provider;
  /packages/apps/Email/src/com/android/email/mail/store/
ImapStore.java 34 import com.android.emailcommon.VendorPolicyLoader;
186 String vendorId = VendorPolicyLoader.getInstance(context).getImapIdValues(userName, host,
  /packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java 38 import com.android.emailcommon.VendorPolicyLoader;
315 VendorPolicyLoader.clearInstanceForTest();
    [all...]

Completed in 211 milliseconds