Searched refs:RecentAccessState (Results 1 – 6 of 6) sorted by relevance
50 import com.android.healthconnect.controller.recentaccess.RecentAccessViewModel.RecentAccessState in <lambda>()229 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(listOf(recentApp))) in <lambda>()264 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(listOf(recentApp))) in <lambda>()307 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(listOf(recentApp))) in <lambda>()324 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(emptyList())) in <lambda>()351 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(emptyList())) in <lambda>()372 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(emptyList())) in <lambda>()397 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(emptyList())) in <lambda>()425 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(emptyList())) in <lambda>()461 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(emptyList())) in <lambda>()[all …]
25 import com.android.healthconnect.controller.recentaccess.RecentAccessViewModel.RecentAccessState.Lo… in <lambda>()53 private val _recentAccessApps = MutableLiveData<RecentAccessState>() in <lambda>()54 val recentAccessApps: LiveData<RecentAccessState> in <lambda>()59 if (_recentAccessApps.value !is RecentAccessState.WithData) { in <lambda>()65 _recentAccessApps.postValueIfUpdated(RecentAccessState.WithData(clusters)) in <lambda>()67 _recentAccessApps.postValueIfUpdated(RecentAccessState.Error) in <lambda>()214 sealed class RecentAccessState { in <lambda>() class in com.android.healthconnect.controller.recentaccess.RecentAccessViewModel215 object Loading : RecentAccessState() in <lambda>()216 object Error : RecentAccessState() in <lambda>()217 data class WithData(val recentAccessEntries: List<RecentAccessEntry>) : RecentAccessState() in <lambda>()
33 import com.android.healthconnect.controller.recentaccess.RecentAccessViewModel.RecentAccessState in <lambda>()127 is RecentAccessState.Loading -> { in <lambda>()130 is RecentAccessState.Error -> { in <lambda>()133 is RecentAccessState.WithData -> { in <lambda>()
32 import com.android.healthconnect.controller.recentaccess.RecentAccessViewModel.RecentAccessState116 MutableLiveData<RecentAccessState>( in test_RecentAccessFragment_displaysCorrectly()117 RecentAccessState.WithData(listOf(recentApp1, recentApp2))) in test_RecentAccessFragment_displaysCorrectly()173 MutableLiveData<RecentAccessState>( in test_RecentAccessFragment_inactiveApp_doesNotNavigate()174 RecentAccessState.WithData(listOf(recentApp1, recentApp2))) in test_RecentAccessFragment_inactiveApp_doesNotNavigate()205 MutableLiveData<RecentAccessState>(RecentAccessState.WithData(listOf(recentApp))) in test_RecentAccessFragment_display12HourFormatCorrectly()
26 import com.android.healthconnect.controller.recentaccess.RecentAccessViewModel.RecentAccessState in <lambda>()129 val testObserver = TestObserver<RecentAccessState>() in <lambda>()212 val testObserver = TestObserver<RecentAccessState>() in <lambda>()292 val testObserver = TestObserver<RecentAccessState>() in <lambda>()343 val testObserver = TestObserver<RecentAccessState>() in <lambda>()403 val testObserver = TestObserver<RecentAccessState>() in <lambda>()455 val testObserver = TestObserver<RecentAccessState>() in <lambda>()546 val testObserver = TestObserver<RecentAccessState>() in <lambda>()586 state: RecentAccessState?, in <lambda>()589 assertThat(state).isInstanceOf(RecentAccessState.WithData::class.java) in <lambda>()[all …]
42 import com.android.healthconnect.controller.recentaccess.RecentAccessViewModel.RecentAccessState in <lambda>()163 is RecentAccessState.WithData -> { in <lambda>()