/packages/apps/Email/tests/src/com/android/email/ |
D | VendorPolicyLoaderTest.java | 56 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/ |
D | VendorPolicyLoader.java | 104 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/ |
D | AppButtonsPreferenceController.java | 562 || 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/ |
D | AppButtonsPreferenceController.java | 563 || 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/ |
D | AppButtonsPreferenceControllerTest.java | 386 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/ |
D | EnableDisablePreference.java | 77 Utils.isSystemPackage(getContext().getResources(), mPackageManager, packageInfo)); in canDisable()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragment.java | 278 if (Utils.isSystemPackage(getResources(), mPm, mPackageInfo)) { in shouldDisableUninstallButton()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationBackend.java | 95 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 99 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked()
|