Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java712 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(true); in testBlockedNotifications_suspended()
724 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedChannel()
744 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
766 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
816 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedChannelGroup()
830 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_blockedApp()
843 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testEnqueuedBlockedNotifications_blockedAppForegroundService()
931 when(mPackageManager.isPackageSuspendedForUser(anyString(), anyInt())).thenReturn(false); in testBlockedNotifications_blockedByAssistant()
4037 when(mPackageManager.isPackageSuspendedForUser(testPackage, UserHandle.getUserId(mUid))) in testAllowForegroundToasts()
4060 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/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java248 if (ipm.isPackageSuspendedForUser(packageName, userId)) { in checkIfApplicationIsSuspended()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl332 boolean isPackageSuspendedForUser(String packageName, int userId); in isPackageSuspendedForUser() method
DPackageManager.java6745 public abstract boolean isPackageSuspendedForUser(@NonNull String packageName, int userId); in isPackageSuspendedForUser() method in PackageManager
/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/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java889 public boolean isPackageSuspendedForUser(String packageName, int userId) { in isPackageSuspendedForUser() method in PackageManagerStub
/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/appop/
DAppOpsService.java1898 suspended = isPackageSuspendedForUser(packageName, uid); in checkAudioOperationImpl()
1919 private boolean isPackageSuspendedForUser(String pkg, int uid) { in isPackageSuspendedForUser() method in AppOpsService
1922 return AppGlobals.getPackageManager().isPackageSuspendedForUser( in isPackageSuspendedForUser()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java5563 isPaused |= isPackageSuspendedForUser(pkg, uid);
7569 private boolean isPackageSuspendedForUser(String pkg, int uid) {
7573 return mPackageManager.isPackageSuspendedForUser(pkg, userId);
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java2087 + mInterface.isPackageSuspendedForUser(packageName, userId)); in runSuspend()
DPackageManagerService.java13377 public boolean isPackageSuspendedForUser(String packageName, int userId) {
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java514 suspended = mPackageManager.isPackageSuspendedForUser( in reloadWidgetsMaskedState()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10037 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
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt3712 Landroid/app/ApplicationPackageManager;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
14527 Landroid/content/pm/IPackageManager$Stub$Proxy;->isPackageSuspendedForUser(Ljava/lang/String;I)Z
14869 Landroid/content/pm/IPackageManager;->isPackageSuspendedForUser(Ljava/lang/String;I)Z