Home
last modified time | relevance | path

Searched refs:addIssue (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetySourceDataTest.kt52 SafetySourceData.Builder().addIssue(createIssue(SEVERITY_LEVEL_INFORMATION)).build() in getStatus_withDefaultBuilder_returnsNull()
78 SafetySourceData.Builder().addIssue(firstIssue).addIssue(secondIssue).build() in getIssues_whenSetExplicitly_returnsIssues()
88 .addIssue(createIssue(SEVERITY_LEVEL_CRITICAL_WARNING, 0)) in getIssues_mutationsAreNotAllowed()
89 .addIssue(createIssue(SEVERITY_LEVEL_RECOMMENDATION, 1)) in getIssues_mutationsAreNotAllowed()
140 .addIssue(firstIssue) in builder_addIssue_doesNotMutatePreviouslyBuiltInstance()
143 safetySourceDataBuilder.addIssue(secondIssue) in builder_addIssue_doesNotMutatePreviouslyBuiltInstance()
155 .addIssue(firstIssue) in clearIssues_removesAllIssues()
156 .addIssue(secondIssue) in clearIssues_removesAllIssues()
172 val builder = SafetySourceData.Builder().addIssue(createIssue(SEVERITY_LEVEL_INFORMATION)) in build_withNoStatusAndInfoIssues_doesNotThrow()
180 SafetySourceData.Builder().addIssue(createIssue(SEVERITY_LEVEL_RECOMMENDATION)) in build_withNoStatusAndRecommendationIssues_doesNotThrow()
[all …]
DSafetyCenterDataTest.kt186 SafetyCenterData.Builder(status1).addIssue(issue1).addIssue(issue2).build() in getIssues_whenSetExplicitly_returnsIssues()
358 val safetyCenterDataBuilder = SafetyCenterData.Builder(status1).addIssue(issue1) in builder_addIssue_doesNotMutatePreviouslyBuiltInstance()
361 safetyCenterDataBuilder.addIssue(issue2) in builder_addIssue_doesNotMutatePreviouslyBuiltInstance()
371 .addIssue(issue1) in builder_clearIssues_removesAllIssues()
372 .addIssue(issue2) in builder_clearIssues_removesAllIssues()
564 .addIssue(issue1) in equalsHashCode_atLeastU_usingEqualsHashCodeToStringTester()
569 .addIssue(issue1) in equalsHashCode_atLeastU_usingEqualsHashCodeToStringTester()
577 .addIssue(issue1) in equalsHashCode_atLeastU_usingEqualsHashCodeToStringTester()
585 .addIssue(issue1) in equalsHashCode_atLeastU_usingEqualsHashCodeToStringTester()
593 .addIssue(issue1) in equalsHashCode_atLeastU_usingEqualsHashCodeToStringTester()
[all …]
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetySourceTestData.kt157 .addIssue(informationIssue) in createTestActivityRedirectPendingIntent()
175 .addIssue(informationIssue) in createTestActivityRedirectPendingIntent()
193 .addIssue(informationIssue) in createTestActivityRedirectPendingIntent()
262 .addIssue(informationIssue) in createTestActivityRedirectPendingIntent()
278 .addIssue( in createTestActivityRedirectPendingIntent()
300 .addIssue(informationIssue) in createTestActivityRedirectPendingIntent()
318 .addIssue(informationIssue) in createTestActivityRedirectPendingIntent()
332 .addIssue(informationIssueWithSubtitle) in createTestActivityRedirectPendingIntent()
432 defaultRecommendationDataBuilder().addIssue(recommendationGeneralIssue).build() in recommendationIssueWithDeduplicationId()
438 .addIssue(recommendationIssueWithActionConfirmation) in recommendationIssueWithDeduplicationId()
[all …]
DSafetyCenterTestData.kt553 issues.forEach(::addIssue) in SafetyCenterData()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterNotificationTest.kt155 .addIssue( in setSafetySourceData_withNotificationBehaviorNever_noNotification()
175 .addIssue( in setSafetySourceData_withNotificationBehaviorDelay_noImmediateNotification()
205 .addIssue(delayedNotificationIssue) in setSafetySourceData_withNotificationBehaviorDelay_sendsNotificationAfterDelay()
210 .addIssue(delayedNotificationIssue) in setSafetySourceData_withNotificationBehaviorDelay_sendsNotificationAfterDelay()
211 .addIssue(neverNotifyIssue) in setSafetySourceData_withNotificationBehaviorDelay_sendsNotificationAfterDelay()
242 .addIssue( in setSafetySourceData_withNotificationBehaviorDelayOfZero_sendsNotificationImmediately()
269 .addIssue( in setSafetySourceData_withNotificationBehaviorImmediately_sendsNotification()
316 .addIssue( in setSafetySourceData_issueWithTwoActions_notificationWithTwoActions()
358 .addIssue( in setSafetySourceData_withNotificationsAllowedForSourceByConfig_sendsNotification()
397 .addIssue( in setSafetySourceData_withCustomNotification_usesCustomValues()
[all …]
DSafetySourceDataFixesTest.kt102 .addIssue( in defaultActionOverride_issue_overridesMatchingActions()
140 .addIssue( in defaultActionOverride_notification_overridesMatchingActions()
180 .addIssue( in defaultActionOverride_sameActionIdDifferentSource_doesNotOverride()
216 .addIssue( in defaultActionOverride_sameSourceDifferentActionId_doesNotOverride()
250 .addIssue( in defaultActionOverride_noDefaultIntent_doesNotOverride()
DSafetyCenterManagerTest.kt2557 .addIssue( in <lambda>()
2563 .addIssue( in <lambda>()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceData.java167 builder.addIssue(issues.get(i));
296 public Builder addIssue(@NonNull SafetySourceIssue safetySourceIssue) { in addIssue() method in SafetySourceData.Builder
DSafetyCenterData.java84 builder.addIssue(issues.get(i));
399 public SafetyCenterData.Builder addIssue(@NonNull SafetyCenterIssue safetyCenterIssue) { in addIssue() method in SafetyCenterData.Builder
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/
DSafetyCenterNotificationLoggingHelperTests.kt91 .addIssue( in newTestDataWithNotifiableIssue()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DDefaultActionOverrideFix.java100 overriddenSafetySourceData.addIssue( in applyFix()
DAndroidLockScreenFix.java93 overriddenData.addIssue(overrideTiramisuIssue(context, issues.get(i))); in applyFix()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DLockScreenSafetySource.java108 safetySourceDataBuilder.addIssue(createNoScreenLockIssue(context, pendingIntent)); in setSafetySourceData()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DSafetyCenterUiDataTest.kt267 builder.addIssue(issue) in createSafetyCenterData()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DNotificationListenerPrivacySourceTest.kt308 pendingIssues.forEach { dataBuilder.addIssue(it) } in createExpectedSafetyCenterData()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DNotificationListenerCheck.kt706 pendingIssues.forEach { dataBuilder.addIssue(it) } in sendIssuesToSafetyCenter()
DAccessibilitySourceService.kt440 pendingIssues.forEach { dataBuilder.addIssue(it) } in sendIssuesToSafetyCenter()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt231 val safetySourceData = SafetySourceData.Builder().addIssue(issue).build() in rescanAndPushDataToSafetyCenter()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java258 builder.addIssue(safetyCenterIssues.get(i)); in assembleSafetyCenterData()
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt86 …method @NonNull public android.safetycenter.SafetyCenterData.Builder addIssue(@NonNull android.saf…
395 …method @NonNull public android.safetycenter.SafetySourceData.Builder addIssue(@NonNull android.saf…
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java953 safetySourceDataBuilder.addIssue(sourceIssue); in sendUserDataToSafetyCenter()