Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DStatusUiDataTest.kt130 assertThat(StatusUiData(DATA_WITH_ISSUES).hasIssues).isTrue() in fromSafetyCenterData_withIssues_hasIssuesIsTrue()
135 assertThat(StatusUiData(DATA_WITHOUT_ISSUES).hasIssues).isFalse() in fromSafetyCenterData_withoutIssues_hasIssuesIsFalse()
192 hasIssues = false, in shouldShowRescanButton_severityOk_noIssues_noPendingActions_isTrue()
205 hasIssues = false, in shouldShowRescanButton_severityUnknown_noIssues_noPendingActions_isTrue()
218 hasIssues = true, in shouldShowRescanButton_hasIssues_isFalse()
231 hasIssues = false, in shouldShowRescanButton_hasPendingActions_isFalse()
249 hasIssues = false, in shouldShowRescanButton_severityNotOkOrUnknown_isFalse()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DStatusUiData.kt17 @get:JvmName("hasIssues") val hasIssues: Boolean = false, constant in com.android.permissioncontroller.safetycenter.ui.model.StatusUiData
23 ) : this(safetyCenterData.status, hasIssues = safetyCenterData.issues.size > 0)
79 return !hasIssues && in shouldShowRescanButton()
95 hasIssues -> null
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java495 boolean hasIssues = in getSafetyCenterEntryGroupSummary()
498 if (hasIssues) { in getSafetyCenterEntryGroupSummary()