/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetyCenterStatusTest.kt | 34 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_RECOMMENDATION) 65 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_OK) in getSeverityLevel_returnsSeverityLevel() 73 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_CRITICAL_WARNING) in getSeverityLevel_returnsSeverityLevel() 84 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_UNKNOWN) in getSeverityLevel_defaultUnknown() 114 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_UNKNOWN) in getRefreshStatus_defaultNone() 125 SafetyCenterStatus.Builder(baseStatus).setSeverityLevel(-1) in build_withInvalidOverallSeverityLevel_throwsIllegalArgumentException() 164 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_RECOMMENDATION) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 171 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_OK) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 174 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_OK) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 185 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_OK) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
|
D | SafetyCenterEntryGroupTest.kt | 44 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) 49 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_RECOMMENDATION) 58 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) 64 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_RECOMMENDATION) 96 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_RECOMMENDATION) in getSeverityLevel_returnsSeverityLevel() 103 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_UNSPECIFIED) in getSeverityLevel_returnsSeverityLevel() 142 SafetyCenterEntryGroup.Builder(entryGroup1).setSeverityLevel(-1) in build_withInvalidEntrySeverityLevel_throwsIllegalArgumentException() 184 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 200 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_UNKNOWN) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
|
D | SafetyCenterEntryTest.kt | 62 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_UNKNOWN) 93 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_RECOMMENDATION) in getSeverityLevel_returnsSeverityLevel() 100 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) in getSeverityLevel_returnsSeverityLevel() 133 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_UNKNOWN) in isEnabled_defaultTrue() 174 SafetyCenterEntry.Builder(entry1).setSeverityLevel(-1) in build_withInvalidEntrySeverityLevel_throwsIllegalArgumentException() 222 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 234 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 254 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_CRITICAL_WARNING) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
|
D | SafetyCenterEntryOrGroupTest.kt | 44 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) 49 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_RECOMMENDATION) 55 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) 61 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_RECOMMENDATION)
|
D | SafetyCenterIssueTest.kt | 69 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_OK) 77 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_OK) 146 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_RECOMMENDATION) in getSeverityLevel_returnsSeverityLevel() 153 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_CRITICAL_WARNING) in getSeverityLevel_returnsSeverityLevel() 222 SafetyCenterIssue.Builder(issue1).setSeverityLevel(-1) in build_withInvalidIssueSeverityLevel_throwsIllegalArgumentException() 308 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_OK) in parcelRoundTrip_recreatesEqual_atLeastAndroidU() 548 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_OK) in newUpsideDownCakeEqualsHashCodeToStringTester() 679 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_OK) 684 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_OK) 700 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_CRITICAL_WARNING)
|
D | SafetyCenterDataTest.kt | 58 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_RECOMMENDATION) 62 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_OK) 67 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_OK) 71 .setSeverityLevel(SafetyCenterIssue.ISSUE_SEVERITY_LEVEL_RECOMMENDATION) 77 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_OK) 82 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_RECOMMENDATION) 87 .setSeverityLevel(SafetyCenterEntry.ENTRY_SEVERITY_LEVEL_RECOMMENDATION)
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestData.kt | 84 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_UNKNOWN) 109 .setSeverityLevel(overallSeverityLevel) in safetyCenterStatusOneAlert() 126 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_OK) in safetyCenterStatusOneAlert() 143 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_OK) in safetyCenterStatusOneAlert() 157 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_CRITICAL_WARNING) in safetyCenterStatusOneAlert() 172 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_UNKNOWN) in safetyCenterStatusOneAlert() 200 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_UNSPECIFIED) in safetyCenterStatusOneAlert() 222 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_UNSPECIFIED) in safetyCenterStatusOneAlert() 240 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_OK) in safetyCenterStatusOneAlert() 265 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_RECOMMENDATION) in safetyCenterStatusOneAlert() [all …]
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/ |
D | StatusUiDataTest.kt | 244 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_OK) 250 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_RECOMMENDATION) 260 SafetyCenterStatus.Builder(STATUS).setSeverityLevel(severityLevel).build()
|
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ |
D | SafetyCenterManagerTest.kt | 161 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_OK) in <lambda>() 169 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_UNKNOWN) in <lambda>() 178 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_OK) in <lambda>() 188 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_OK) in <lambda>() 200 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_OK) in <lambda>() 210 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_RECOMMENDATION) in <lambda>() 220 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_RECOMMENDATION) in <lambda>() 230 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_RECOMMENDATION) in <lambda>() 240 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_CRITICAL_WARNING) in <lambda>() 250 .setSeverityLevel(OVERALL_SEVERITY_LEVEL_CRITICAL_WARNING) in <lambda>() [all …]
|
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/ |
D | SafetyCenterMultiUsersTest.kt | 203 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_UNSPECIFIED) 507 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_UNKNOWN) in getSafetyCenterData_withComplexConfigWithoutWorkProfile_returnsPrimaryDataFromConfig() 545 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_UNKNOWN) in getSafetyCenterData_withComplexConfigWithoutDataProvided_returnsDataFromConfig() 597 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_CRITICAL_WARNING) in getSafetyCenterData_withComplexConfigWithPrimaryDataProvided_returnsPrimaryDataProvided() 706 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_CRITICAL_WARNING) in getSafetyCenterData_withComplexConfigWithAllDataProvided_returnsAllDataProvided() 765 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_CRITICAL_WARNING) in getSafetyCenterData_withQuietMode_shouldHaveWorkProfilePausedSummaryAndNoWorkIssues() 846 .setSeverityLevel(ENTRY_SEVERITY_LEVEL_UNKNOWN) in getSafetyCenterData_afterManagedProfileRemoved_returnsDefaultData()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetyCenterStatus.java | 127 .setSeverityLevel(in.readInt()) 267 public Builder setSeverityLevel(@OverallSeverityLevel int severityLevel) { in setSeverityLevel() method in SafetyCenterStatus.Builder
|
D | SafetyCenterEntryGroup.java | 56 .setSeverityLevel(in.readInt()) 245 public Builder setSeverityLevel(@SafetyCenterEntry.EntrySeverityLevel int severityLevel) { in setSeverityLevel() method in SafetyCenterEntryGroup.Builder
|
D | SafetyCenterEntry.java | 140 .setSeverityLevel(in.readInt()) 368 public Builder setSeverityLevel(@EntrySeverityLevel int severityLevel) { in setSeverityLevel() method in SafetyCenterEntry.Builder
|
D | SafetyCenterIssue.java | 101 .setSeverityLevel(in.readInt()) 418 public Builder setSeverityLevel(@IssueSeverityLevel int severityLevel) { in setSeverityLevel() method in SafetyCenterIssue.Builder
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterDataFactory.java | 118 .setSeverityLevel(SafetyCenterStatus.OVERALL_SEVERITY_LEVEL_UNKNOWN) in getDefaultSafetyCenterData() 247 .setSeverityLevel(safetyCenterOverallState.getOverallSeverityLevel()) in assembleSafetyCenterData() 328 .setSeverityLevel(safetyCenterIssueSeverityLevel) in toSafetyCenterIssue() 448 .setSeverityLevel(groupSafetyCenterEntryLevel) in addSafetyCenterEntryGroup() 648 .setSeverityLevel(severityLevel) in toSafetyCenterEntry() 730 .setSeverityLevel(entrySeverityLevel) in toDefaultSafetyCenterEntry()
|
/packages/modules/Permission/framework-s/api/ |
D | system-current.txt | 112 method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setSeverityLevel(int); 147 … method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSeverityLevel(int); 236 method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setSeverityLevel(int); 333 method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setSeverityLevel(int);
|