/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 656 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(true); in testBlockedNotifications_suspended() 668 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedChannel() 688 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() 710 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() 760 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedChannelGroup() 774 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_blockedApp() 787 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_blockedAppForegroundService() 875 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedByAssistant() 3955 when(mPackageManager.isPackageSuspendedForUser(testPackage, UserHandle.getUserId(mUid))) in testAllowForegroundToasts() 3978 when(mPackageManager.isPackageSuspendedForUser(testPackage, UserHandle.getUserId(mUid))) in testDisallowToastsFromSuspendedPackages() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2387 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in ApplicationPackageManager 2389 return mPM.isPackageSuspendedForUser(packageName, userId); in isPackageSuspendedForUser() 2399 return isPackageSuspendedForUser(packageName, getUserId()); in isPackageSuspended() 2407 return isPackageSuspendedForUser(mContext.getOpPackageName(), getUserId()); in isPackageSuspended()
|
/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/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/core/java/android/content/pm/ |
D | IPackageManager.aidl | 331 boolean isPackageSuspendedForUser(String packageName, int userId); in isPackageSuspendedForUser() method
|
D | PackageManager.java | 6685 public abstract boolean isPackageSuspendedForUser(@NonNull String packageName, int userId); in isPackageSuspendedForUser() method in PackageManager
|
/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 | 2259 final boolean isPackageSuspended = isPackageSuspendedForUser(pkg, callingUid); 4105 isPaused |= isPackageSuspendedForUser(pkg, Binder.getCallingUid()); 5333 return isPackageSuspendedForUser(pkg, callingUid); 7319 private boolean isPackageSuspendedForUser(String pkg, int uid) { 7323 return mPackageManager.isPackageSuspendedForUser(pkg, userId);
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1841 suspended = isPackageSuspendedForUser(packageName, uid); in checkAudioOperationImpl() 1862 private boolean isPackageSuspendedForUser(String pkg, int uid) { in isPackageSuspendedForUser() method in AppOpsService 1865 return AppGlobals.getPackageManager().isPackageSuspendedForUser( in isPackageSuspendedForUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 1925 + mInterface.isPackageSuspendedForUser(packageName, userId)); in runSuspend()
|
D | PackageManagerService.java | 13828 public boolean isPackageSuspendedForUser(String packageName, int userId) {
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 10028 return mIPackageManager.isPackageSuspendedForUser(packageName, callingUserId); in isPackageSuspended()
|
/frameworks/base/services/ |
D | art-profile | 3863 HSPLcom/android/server/appop/AppOpsService;->isPackageSuspendedForUser(Ljava/lang/String;I)Z 9617 HSPLcom/android/server/notification/NotificationManagerService;->isPackageSuspendedForUser(Ljava/la… 11033 HSPLcom/android/server/pm/PackageManagerService;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
|