Searched refs:StatusUiData (Results 1 – 7 of 7) sorted by relevance
33 import com.android.permissioncontroller.safetycenter.ui.model.StatusUiData54 StatusUiData(STATUS, hasPendingActions = false).copyForPendingActions(true) in copyForPendingActions_setsCorrectPendingActionsValue()56 StatusUiData(STATUS, hasPendingActions = true).copyForPendingActions(false) in copyForPendingActions_setsCorrectPendingActionsValue()64 assertThat(StatusUiData(STATUS).title).isEqualTo(STATUS.title) in getTitle_returnsTitle()65 assertThat(StatusUiData(ANOTHER_STATUS).title).isEqualTo(ANOTHER_STATUS.title) in getTitle_returnsTitle()66 assertThat(StatusUiData(SafetyCenterData(STATUS, listOf(), listOf(), listOf())).title) in getTitle_returnsTitle()72 assertThat(StatusUiData(STATUS).originalSummary).isEqualTo(STATUS.summary) in getOriginalSummary_returnsOriginalSummary()73 assertThat(StatusUiData(ANOTHER_STATUS).originalSummary).isEqualTo(ANOTHER_STATUS.summary) in getOriginalSummary_returnsOriginalSummary()75 StatusUiData(SafetyCenterData(STATUS, listOf(), listOf(), listOf())).originalSummary in getOriginalSummary_returnsOriginalSummary()82 assertThat(StatusUiData(STATUS).severityLevel).isEqualTo(STATUS.severityLevel) in getSeverityLevel_returnsSeverityLevel()[all …]
28 import com.android.permissioncontroller.safetycenter.ui.model.StatusUiData52 fun showButtons(statusUiData: StatusUiData) { in showButtons()56 StatusUiData.ButtonToShow.RESCAN -> { in showButtons()60 StatusUiData.ButtonToShow.REVIEW_SETTINGS -> { in showButtons()
15 data class StatusUiData( dataClass30 private val TAG: String = StatusUiData::class.java.simpleName in copyForPendingActions()
49 override val statusUiLiveData: LiveData<StatusUiData> in <lambda>()50 get() = safetyCenterUiLiveData.map { StatusUiData(it.safetyCenterData) } in <lambda>()
34 abstract val statusUiLiveData: LiveData<StatusUiData>
41 import com.android.permissioncontroller.safetycenter.ui.model.StatusUiData;55 @Nullable private StatusUiData mStatus;338 StatusUiData.Companion.getStatusImageResId( in setSettledStatus()342 void setData(StatusUiData statusUiData) { in setData()
56 import com.android.permissioncontroller.safetycenter.ui.model.StatusUiData;184 private void updateStatus(StatusUiData statusUiData) { in updateStatus()