Home
last modified time | relevance | path

Searched refs:refreshStatus (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterStatus.java147 @RefreshStatus int refreshStatus) { in SafetyCenterStatus() argument
151 mRefreshStatus = refreshStatus; in SafetyCenterStatus()
276 public Builder setRefreshStatus(@RefreshStatus int refreshStatus) { in setRefreshStatus() argument
277 mRefreshStatus = validateRefreshStatus(refreshStatus); in setRefreshStatus()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java236 int refreshStatus = mSafetyCenterRefreshTracker.getRefreshStatus(); in assembleSafetyCenterData() local
242 refreshStatus, in assembleSafetyCenterData()
247 refreshStatus, in assembleSafetyCenterData()
252 .setRefreshStatus(refreshStatus) in assembleSafetyCenterData()
1054 @SafetyCenterStatus.RefreshStatus int refreshStatus, in getSafetyCenterStatusTitle() argument
1059 getSafetyCenterRefreshStatusTitle(refreshStatus, overallSeverityUnknown); in getSafetyCenterStatusTitle()
1132 @SafetyCenterStatus.RefreshStatus int refreshStatus, in getSafetyCenterStatusSummary() argument
1136 String refreshStatusSummary = getSafetyCenterRefreshStatusSummary(refreshStatus); in getSafetyCenterStatusSummary()
1196 @SafetyCenterStatus.RefreshStatus int refreshStatus, boolean overallSeverityUnknown) { in getSafetyCenterRefreshStatusTitle()
1197 switch (refreshStatus) { in getSafetyCenterRefreshStatusTitle()
[all …]
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestListener.kt84 it.status.refreshStatus == SafetyCenterStatus.REFRESH_STATUS_DATA_FETCH_IN_PROGRESS || in waitForSafetyCenterRefresh()
85 it.status.refreshStatus == SafetyCenterStatus.REFRESH_STATUS_FULL_RESCAN_IN_PROGRESS in waitForSafetyCenterRefresh()
89 it.status.refreshStatus == SafetyCenterStatus.REFRESH_STATUS_NONE in waitForSafetyCenterRefresh()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterStatusTest.kt97 .refreshStatus in getRefreshStatus_returnsRefreshStatus()
105 .refreshStatus in getRefreshStatus_returnsRefreshStatus()
116 .refreshStatus in getRefreshStatus_defaultNone()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DStatusUiDataTest.kt281 fun uiDataForRefreshStatus(refreshStatus: Int) =
282 StatusUiData(SafetyCenterStatus.Builder(STATUS).setRefreshStatus(refreshStatus).build())
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DStatusUiData.kt72 when (status.refreshStatus) {
DLiveSafetyCenterViewModel.kt298 status.refreshStatus == SafetyCenterStatus.REFRESH_STATUS_FULL_RESCAN_IN_PROGRESS in SafetyCenterData()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt877 assertThat(status1.refreshStatus).isEqualTo(REFRESH_STATUS_FULL_RESCAN_IN_PROGRESS) in <lambda>()
883 assertThat(status2.refreshStatus).isEqualTo(REFRESH_STATUS_NONE) in <lambda>()
901 assertThat(status1.refreshStatus).isEqualTo(REFRESH_STATUS_DATA_FETCH_IN_PROGRESS) in <lambda>()
907 assertThat(status2.refreshStatus).isEqualTo(REFRESH_STATUS_NONE) in <lambda>()
926 assertThat(status1.refreshStatus).isEqualTo(REFRESH_STATUS_DATA_FETCH_IN_PROGRESS) in <lambda>()
931 assertThat(status2.refreshStatus).isEqualTo(REFRESH_STATUS_NONE) in <lambda>()