/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | VisibilityExtractorTest.java | 25 import static android.app.NotificationManager.VISIBILITY_NO_OVERRIDE; 110 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmAllChannelAll() 114 assertEquals(VISIBILITY_NO_OVERRIDE, r.getPackageVisibilityOverride()); in testGlobalAllDpmAllChannelAll() 128 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalNoneDpmAllChannelAll() 146 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalSomeDpmAllChannelAll() 165 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmNoneChannelAll() 184 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmSomeChannelAll()
|
H A D | BuzzBeepBlinkTest.java | 515 r.setPackageVisibilityOverride(NotificationManager.VISIBILITY_NO_OVERRIDE); in testLockedPrivateA11yRedaction() 559 r.setPackageVisibilityOverride(NotificationManager.VISIBILITY_NO_OVERRIDE); in testLockedPublicA11yNoRedaction() 581 r.setPackageVisibilityOverride(NotificationManager.VISIBILITY_NO_OVERRIDE); in testUnlockedPrivateA11yNoRedaction()
|
H A D | PreferencesHelperTest.java | 746 assertEquals(NotificationManager.VISIBILITY_NO_OVERRIDE, updated.getLockscreenVisibility()); in testChannelXml_defaultChannelLegacyApp_noUserSettings() 922 assertEquals(NotificationManager.VISIBILITY_NO_OVERRIDE, in testUpdate_preUpgrade_updatesAppFields() 953 assertEquals(NotificationManager.VISIBILITY_NO_OVERRIDE, in testUpdate_postUpgrade_noUpdateAppFields() 966 assertEquals(NotificationManager.VISIBILITY_NO_OVERRIDE, in testUpdate_postUpgrade_noUpdateAppFields() 980 assertEquals(NotificationManager.VISIBILITY_NO_OVERRIDE, in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels() 1003 assertEquals(NotificationManager.VISIBILITY_NO_OVERRIDE, in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/ |
H A D | VisibilityPreferenceController.java | 87 Integer.toString(NotificationManager.VISIBILITY_NO_OVERRIDE); in updateState() 113 == NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE) { in updateState() 127 sensitive = NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE; in onPreferenceChange() 149 int globalVis = NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE; in getGlobalVisibility()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
H A D | VisibilityPreferenceControllerTest.java | 23 import static android.app.NotificationManager.VISIBILITY_NO_OVERRIDE; 228 .contains(String.valueOf(VISIBILITY_NO_OVERRIDE))); in testUpdateState_noLockScreenNotificationsGlobally() 253 .contains(String.valueOf(VISIBILITY_NO_OVERRIDE))); in testUpdateState_noLockScreenNotificationsGloballyInProfile() 277 .contains(String.valueOf(VISIBILITY_NO_OVERRIDE))); in testUpdateState_noPrivateLockScreenNotificationsGlobally() 294 assertTrue(values.contains(String.valueOf(VISIBILITY_NO_OVERRIDE))); in testUpdateState_noGlobalRestriction() 314 when(channel.getLockscreenVisibility()).thenReturn(VISIBILITY_NO_OVERRIDE); in testUpdateState_noChannelOverride() 360 assertEquals(VISIBILITY_NO_OVERRIDE, channel.getLockscreenVisibility()); in testOnPreferenceChange_noOverride() 371 channel.setLockscreenVisibility(VISIBILITY_NO_OVERRIDE); in testOnPreferenceChange_override()
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | VisibilityExtractor.java | 79 record.setPackageVisibilityOverride(NotificationManager.VISIBILITY_NO_OVERRIDE); in process()
|
H A D | PreferencesHelper.java | 133 private static final int DEFAULT_VISIBILITY = NotificationManager.VISIBILITY_NO_OVERRIDE; 952 NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE); in createNotificationChannel() 1014 NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE); in updateNotificationChannel()
|
H A D | NotificationManagerService.java | 8310 final int notifVisibility = visibilityOverride == NotificationManager.VISIBILITY_NO_OVERRIDE
|
/aosp12/frameworks/base/core/proto/android/app/ |
H A D | notification_channel.proto | 39 // Default is VISIBILITY_NO_OVERRIDE (-1000).
|
/aosp12/frameworks/base/core/proto/android/service/ |
H A D | notification.proto | 135 // Default is VISIBILITY_NO_OVERRIDE (-1000).
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationListenerService.java | 1632 public static final int VISIBILITY_NO_OVERRIDE = NotificationManager.VISIBILITY_NO_OVERRIDE; field in NotificationListenerService.Ranking
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | NotificationChannel.java | 225 NotificationManager.VISIBILITY_NO_OVERRIDE;
|
H A D | NotificationManager.java | 495 public static final int VISIBILITY_NO_OVERRIDE = -1000; field in NotificationManager
|
H A D | Notification.java | 873 NotificationManager.VISIBILITY_NO_OVERRIDE
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 8125 Landroid/app/NotificationManager;->VISIBILITY_NO_OVERRIDE:I 53014 Landroid/service/notification/NotificationListenerService$Ranking;->VISIBILITY_NO_OVERRIDE:I
|
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 38743 field public static final int VISIBILITY_NO_OVERRIDE = -1000; // 0xfffffc18
|