Home
last modified time | relevance | path

Searched refs:setNotificationBehavior (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterNotificationTest.kt158 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_NEVER) in setSafetySourceData_withNotificationBehaviorNever_noNotification()
178 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_DELAYED) in setSafetySourceData_withNotificationBehaviorDelay_noImmediateNotification()
195 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_DELAYED) in setSafetySourceData_withNotificationBehaviorDelay_sendsNotificationAfterDelay()
200 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_NEVER) in setSafetySourceData_withNotificationBehaviorDelay_sendsNotificationAfterDelay()
245 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_DELAYED) in setSafetySourceData_withNotificationBehaviorDelayOfZero_sendsNotificationImmediately()
272 .setNotificationBehavior( in setSafetySourceData_withNotificationBehaviorImmediately_sendsNotification()
361 .setNotificationBehavior( in setSafetySourceData_withNotificationsAllowedForSourceByConfig_sendsNotification()
1151 .setNotificationBehavior( in sendActionPendingIntent_actionIdDiffersFromIssueActionId_successNotification()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetySourceIssueTest.kt1060 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_NEVER) in getNotificationBehavior_whenSetExplicitly_returnsSpecifiedBehavior()
1097 assertFailsWith(IllegalArgumentException::class) { builder.setNotificationBehavior(-1) } in setNotificationBehavior_withInvalidNotificationBehavior_throwsIllegalArgumentException()
1116 assertFails { safetySourceIssueBuilder.setNotificationBehavior(0) } in setNotificationBehavior_withVersionLessThanU_throws()
1569 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_DELAYED) in parcelRoundTrip_recreatesEqual_atLeastUpsideDownCake()
1611 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_DELAYED)
1632 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_IMMEDIATELY)
1780 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_NEVER)
1836 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_DELAYED)
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/
DSafetyCenterNotificationLoggingHelperTests.kt94 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_IMMEDIATELY) in newTestDataWithNotifiableIssue()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DLockScreenSafetySource.java171 .setNotificationBehavior(SafetySourceIssue.NOTIFICATION_BEHAVIOR_DELAYED) in createNoScreenLockIssue()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceIssue.java236 builder.setNotificationBehavior(in.readInt());
1369 public Builder setNotificationBehavior(@NotificationBehavior int notificationBehavior) { in setNotificationBehavior() method in SafetySourceIssue.Builder
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt487 …method @NonNull public android.safetycenter.SafetySourceIssue.Builder setNotificationBehavior(int);