Home
last modified time | relevance | path

Searched refs:loadDataAggregationsUseCase (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadMostRecentAggregationsUseCaseTest.kt51 private val loadDataAggregationsUseCase = FakeLoadDataAggregationsUseCase() in formattedAggregation() constant in com.android.healthconnect.controller.tests.datasources.api.LoadMostRecentAggregationsUseCaseTest
68 loadDataAggregationsUseCase, in formattedAggregation()
76 loadDataAggregationsUseCase.reset() in tearDown()
94 loadDataAggregationsUseCase.updateAggregationResponses( in <lambda>()
131 loadDataAggregationsUseCase.updateAggregationResponses( in loadMostRecentAggregations_forActivity_whenNoStepsData_returnsInOrder_DistanceCalories()
164 loadDataAggregationsUseCase.updateAggregationResponses( in loadMostRecentAggregations_forActivity_whenNoDistanceData_returnsInOrder_StepsCalories()
197 loadDataAggregationsUseCase.updateAggregationResponses( in loadMostRecentAggregations_forActivity_whenNoCaloriesData_returnsInOrder_StepsDistance()
231 loadDataAggregationsUseCase.updateAggregationResponses(listOf(expectedSleepAggregation)) in loadMostRecentAggregations_forSleep_sessionsSpanOneDay_returnsAggregationInfoForOneDay()
257 loadDataAggregationsUseCase.updateAggregationResponses(listOf(expectedSleepAggregation)) in loadMostRecentAggregations_forSleep_sessionsSpanTwoDays_returnsAggregationInfoWithStartAndEndTime()
286 assertThat(loadDataAggregationsUseCase.invocationCount).isEqualTo(0) in loadMostRecentAggregations_whenLoadLastDateWithPriorityDataFails_returnsFailure()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadDataAggregationsUseCaseTest.kt54 private lateinit var loadDataAggregationsUseCase: LoadDataAggregationsUseCase in <lambda>() variable in com.android.healthconnect.controller.tests.data.entries.api.LoadDataAggregationsUseCaseTest
69 loadDataAggregationsUseCase = in <lambda>()
97 val result = loadDataAggregationsUseCase.invoke(input) in <lambda>()
120 val result = loadDataAggregationsUseCase.invoke(input) in <lambda>()
142 val result = loadDataAggregationsUseCase.invoke(input) in <lambda>()
165 val result = loadDataAggregationsUseCase.invoke(input) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DLoadMostRecentAggregationsUseCase.kt37 private val loadDataAggregationsUseCase: ILoadDataAggregationsUseCase, in <lambda>() constant in com.android.healthconnect.controller.datasources.api.LoadMostRecentAggregationsUseCase
123 return when (val useCaseResult = loadDataAggregationsUseCase.invoke(input)) { in <lambda>()
171 return when (val useCaseResult = loadDataAggregationsUseCase.invoke(aggregationInput)) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragmentViewModel.kt42 private val loadDataAggregationsUseCase: LoadDataAggregationsUseCase constant in com.android.healthconnect.controller.dataentries.DataEntriesFragmentViewModel
94 return loadDataAggregationsUseCase.invoke(input) in loadAggregation()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DEntriesViewModel.kt50 private val loadDataAggregationsUseCase: ILoadDataAggregationsUseCase constant in com.android.healthconnect.controller.data.entries.EntriesViewModel
161 return loadDataAggregationsUseCase.invoke(input) in loadAggregation()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/service/
DUseCaseModule.kt173 loadDataAggregationsUseCase: LoadDataAggregationsUseCase, in providesMostRecentAggregationsUseCase()
179 loadDataAggregationsUseCase, in providesMostRecentAggregationsUseCase()