Home
last modified time | relevance | path

Searched refs:notificationBehavior (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/service/java/com/android/safetycenter/notifications/
DSafetyCenterNotificationSender.java326 int notificationBehavior = issue.getNotificationBehavior(); in getBehavior() local
327 switch (notificationBehavior) { in getBehavior()
339 "Unexpected SafetySourceIssue.NotificationBehavior: " + notificationBehavior); in getBehavior()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceIssue.java277 @NotificationBehavior int notificationBehavior, in SafetySourceIssue() argument
291 this.mNotificationBehavior = notificationBehavior; in SafetySourceIssue()
1369 public Builder setNotificationBehavior(@NotificationBehavior int notificationBehavior) { in setNotificationBehavior() argument
1374 mNotificationBehavior = validateNotificationBehavior(notificationBehavior); in setNotificationBehavior()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetySourceIssueTest.kt1044 assertThat(safetySourceIssue.notificationBehavior) in getNotificationBehavior_withDefaultBuilder_returnsUnspecified()
1063 assertThat(safetySourceIssue.notificationBehavior) in getNotificationBehavior_whenSetExplicitly_returnsSpecifiedBehavior()
1081 assertFails { safetySourceIssue.notificationBehavior } in getNotificationBehavior_withVersionLessThanU_throws()