/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 939 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(true); in testBlockedNotifications_suspended() 951 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedChannel() 972 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() 994 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() 1045 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedChannelGroup() 1060 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_blockedApp() 1074 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_blockedAppForegroundService() 1166 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedByAssistant() 4768 when(mPackageManager.isPackageSuspendedForUser(testPackage, UserHandle.getUserId(mUid))) in testAllowForegroundCustomToasts() 4790 when(mPackageManager.isPackageSuspendedForUser(testPackage, UserHandle.getUserId(mUid))) in testDisallowBackgroundCustomToasts() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 295 boolean isPackageSuspendedForUser(String packageName, int userId); in isPackageSuspendedForUser() method
|
D | PackageManager.java | 7209 public abstract boolean isPackageSuspendedForUser(@NonNull String packageName, int userId); in isPackageSuspendedForUser() method in PackageManager
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2547 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in ApplicationPackageManager 2549 return mPM.isPackageSuspendedForUser(packageName, userId); in isPackageSuspendedForUser() 2559 return isPackageSuspendedForUser(packageName, getUserId()); in isPackageSuspended() 2567 return isPackageSuspendedForUser(mContext.getOpPackageName(), getUserId()); in isPackageSuspended()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 848 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in BridgePackageManager
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 248 if (ipm.isPackageSuspendedForUser(packageName, userId)) { in checkIfApplicationIsSuspended()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 889 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in PackageManagerStub
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 987 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in MockPackageManager
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 6419 isPaused |= isPackageSuspendedForUser(pkg, uid); 8588 private boolean isPackageSuspendedForUser(String pkg, int uid) { 8592 return mPackageManager.isPackageSuspendedForUser(pkg, userId);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 2256 + mInterface.isPackageSuspendedForUser(packageName, translatedUserId)); in runSuspend()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 522 suspended = mPackageManager.isPackageSuspendedForUser( in reloadWidgetsMaskedState()
|
/frameworks/base/services/ |
D | art-profile | 21784 HSPLcom/android/server/notification/NotificationManagerService;->isPackageSuspendedForUser(Ljava/la… 25156 HSPLcom/android/server/pm/PackageManagerService;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
|