/frameworks/base/core/tests/coretests/src/android/app/people/ |
D | PeopleSpaceTileTest.java | 226 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/ |
D | SuspendTestReceiver.java | 48 final boolean suspended = packageManager.isPackageSuspended(); in onReceive()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuspendedAppActivity.java | 88 && !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/ |
D | PeopleSpaceTile.java | 202 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/ |
D | SuspendPackageHelperTest.kt | 266 fun isPackageSuspended() { in <lambda>() method 274 assertThat(suspendPackageHelper.isPackageSuspended(pms.snapshotComputer(), in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 334 if (!isPackageSuspended()) { in interceptSuspendedPackageIfNeeded() 519 private boolean isPackageSuspended() { in isPackageSuspended() method in ActivityStartInterceptor
|
D | WindowManagerService.java | 1825 final boolean suspended = mPmInternal.isPackageSuspended(win.getOwningPackage(), in addWindow()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerInternalBase.java | 247 public final boolean isPackageSuspended(String packageName, int userId) { in isPackageSuspended() method in PackageManagerInternalBase 248 return getSuspendPackageHelper().isPackageSuspended(snapshot(), packageName, userId, in isPackageSuspended()
|
D | SuspendPackageHelper.java | 395 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/ |
D | PeopleSpaceWidgetManagerTest.java | 296 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/ |
D | PackageManagerInternal.java | 254 public abstract boolean isPackageSuspended(String packageName, int userId); in isPackageSuspended() method in PackageManagerInternal
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 206 boolean isPackageSuspended(in ComponentName admin, in String callerPackage, String packageName); in isPackageSuspended() method
|
D | DevicePolicyManager.java | 9872 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/ |
D | PeopleSpaceWidgetManager.java | 1180 && mPackageManager.isPackageSuspended(tile.getPackageName()); in getPackageSuspended()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleTileViewHelper.java | 266 if (mTile == null || mTile.isPackageSuspended() || mTile.isUserQuieted()) { in getViewForTile()
|
/frameworks/base/core/api/ |
D | lint-baseline.txt | 514 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…
|
D | module-lib-lint-baseline.txt | 644 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…
|
D | test-lint-baseline.txt | 708 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…
|
D | system-lint-baseline.txt | 734 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/ |
D | PackageManager.java | 10159 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/ |
D | ApplicationPackageManager.java | 2983 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/ |
D | NotificationManagerService.java | 3648 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/ |
D | AppOpsService.java | 4841 return pmi.isPackageSuspended(packageName, UserHandle.getUserId(uid)); in isOpRestrictedDueToSuspend()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 13362 public boolean isPackageSuspended(ComponentName who, String callerPackage, String packageName) {
|
/frameworks/base/services/ |
D | art-profile | 1438 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…
|