/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetySourceDataTest.kt | 52 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 …]
|
D | SafetyCenterDataTest.kt | 186 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/ |
D | SafetySourceTestData.kt | 157 .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 …]
|
D | SafetyCenterTestData.kt | 553 issues.forEach(::addIssue) in SafetyCenterData()
|
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ |
D | SafetyCenterNotificationTest.kt | 155 .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 …]
|
D | SafetySourceDataFixesTest.kt | 102 .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()
|
D | SafetyCenterManagerTest.kt | 2557 .addIssue( in <lambda>() 2563 .addIssue( in <lambda>()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetySourceData.java | 167 builder.addIssue(issues.get(i)); 296 public Builder addIssue(@NonNull SafetySourceIssue safetySourceIssue) { in addIssue() method in SafetySourceData.Builder
|
D | SafetyCenterData.java | 84 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/ |
D | SafetyCenterNotificationLoggingHelperTests.kt | 91 .addIssue( in newTestDataWithNotifiableIssue()
|
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | DefaultActionOverrideFix.java | 100 overriddenSafetySourceData.addIssue( in applyFix()
|
D | AndroidLockScreenFix.java | 93 overriddenData.addIssue(overrideTiramisuIssue(context, issues.get(i))); in applyFix()
|
/packages/apps/Settings/src/com/android/settings/safetycenter/ |
D | LockScreenSafetySource.java | 108 safetySourceDataBuilder.addIssue(createNoScreenLockIssue(context, pendingIntent)); in setSafetySourceData()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/ |
D | SafetyCenterUiDataTest.kt | 267 builder.addIssue(issue) in createSafetyCenterData()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/ |
D | NotificationListenerPrivacySourceTest.kt | 308 pendingIssues.forEach { dataBuilder.addIssue(it) } in createExpectedSafetyCenterData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/ |
D | NotificationListenerCheck.kt | 706 pendingIssues.forEach { dataBuilder.addIssue(it) } in sendIssuesToSafetyCenter()
|
D | AccessibilitySourceService.kt | 440 pendingIssues.forEach { dataBuilder.addIssue(it) } in sendIssuesToSafetyCenter()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/ |
D | HibernationPolicy.kt | 231 val safetySourceData = SafetySourceData.Builder().addIssue(issue).build() in rescanAndPushDataToSafetyCenter()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterDataFactory.java | 258 builder.addIssue(safetyCenterIssues.get(i)); in assembleSafetyCenterData()
|
/packages/modules/Permission/framework-s/api/ |
D | system-current.txt | 86 …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/ |
D | LocationAccessCheck.java | 953 safetySourceDataBuilder.addIssue(sourceIssue); in sendUserDataToSafetyCenter()
|