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

  /packages/apps/Email/tests/src/com/android/email/
MockVendorPolicy.java 37 VendorPolicyLoader.injectPolicyForTest(context, context.getPackageName(),
VendorPolicyLoaderTest.java 37 VendorPolicyLoader.clearInstanceForTest();
44 VendorPolicyLoader pl = new VendorPolicyLoader(getContext(), "no.such.package",
53 assertEquals(false, VendorPolicyLoader.isSystemPackage(c, "no.such.package"));
54 assertEquals(false, VendorPolicyLoader.isSystemPackage(c, mTestApkPackageName));
55 assertEquals(true, VendorPolicyLoader.isSystemPackage(c, "com.android.settings"));
59 * Actually call {@link VendorPolicyLoader#getPolicy}, using MockVendorPolicy as a vendor
64 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext());
91 VendorPolicyLoader pl = new VendorPolicyLoader(getContext(), mTestApkPackageName
    [all...]
  /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 /* package */ 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/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java 32 import com.android.email.VendorPolicyLoader;
313 VendorPolicyLoader.clearInstanceForTest();
    [all...]

Completed in 163 milliseconds