Home
last modified time | relevance | path

Searched refs:isPackageSuspendedForUser (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java656 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/
DApplicationPackageManager.java2387 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/
DPackageManagerStub.java889 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java848 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in BridgePackageManager
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java248 if (ipm.isPackageSuspendedForUser(packageName, userId)) { in checkIfApplicationIsSuspended()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl331 boolean isPackageSuspendedForUser(String packageName, int userId); in isPackageSuspendedForUser() method
DPackageManager.java6685 public abstract boolean isPackageSuspendedForUser(@NonNull String packageName, int userId); in isPackageSuspendedForUser() method in PackageManager
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java987 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in MockPackageManager
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2259 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/
DAppOpsService.java1841 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/
DPackageManagerShellCommand.java1925 + mInterface.isPackageSuspendedForUser(packageName, userId)); in runSuspend()
DPackageManagerService.java13828 public boolean isPackageSuspendedForUser(String packageName, int userId) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10028 return mIPackageManager.isPackageSuspendedForUser(packageName, callingUserId); in isPackageSuspended()
/frameworks/base/services/
Dart-profile3863 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