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/src/com/android/email/
VendorPolicyLoader.java 40 public class VendorPolicyLoader {
61 private static VendorPolicyLoader sInstance;
65 public static VendorPolicyLoader getInstance(Context context) {
67 // It's okay to instantiate VendorPolicyLoader multiple times. No need to synchronize.
68 sInstance = new VendorPolicyLoader(context);
82 sInstance = new VendorPolicyLoader(context, apkPackageName, name, true);
95 private VendorPolicyLoader(Context context) {
103 /* package */ VendorPolicyLoader(Context context, String apkPackageName, String className,
122 Log.w(Logging.LOG_TAG, "VendorPolicyLoader: " + e);
125 Log.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 538 milliseconds