Searched refs:hasPendingActions (Results 1 – 3 of 3) sorted by relevance
54 StatusUiData(STATUS, hasPendingActions = false).copyForPendingActions(true) in copyForPendingActions_setsCorrectPendingActionsValue()56 StatusUiData(STATUS, hasPendingActions = true).copyForPendingActions(false) in copyForPendingActions_setsCorrectPendingActionsValue()58 assertThat(copiedWithPendingActions.hasPendingActions).isTrue() in copyForPendingActions_setsCorrectPendingActionsValue()59 assertThat(copiedWithoutPendingActions.hasPendingActions).isFalse() in copyForPendingActions_setsCorrectPendingActionsValue()93 val dataWithoutPendingActions = StatusUiData(STATUS, hasPendingActions = false) in getSummary_withoutPendingActions_returnsOriginalSummary()106 val actualSummary = StatusUiData(STATUS, hasPendingActions = true).getSummary(mockContext) in getSummary_withPendingActions_returnsQsSummary()140 assertThat(StatusUiData(STATUS).hasPendingActions).isFalse() in hasPendingActions_defaultsFalse()141 assertThat(StatusUiData(DATA_WITH_ISSUES).hasPendingActions).isFalse() in hasPendingActions_defaultsFalse()193 hasPendingActions = false in shouldShowRescanButton_severityOk_noIssues_noPendingActions_isTrue()206 hasPendingActions = false in shouldShowRescanButton_severityUnknown_noIssues_noPendingActions_isTrue()[all …]
18 @get:JvmName("hasPendingActions") val hasPendingActions: Boolean = false constant in com.android.permissioncontroller.safetycenter.ui.model.StatusUiData26 fun copyForPendingActions(hasPendingActions: Boolean) = in copyForPendingActions()27 copy(hasPendingActions = hasPendingActions) in copyForPendingActions()54 return if (hasPendingActions) { in getSummary()80 !hasPendingActions && in shouldShowRescanButton()96 hasPendingActions -> ButtonToShow.REVIEW_SETTINGS
188 boolean hasPendingActions = in updateStatus()193 statusUiData = statusUiData.copyForPendingActions(hasPendingActions); in updateStatus()