/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | AggregateWithFiltersTest.java | 30 import static android.healthconnect.cts.aggregation.DataFactory.getTimeFilter; 116 getTimeFilter(startTime.minus(1, HOURS), startTime.plus(1, HOURS))) in dataOriginFilter_noFilter_everythingIncluded() 139 getTimeFilter(startTime.minus(1, HOURS), startTime.plus(1, HOURS))) in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 166 getTimeFilter(startTime.minus(1, HOURS), startTime.plus(1, HOURS)); in dataOriginFilter_invalidApp_noDataReturned() 173 getTimeFilter(localTime.minusHours(1), localTime.plusHours(1)); in dataOriginFilter_invalidApp_noDataReturned() 211 getTimeFilter(startTime.minus(1, HOURS), startTime.plus(1, HOURS)); in dataOriginFilter_appNotInPriorityList_noDataReturned() 218 getTimeFilter(localTime.minusHours(1), localTime.plusHours(1)); in dataOriginFilter_appNotInPriorityList_noDataReturned() 252 getTimeFilter(startTime.minus(1, HOURS), startTime.plus(1, HOURS)); in dataOriginFilter_noDataFromFilteredApps_noDataReturned() 259 getTimeFilter(localTime.minusHours(1), localTime.plusHours(1)); in dataOriginFilter_noDataFromFilteredApps_noDataReturned() 293 TimeInstantRangeFilter instantFilter = getTimeFilter(startTime.minus(1, HOURS), startTime); in timeRangeFilter_noDataWithinTimeInterval_noDataReturned() [all …]
|
D | AggregationApisTest.java | 27 import static android.healthconnect.cts.aggregation.DataFactory.getTimeFilter; 129 getTimeFilter(time, time.plus(2, HOURS))) in groupByDuration_noData_nullResponses() 144 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(time, time.plusDays(2))) in groupByPeriod_noData_nullResponses() 163 TimeInstantRangeFilter timeFilter = getTimeFilter(time.minus(1, DAYS), time.plus(2, DAYS)); in aggregateWithInstantFilter_stepsCountTotal() 182 getTimeFilter(time.minus(2, HOURS), time.plus(4, HOURS)); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal() 220 getTimeFilter(localTime.minusMinutes(40), localTime.plusMinutes(40)); in groupByDurationWithLocalFilter_distanceTotal() 263 new AggregateRecordsRequest.Builder<Mass>(getTimeFilter(startTime, localTime)) in groupByPeriod_weightAvg() 299 TimeInstantRangeFilter timeFilter = getTimeFilter(time.minus(90, DAYS), time); in aggregateWithInstantFilter_weightMax() 317 TimeInstantRangeFilter timeFilter = getTimeFilter(time.minus(25, DAYS), time.plus(1, DAYS)); in groupByDurationWithInstantFilter_weightMin() 367 LocalTimeRangeFilter timeFilter = getTimeFilter(localTime, localTime.plusDays(1)); in groupByPeriod_stepsCadenceMax() [all …]
|
D | TotalCaloriesAggregationTest.java | 25 import static android.healthconnect.cts.aggregation.DataFactory.getTimeFilter; 99 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromDefaultBasalCalories() 118 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromWeightAndHeight() 134 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromLbm() 149 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromBmr() 167 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_hasActiveCaloriesData_sumActiveAndBasalCalories() 185 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_hasTotalCaloriesData_addBasalCaloriesAtGaps() 210 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_hasActiveAndTotalCaloriesData_addBasalCaloriesAtGaps() 234 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_totalCaloriesDataWithoutGap_equalsToTotalCalories() 252 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(5, DAYS), now)) in totalCaloriesBurned_deriveBasalAndActiveAndTotalCalories()
|
D | DataFactory.java | 74 static TimeInstantRangeFilter getTimeFilter(Instant start, Instant end) { in getTimeFilter() method in DataFactory 79 static LocalTimeRangeFilter getTimeFilter(LocalDateTime start, LocalDateTime end) { in getTimeFilter() method in DataFactory
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/ |
D | LoadEntriesHelper.kt | 94 getTimeFilter(input.displayedStartTime, input.period, endTimeExclusive = true) in <lambda>() 105 getTimeFilter(input.displayedStartTime, input.period, endTimeExclusive = true) in <lambda>() 203 fun getTimeFilter( in <lambda>() method in com.android.healthconnect.controller.data.entries.api.LoadEntriesHelper 223 fun getTimeFilter(startTime: Instant, endTime: Instant): TimeInstantRangeFilter { in <lambda>() method
|
D | LoadMenstruationDataUseCase.kt | 68 loadEntriesHelper.getTimeFilter(selectedDate, period, endTimeExclusive = true) in <lambda>() 104 loadEntriesHelper.getTimeFilter(selectedDate, period, endTimeExclusive = true) in <lambda>()
|
D | LoadDataAggregationsUseCase.kt | 76 loadEntriesHelper.getTimeFilter( in <lambda>() 80 loadEntriesHelper.getTimeFilter(input.startTime, input.endTime) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/ |
D | LoadDataEntriesUseCase.kt | 56 val timeFilterRange = getTimeFilter(input.selectedDate) in <lambda>() 61 private fun getTimeFilter(selectedDate: Instant): TimeInstantRangeFilter { in <lambda>() method
|
D | LoadDataAggregationsUseCase.kt | 73 val timeFilterRange = getTimeFilter(input.selectedDate) in <lambda>() 175 private fun getTimeFilter(selectedDate: Instant): TimeInstantRangeFilter { in <lambda>() method in com.android.healthconnect.controller.dataentries.LoadDataAggregationsUseCase
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/ |
D | LoadPriorityEntriesUseCaseTest.kt | 337 loadEntriesHelper.getTimeFilter( in <lambda>()
|
D | LoadLastDateWithPriorityDataUseCaseTest.kt | 482 loadEntriesHelper.getTimeFilter( in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/ |
D | LoadEntriesHelperUseCaseTest.kt | 627 loadEntriesHelper.getTimeFilter(defaultStartTime.atStartOfDay(), timePeriod, true) in <lambda>()
|