Home
last modified time | relevance | path

Searched refs:isSystemPackage (Results 1 – 9 of 9) 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/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/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java562 || isSystemPackage(mActivity.getResources(), mPm, mPackageInfo)) { in handleDisableable()
581 boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo packageInfo) { in isSystemPackage() method in AppButtonsPreferenceController
582 return Utils.isSystemPackage(resources, pm, packageInfo); in isSystemPackage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppButtonsPreferenceController.java563 || isSystemPackage(mActivity.getResources(), mPm, mPackageInfo)) { in handleDisableable()
582 boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo packageInfo) { in isSystemPackage() method in AppButtonsPreferenceController
583 return Utils.isSystemPackage(resources, pm, packageInfo); in isSystemPackage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java386 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in handleDisableable_isAppEnabled_controllable()
398 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in handleDisableable_isAppDisabled_controllable()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DEnableDisablePreference.java77 Utils.isSystemPackage(getContext().getResources(), mPackageManager, packageInfo)); in canDisable()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationDetailsFragment.java278 if (Utils.isSystemPackage(getResources(), mPm, mPackageInfo)) { in shouldDisableUninstallButton()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java95 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java99 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked()