Home
last modified time | relevance | path

Searched refs:isSystemPackage (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java56 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DUninstallManager.java112 public static boolean isSystemPackage(PackageManager pm, PackageInfo pkg) { in isSystemPackage() method in UninstallManager
132 isSystemPackage(pm, packageInfo)); in canDisable()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
DVendorPolicyLoader.java104 if (!allowNonSystemApk && !isSystemPackage(context, apkPackageName)) { in VendorPolicyLoader()
130 public static boolean isSystemPackage(Context context, String packageName) { in isSystemPackage() method in VendorPolicyLoader
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppLoadingTask.java378 if (imi.isDefault(mContext) && isSystemPackage(imi.getPackageName())) { in getDefaultSystemImes()
388 private boolean isSystemPackage(String packageName) { in isSystemPackage() method in AppLoadingTask
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java393 private boolean isSystemPackage(String packageName) { in isSystemPackage() method in AppRestrictionsFragment
424 if (imi.isDefault(context) && isSystemPackage(imi.getPackageName())) { in addSystemImes()
/packages/apps/Settings/src/com/android/settings/notification/
DAppNotificationSettings.java133 mIsSystemPackage = Utils.isSystemPackage(pm, info); in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java168 || Utils.isSystemPackage(mPm, mPackageInfo)) { in handleDisableable()
/packages/apps/Settings/src/com/android/settings/
DUtils.java962 public static boolean isSystemPackage(PackageManager pm, PackageInfo pkg) { in isSystemPackage() method in Utils