Home
last modified time | relevance | path

Searched refs:isPackageSuspended (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/people/
DPeopleSpaceTileTest.java226 assertFalse(tile.isPackageSuspended()); in testPackageSuspended()
232 assertTrue(tile.isPackageSuspended()); in testPackageSuspended()
341 assertThat(readTile.isPackageSuspended()).isEqualTo(tile.isPackageSuspended()); in testWriteThenReadFromParcel()
/frameworks/base/services/tests/servicestests/test-apps/SuspendTestApp/src/com/android/servicestests/apps/suspendtestapp/
DSuspendTestReceiver.java48 final boolean suspended = packageManager.isPackageSuspended(); in onReceive()
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java88 && !isPackageSuspended(mSuspendedPackage)) {
100 private boolean isPackageSuspended(String packageName) { in isPackageSuspended() method in SuspendedAppActivity
102 return mPm.isPackageSuspended(packageName); in isPackageSuspended()
/frameworks/base/core/java/android/app/people/
DPeopleSpaceTile.java202 public boolean isPackageSuspended() { in isPackageSuspended() method in PeopleSpaceTile
442 public Builder setIsPackageSuspended(boolean isPackageSuspended) { in setIsPackageSuspended() argument
443 mIsPackageSuspended = isPackageSuspended; in setIsPackageSuspended()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSuspendPackageHelperTest.kt266 fun isPackageSuspended() { in <lambda>() method
274 assertThat(suspendPackageHelper.isPackageSuspended(pms.snapshotComputer(), in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java334 if (!isPackageSuspended()) { in interceptSuspendedPackageIfNeeded()
519 private boolean isPackageSuspended() { in isPackageSuspended() method in ActivityStartInterceptor
DWindowManagerService.java1825 final boolean suspended = mPmInternal.isPackageSuspended(win.getOwningPackage(), in addWindow()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerInternalBase.java247 public final boolean isPackageSuspended(String packageName, int userId) { in isPackageSuspended() method in PackageManagerInternalBase
248 return getSuspendPackageHelper().isPackageSuspended(snapshot(), packageName, userId, in isPackageSuspended()
DSuspendPackageHelper.java395 boolean isPackageSuspended(@NonNull Computer snapshot, @NonNull String packageName, int userId, in isPackageSuspended() method in SuspendPackageHelper
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java296 when(mPackageManager.isPackageSuspended(any())).thenReturn(false); in setUp()
1315 assertThat(tile.isPackageSuspended()).isFalse(); in testUpdateWidgetsFromBroadcastInBackground()
1330 assertThat(tile.isPackageSuspended()).isFalse(); in testUpdateWidgetsFromBroadcastInBackgroundWithUserQuieted()
1337 when(mPackageManager.isPackageSuspended(any())).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundWithPackageSuspended()
1342 assertThat(tile.isPackageSuspended()).isTrue(); in testUpdateWidgetsFromBroadcastInBackgroundWithPackageSuspended()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java254 public abstract boolean isPackageSuspended(String packageName, int userId); in isPackageSuspended() method in PackageManagerInternal
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl206 boolean isPackageSuspended(in ComponentName admin, in String callerPackage, String packageName); in isPackageSuspended() method
DDevicePolicyManager.java9872 public boolean isPackageSuspended(@Nullable ComponentName admin, String packageName) in isPackageSuspended() method in DevicePolicyManager
9877 return mService.isPackageSuspended(admin, mContext.getPackageName(), packageName); in isPackageSuspended()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java1180 && mPackageManager.isPackageSuspended(tile.getPackageName()); in getPackageSuspended()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java266 if (mTile == null || mTile.isPackageSuspended() || mTile.isUserQuieted()) { in getViewForTile()
/frameworks/base/core/api/
Dlint-baseline.txt514 RequiresPermission: android.app.admin.DevicePolicyManager#isPackageSuspended(android.content.Compon…
515 …Method 'isPackageSuspended' documentation mentions permissions already declared by @RequiresPermis…
672 RequiresPermission: android.content.pm.PackageManager#isPackageSuspended():
673 …Method 'isPackageSuspended' documentation mentions permissions without declaring @RequiresPermissi…
Dmodule-lib-lint-baseline.txt644 RequiresPermission: android.app.admin.DevicePolicyManager#isPackageSuspended(android.content.Compon…
645 …Method 'isPackageSuspended' documentation mentions permissions already declared by @RequiresPermis…
876 RequiresPermission: android.content.pm.PackageManager#isPackageSuspended():
877 …Method 'isPackageSuspended' documentation mentions permissions without declaring @RequiresPermissi…
Dtest-lint-baseline.txt708 RequiresPermission: android.app.admin.DevicePolicyManager#isPackageSuspended(android.content.Compon…
709 …Method 'isPackageSuspended' documentation mentions permissions already declared by @RequiresPermis…
940 RequiresPermission: android.content.pm.PackageManager#isPackageSuspended():
941 …Method 'isPackageSuspended' documentation mentions permissions without declaring @RequiresPermissi…
Dsystem-lint-baseline.txt734 RequiresPermission: android.app.admin.DevicePolicyManager#isPackageSuspended(android.content.Compon…
735 …Method 'isPackageSuspended' documentation mentions permissions already declared by @RequiresPermis…
964 RequiresPermission: android.content.pm.PackageManager#isPackageSuspended():
965 …Method 'isPackageSuspended' documentation mentions permissions without declaring @RequiresPermissi…
/frameworks/base/core/java/android/content/pm/
DPackageManager.java10159 public boolean isPackageSuspended(@NonNull String packageName) throws NameNotFoundException { in isPackageSuspended() method in PackageManager
10185 public boolean isPackageSuspended() { in isPackageSuspended() method in PackageManager
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2983 public boolean isPackageSuspended(String packageName) throws NameNotFoundException { in isPackageSuspended() method in ApplicationPackageManager
2992 public boolean isPackageSuspended() { in isPackageSuspended() method in ApplicationPackageManager
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3648 final boolean isPackageSuspended = isPackagePaused(pkg);
3662 || isPackageSuspended)) {
3664 + (isPackageSuspended ? " due to package suspended."
8684 final boolean isPackageSuspended =
8686 r.setHidden(isPackageSuspended);
8687 if (isPackageSuspended) {
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4841 return pmi.isPackageSuspended(packageName, UserHandle.getUserId(uid)); in isOpRestrictedDueToSuspend()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13362 public boolean isPackageSuspended(ComponentName who, String callerPackage, String packageName) {
/frameworks/base/services/
Dart-profile1438 HPLcom/android/server/devicepolicy/DevicePolicyManagerService;->isPackageSuspended(Landroid/content…
2465 HSPLcom/android/server/pm/PackageManagerInternalBase;->isPackageSuspended(Ljava/lang/String;I)Z+]Lc…
2662 HSPLcom/android/server/pm/SuspendPackageHelper;->isPackageSuspended(Lcom/android/server/pm/Computer…

12