/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 712 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/ |
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/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 | 332 boolean isPackageSuspendedForUser(String packageName, int userId); in isPackageSuspendedForUser() method
|
D | PackageManager.java | 6745 public abstract boolean isPackageSuspendedForUser(@NonNull String packageName, int userId); in isPackageSuspendedForUser() method in PackageManager
|
/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/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/appop/ |
D | AppOpsService.java | 1898 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/ |
D | NotificationManagerService.java | 5563 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/ |
D | PackageManagerShellCommand.java | 2087 + mInterface.isPackageSuspendedForUser(packageName, userId)); in runSuspend()
|
D | PackageManagerService.java | 13377 public boolean isPackageSuspendedForUser(String packageName, int userId) {
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 514 suspended = mPackageManager.isPackageSuspendedForUser( in reloadWidgetsMaskedState()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 10037 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
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 3712 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
|