Home
last modified time | relevance | path

Searched refs:PerformanceReadRecordsState (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/viewmodels/
DPerformanceTestingViewModel.kt35 private val _performanceReadRecordsState = MutableLiveData<PerformanceReadRecordsState>()
36 val performanceReadRecordsState: LiveData<PerformanceReadRecordsState>
45 _performanceReadRecordsState.postValue(PerformanceReadRecordsState.BeginReading) in beginReadingData()
165 _performanceReadRecordsState.postValue(PerformanceReadRecordsState.Success) in readRecordsForPerformanceTesting()
168 PerformanceReadRecordsState.Error(ex.localizedMessage)) in readRecordsForPerformanceTesting()
194 PerformanceReadRecordsState.ReadingOverSpanOfTime(frequency)) in readRecordsForPerformanceTestingOverASpanOfTime()
197 PerformanceReadRecordsState.Error(ex.localizedMessage)) in readRecordsForPerformanceTestingOverASpanOfTime()
234 sealed class PerformanceReadRecordsState { class
235 data class Error(val errorMessage: String) : PerformanceReadRecordsState()
236 object Success : PerformanceReadRecordsState()
[all …]
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DPerformanceTestingFragment.kt17 …d.healthconnect.testapps.toolbox.viewmodels.PerformanceTestingViewModel.PerformanceReadRecordsState in <lambda>()
67 is PerformanceReadRecordsState.Error -> { in <lambda>()
74 is PerformanceReadRecordsState.Success -> { in <lambda>()
79 is PerformanceReadRecordsState.BeginReading -> { in <lambda>()
82 is PerformanceReadRecordsState.ReadingOverSpanOfTime -> { in <lambda>()