Searched refs:RESTRICTION_HIDE_NOTIFICATIONS (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | DistractingPackageHelperTest.kt | 55 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser() 65 assertThat(distractionFlags).isEqualTo(PackageManager.RESTRICTION_HIDE_NOTIFICATIONS) in setDistractingPackageRestrictionsAsUser() 73 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice() 80 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice() 92 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_emptyPackageName() 97 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_emptyPackageName() 105 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, Binder.getCallingUid()) in setDistractingPackageRestrictionsAsUser_callerIsNotAllowed() 115 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, Binder.getCallingUid()) in setDistractingPackageRestrictionsAsUser_setCallerItself() 125 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_nonexistentPackage() 138 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_setKnownPackages() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageUserStateTest.java | 271 userState2.setDistractionFlags(PackageManager.RESTRICTION_HIDE_NOTIFICATIONS); in testPackageUserState06()
|
D | PackageManagerSettingsTests.java | 651 final int distractionFlags2 = PackageManager.RESTRICTION_HIDE_NOTIFICATIONS in populateDistractionFlags() 663 final int distractionFlags2 = PackageManager.RESTRICTION_HIDE_NOTIFICATIONS in verifyDistractionFlags()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 27 import static android.content.pm.PackageManager.RESTRICTION_HIDE_NOTIFICATIONS; 2466 flags |= PackageManager.RESTRICTION_HIDE_NOTIFICATIONS; in runSetDistractingRestriction() 2548 case RESTRICTION_HIDE_NOTIFICATIONS: in stateToString()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 9891 public static final int RESTRICTION_HIDE_NOTIFICATIONS = 0x00000002; field in PackageManager 9903 RESTRICTION_HIDE_NOTIFICATIONS
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 7507 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, new String[] {"a"}, in testHideAndUnhideNotificationsOnDistractingPackageBroadcast() 7536 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, new String[] {"a", "b"}, in testHideAndUnhideNotificationsOnDistractingPackageBroadcast_multiPkg() 7568 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, new String[] {"test_package"}, in testNoNotificationsHiddenOnDistractingPackageBroadcast()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 1964 & PackageManager.RESTRICTION_HIDE_NOTIFICATIONS) != 0) { 8619 isPaused = ((flags & PackageManager.RESTRICTION_HIDE_NOTIFICATIONS) != 0);
|
/frameworks/base/core/api/ |
D | system-current.txt | 4369 field public static final int RESTRICTION_HIDE_NOTIFICATIONS = 2; // 0x2
|