Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java1372 when(mPackageManager.isPackageSuspendedForUser(TEST_PACKAGE, mUserId)) in allowTestPackageToToast()
1615 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(true); in testBlockedNotifications_suspended()
1627 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedChannel()
1647 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
1671 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
1724 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedChannelGroup()
1738 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_blockedApp()
1751 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_blockedAppForegroundService()
1872 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedByAssistant()
1897 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedByUser()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DIPackageManagerBase.java947 public final boolean isPackageSuspendedForUser(@NonNull String packageName, in isPackageSuspendedForUser() method in IPackageManagerBase
950 return snapshot().isPackageSuspendedForUser(packageName, userId); in isPackageSuspendedForUser()
DComputer.java515 boolean isPackageSuspendedForUser(@NonNull String packageName, @UserIdInt int userId) in isPackageSuspendedForUser() method
DPackageManagerShellCommand.java2627 + mInterface.isPackageSuspendedForUser(packageName, translatedUserId)); in runSuspend()
DComputerEngine.java5013 public boolean isPackageSuspendedForUser(@NonNull String packageName, int userId) in isPackageSuspendedForUser() method in ComputerEngine
DPackageManagerService.java5340 if (!snapshot.isPackageSuspendedForUser(packageName, userId)) {
/frameworks/base/services/tests/mockingservicestests/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.java887 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in BridgePackageManager
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl308 boolean isPackageSuspendedForUser(String packageName, int userId); in isPackageSuspendedForUser() method
DPackageManager.java10149 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/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java994 public boolean isPackageSuspendedForUser(@NonNull String packageName, int userId) { in isPackageSuspendedForUser() method in MockPackageManager
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java330 if (ipm.isPackageSuspendedForUser(packageName, userId)) { in checkIfApplicationIsSuspended()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2973 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in ApplicationPackageManager
2975 return mPM.isPackageSuspendedForUser(packageName, userId); in isPackageSuspendedForUser()
2985 return isPackageSuspendedForUser(packageName, getUserId()); in isPackageSuspended()
2993 return isPackageSuspendedForUser(mContext.getOpPackageName(), getUserId()); in isPackageSuspended()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java8621 isPaused |= isPackageSuspendedForUser(pkg, uid);
10751 private boolean isPackageSuspendedForUser(String pkg, int uid) {
10755 return mPackageManager.isPackageSuspendedForUser(pkg, userId);
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java600 suspended = mPackageManager.isPackageSuspendedForUser( in reloadWidgetsMaskedState()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13380 return mIPackageManager.isPackageSuspendedForUser(packageName, caller.getUserId());
/frameworks/base/services/
Dart-profile2353 HSPLcom/android/server/pm/ComputerEngine;->isPackageSuspendedForUser(Ljava/lang/String;I)Z+]Lcom/an…
2410 HSPLcom/android/server/pm/IPackageManagerBase;->isPackageSuspendedForUser(Ljava/lang/String;I)Z+]Lc…
Dart-wear-profile16172 PLcom/android/server/notification/NotificationManagerService;->isPackageSuspendedForUser(Ljava/lang…
17976 PLcom/android/server/pm/ComputerEngine;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
18148 PLcom/android/server/pm/IPackageManagerBase;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
/frameworks/base/boot/
Dboot-image-profile.txt1311 HSPLandroid/app/ApplicationPackageManager;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
4441 HSPLandroid/content/pm/IPackageManager$Stub$Proxy;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
/frameworks/base/config/
Dboot-image-profile.txt1311 HSPLandroid/app/ApplicationPackageManager;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
4444 HSPLandroid/content/pm/IPackageManager$Stub$Proxy;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt3709 Landroid/app/ApplicationPackageManager;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
11640 Landroid/content/pm/IPackageManager$Stub$Proxy;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
11982 Landroid/content/pm/IPackageManager;->isPackageSuspendedForUser(Ljava/lang/String;I)Z