Searched refs:PermissionUsagesUiState (Results 1 – 5 of 5) sorted by relevance
68 private val permissionUsagesUiStateFlow: StateFlow<PermissionUsagesUiState> by lazy { in <lambda>()78 PermissionUsagesUiState.Loading in <lambda>()86 fun getPermissionUsagesUiDataFlow(): Flow<PermissionUsagesUiState> { in <lambda>()105 ): PermissionUsagesUiState { in <lambda>()121 return PermissionUsagesUiState.Success( in <lambda>()135 fun updateShowSystem(showSystem: Boolean): PermissionUsagesUiState { in <lambda>()140 fun updateShow7Days(show7Days: Boolean): PermissionUsagesUiState { in <lambda>()164 sealed class PermissionUsagesUiState { class165 data object Loading : PermissionUsagesUiState()169 ) : PermissionUsagesUiState()
23 import com.android.permissioncontroller.permission.ui.viewmodel.v31.PermissionUsagesUiState26 permissionUsagesUiState: PermissionUsagesUiState?,37 fun updatePermissionUsagesUiStateLiveData(newUiData: PermissionUsagesUiState?) { in updatePermissionUsagesUiStateLiveData()
34 import com.android.permissioncontroller.permission.ui.viewmodel.v31.PermissionUsagesUiState in <lambda>()53 val isDataLoaded = permissionUsagesUiData.value is PermissionUsagesUiState.Success in <lambda>()56 val uiState = permissionUsagesUiData.value as PermissionUsagesUiState.Success in <lambda>()70 val uiState = permissionUsagesUiData.value as PermissionUsagesUiState.Success in <lambda>()
33 import com.android.permissioncontroller.permission.ui.viewmodel.v31.PermissionUsagesUiState122 as PermissionUsagesUiState.Success in <lambda>()158 as PermissionUsagesUiState.Success in <lambda>()190 permissionUsageViewModel.updateShowSystem(true) as PermissionUsagesUiState.Success in <lambda>()
48 import com.android.permissioncontroller.permission.ui.viewmodel.v31.PermissionUsagesUiState;292 private void updateAllUI(PermissionUsagesUiState uiData) { in updateAllUI()294 if (getActivity() == null || uiData instanceof PermissionUsagesUiState.Loading) { in updateAllUI()298 PermissionUsagesUiState.Success permissionUsagesUiData = in updateAllUI()299 (PermissionUsagesUiState.Success) uiData; in updateAllUI()