/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | AggregateWithFiltersTest.java | 55 import android.health.connect.AggregateRecordsRequest; 114 AggregateRecordsRequest<Long> request = in dataOriginFilter_noFilter_everythingIncluded() 115 new AggregateRecordsRequest.Builder<Long>( in dataOriginFilter_noFilter_everythingIncluded() 137 AggregateRecordsRequest<Long> request = in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 138 new AggregateRecordsRequest.Builder<Long>( in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 167 AggregateRecordsRequest<Long> requestWithInstantFilter = in dataOriginFilter_invalidApp_noDataReturned() 168 new AggregateRecordsRequest.Builder<Long>(instantFilter) in dataOriginFilter_invalidApp_noDataReturned() 174 AggregateRecordsRequest<Long> requestWithLocalTimeFilter = in dataOriginFilter_invalidApp_noDataReturned() 175 new AggregateRecordsRequest.Builder<Long>(localTimeFilter) in dataOriginFilter_invalidApp_noDataReturned() 212 AggregateRecordsRequest<Long> requestWithInstantFilter = in dataOriginFilter_appNotInPriorityList_noDataReturned() [all …]
|
D | TotalCaloriesAggregationTest.java | 45 import android.health.connect.AggregateRecordsRequest; 98 AggregateRecordsRequest<Energy> request = in totalCaloriesBurned_derivedFromDefaultBasalCalories() 99 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromDefaultBasalCalories() 117 AggregateRecordsRequest<Energy> request = in totalCaloriesBurned_derivedFromWeightAndHeight() 118 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromWeightAndHeight() 133 AggregateRecordsRequest<Energy> request = in totalCaloriesBurned_derivedFromLbm() 134 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromLbm() 148 AggregateRecordsRequest<Energy> request = in totalCaloriesBurned_derivedFromBmr() 149 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromBmr() 166 AggregateRecordsRequest<Energy> request = in totalCaloriesBurned_hasActiveCaloriesData_sumActiveAndBasalCalories() [all …]
|
D | AggregationApisTest.java | 57 import android.health.connect.AggregateRecordsRequest; 112 AggregateRecordsRequest<Long> request = in aggregate_noData_nullResponse() 113 new AggregateRecordsRequest.Builder<Long>( in aggregate_noData_nullResponse() 127 AggregateRecordsRequest<Length> request = in groupByDuration_noData_nullResponses() 128 new AggregateRecordsRequest.Builder<Length>( in groupByDuration_noData_nullResponses() 143 AggregateRecordsRequest<Energy> request = in groupByPeriod_noData_nullResponses() 144 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(time, time.plusDays(2))) in groupByPeriod_noData_nullResponses() 164 AggregateRecordsRequest<Long> aggregateRecordsRequest = in aggregateWithInstantFilter_stepsCountTotal() 165 new AggregateRecordsRequest.Builder<Long>(timeFilter) in aggregateWithInstantFilter_stepsCountTotal() 186 new AggregateRecordsRequest.Builder<Energy>(timeFilter) in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal() [all …]
|
D | BasalCaloriesAggregationTest.java | 38 import android.health.connect.AggregateRecordsRequest; 88 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_BasalCaloriesBurntTotal_noRecord() 105 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_BasalCaloriesBurntTotal_lbm() 117 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_BasalCaloriesBurntTotal_lbm() 138 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_BasalCaloriesBurntTotal_lbm_group() 153 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_BasalCaloriesBurntTotal_lbm_group() 176 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_BasalCaloriesBurntTotal_groupByDuration_lbmDerived() 207 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_BasalCaloriesBurntTotal_profile_group() 223 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_BasalCaloriesBurntTotal_profile_group() 242 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_basalCaloriesBurntTotal_onlyWeightBeforeInterval_usesProfile() [all …]
|
D | ExerciseDurationAggregationTest.java | 30 import android.health.connect.AggregateRecordsRequest; 67 private final AggregateRecordsRequest<Long> mAggregateAllRecordsRequest = 68 new AggregateRecordsRequest.Builder<Long>(mFilterAllSession) 72 private final AggregateRecordsRequest<Long> mAggregateInSmallWindow = 73 new AggregateRecordsRequest.Builder<Long>(mFilterSmallWindow) 225 new AggregateRecordsRequest.Builder<Long>( in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups() 262 new AggregateRecordsRequest.Builder<Long>( in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset() 300 new AggregateRecordsRequest.Builder<Long>( in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval()
|
D | SleepDurationAggregationTest.java | 32 import android.health.connect.AggregateRecordsRequest; 57 private final AggregateRecordsRequest<Long> mAggregateAllRecordsRequest = 58 new AggregateRecordsRequest.Builder<Long>(mFilterAllSession) 161 new AggregateRecordsRequest.Builder<Long>( in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups()
|
D | AggregateOtherAppsDataTest.java | 37 import android.health.connect.AggregateRecordsRequest; 159 new AggregateRecordsRequest.Builder<T>( in assertAggregation()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | AggregateRecordsRequest.java | 28 public final class AggregateRecordsRequest<T> { class 40 private AggregateRecordsRequest( in AggregateRecordsRequest() method in AggregateRecordsRequest 120 public AggregateRecordsRequest<T> build() { in build() 126 return new AggregateRecordsRequest<T>( in build()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | AggregateDataRequestParcel.java | 24 import android.health.connect.AggregateRecordsRequest; 67 public AggregateDataRequestParcel(AggregateRecordsRequest<?> request) { in AggregateDataRequestParcel() 85 public AggregateDataRequestParcel(AggregateRecordsRequest request, Duration duration) { in AggregateDataRequestParcel() 91 public AggregateDataRequestParcel(AggregateRecordsRequest request, Period period) { in AggregateDataRequestParcel()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | StepsRecordTest.java | 48 import android.health.connect.AggregateRecordsRequest; 821 AggregateRecordsRequest<Long> request = in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult() 822 new AggregateRecordsRequest.Builder<Long>( in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult() 851 new AggregateRecordsRequest.Builder<Long>( in testStepsCountAggregation_groupByDurationWithInstantFilter() 871 new AggregateRecordsRequest.Builder<Long>( in testStepsCountAggregation_groupByDuration() 911 new AggregateRecordsRequest.Builder<Long>( in testAggregation_insertForEveryHour_returnsAggregateForHourAndHalfHours() 941 new AggregateRecordsRequest.Builder<Long>( in testAggregation_groupByDurationInstant_halfSizeGroupResultIsCorrect() 963 new AggregateRecordsRequest.Builder<Long>( in testAggregation_StepsCountTotal_withDuplicateEntry() 975 new AggregateRecordsRequest.Builder<Long>( in testAggregation_StepsCountTotal_withDuplicateEntry() 1229 AggregateRecordsRequest<Long> request = in testAggregateGroupByMonthPeriod_slicedCorrectly() [all …]
|
D | HeartRateRecordTest.java | 35 import android.health.connect.AggregateRecordsRequest; 567 new AggregateRecordsRequest.Builder<Long>( in testBpmAggregation_timeRange_all() 611 new AggregateRecordsRequest.Builder<Long>( in testBpmAggregation_timeRange_not_present() 640 new AggregateRecordsRequest.Builder<Long>( in testBpmAggregation_withDataOrigin_correct() 676 new AggregateRecordsRequest.Builder<Long>( in testBpmAggregation_withDataOrigin_incorrect() 715 new AggregateRecordsRequest.Builder<Long>( in testBpmAggregation_groupBy_Duration() 753 new AggregateRecordsRequest.Builder<Long>( in testBpmAggregation_groupByDuration() 821 new AggregateRecordsRequest.Builder<Long>( in testHeartAggregation_measurement_count() 837 new AggregateRecordsRequest.Builder<Long>( in testHeartAggregation_measurement_count() 979 new AggregateRecordsRequest.Builder<Long>( in testAggregateLocalFilter_minOffsetRecord()
|
D | WeightRecordTest.java | 36 import android.health.connect.AggregateRecordsRequest; 552 new AggregateRecordsRequest.Builder<Mass>(filter) in testAggregatePeriodForZoneOffset() 615 new AggregateRecordsRequest.Builder<Mass>( in testAggregateDuration_differentTimeZones_correctBucketTimes() 663 new AggregateRecordsRequest.Builder<Mass>( in testDurationLocalTimeAggregationZoneOffset() 713 new AggregateRecordsRequest.Builder<Mass>( in testAggregateLocalFilter_minOffsetRecord() 760 new AggregateRecordsRequest.Builder<Mass>( in testOffset() 809 new AggregateRecordsRequest.Builder<Mass>( in testAggregateLocalFilter_daysPeriod()
|
D | FloorsClimbedRecordTest.java | 24 import android.health.connect.AggregateRecordsRequest; 232 new AggregateRecordsRequest.Builder<Double>( in testTotalAggregation_oneRecord_returnsItsTotal() 251 new AggregateRecordsRequest.Builder<Double>( in testAggregation_FloorsClimbedTotal() 263 new AggregateRecordsRequest.Builder<Double>( in testAggregation_FloorsClimbedTotal()
|
D | WheelchairPushesRecordTest.java | 24 import android.health.connect.AggregateRecordsRequest; 240 new AggregateRecordsRequest.Builder<Long>( in testAggregation_countTotal() 252 new AggregateRecordsRequest.Builder<Long>( in testAggregation_countTotal()
|
D | NutritionRecordTest.java | 65 import android.health.connect.AggregateRecordsRequest; 441 new AggregateRecordsRequest.Builder<Mass>( in testAggregation_NutritionValuesTotal() 492 new AggregateRecordsRequest.Builder<Mass>( in testAggregation_NutritionValuesTotal() 562 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_NutritionEnergyValuesTotal() 574 new AggregateRecordsRequest.Builder<Energy>( in testAggregation_NutritionEnergyValuesTotal()
|
D | SkinTemperatureRecordTest.java | 28 import android.health.connect.AggregateRecordsRequest; 658 new AggregateRecordsRequest.Builder<TemperatureDelta>( in testAggregation_allTimeRange_correctResults() 692 new AggregateRecordsRequest.Builder<TemperatureDelta>( in testAggregation_nonOverlappedTimeRange_noResults() 726 new AggregateRecordsRequest.Builder<TemperatureDelta>( in testAggregation_groupByDuration_correctResults()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/ |
D | HistoricAccessLimitTest.java | 34 import android.health.connect.AggregateRecordsRequest; 223 new AggregateRecordsRequest.Builder<Long>(timeFilter) in testAggregateIntervalRecords_expectCorrectResponse() 253 new AggregateRecordsRequest.Builder<Mass>(timeFilter) in testAggregateInstantRecords_expectCorrectResponse() 373 new AggregateRecordsRequest.Builder<Mass>(timeFilter) in testAggregateAnotherAppsRecords_recordsAreAfterCutOff_expectCorrectAggregation() 394 new AggregateRecordsRequest.Builder<Mass>(timeFilter) in testAggregateAnotherAppsRecords_recordsAreBeforeCutOff_expectNoAggregation()
|
D | HistoricAccessLimitWithPermissionTest.java | 37 import android.health.connect.AggregateRecordsRequest; 203 new AggregateRecordsRequest.Builder<Long>(timeFilter) in testAggregateIntervalRecords_expectCorrectResponse() 234 new AggregateRecordsRequest.Builder<Mass>(timeFilter) in testAggregateInstantRecords_expectCorrectResponse()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/ |
D | HealthConnectManagerNoPermissionsGrantedTest.java | 56 import android.health.connect.AggregateRecordsRequest; 290 new AggregateRecordsRequest.Builder<>(timeInstantRangeFilter) in testAggregate_noPermissions_expectError() 323 new AggregateRecordsRequest.Builder<>(timeInstantRangeFilter) in testAggregateGroupByDuration_noPermissions_expectError() 359 new AggregateRecordsRequest.Builder<>(localTimeRangeFilter) in testAggregateGroupByPeriod_noPermissions_expectError()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectDeviceTest.java | 66 import android.health.connect.AggregateRecordsRequest; 473 new AggregateRecordsRequest.Builder<Long>( in testAggregateRecords_onlyWritePermissions_requestsOwnDataOnly_succeeds() 494 new AggregateRecordsRequest.Builder<Long>( in testAggregateRecords_onlyWritePermissions_requestsOthersData_throwsHcException() 522 new AggregateRecordsRequest.Builder<Long>( in testAggregateRecords_onlyWritePermissions_allDataRequested_throwsHcException() 542 new AggregateRecordsRequest.Builder<Long>( in testAggregateRecords_someReadAndWritePermissions_requestsOthersData_throwsHcException() 974 AggregateRecordsRequest<Long> aggregateRecordsRequest = in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() 975 new AggregateRecordsRequest.Builder<Long>( in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() 1073 AggregateRecordsRequest<Long> aggregateRecordsRequest = in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority() 1074 new AggregateRecordsRequest.Builder<Long>( in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/ |
D | RateLimiterTest.java | 28 import android.health.connect.AggregateRecordsRequest; 262 AggregateRecordsRequest<Long> aggregateRecordsRequest = in tryAcquireCallQuotaNTimesForRead() 263 new AggregateRecordsRequest.Builder<Long>( in tryAcquireCallQuotaNTimesForRead()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | HealthConnectServiceLogsTests.java | 35 import android.health.connect.AggregateRecordsRequest; 307 new AggregateRecordsRequest.Builder<Long>(getDefaultTimeRangeFilter()) in testHealthConnectAggregatedData() 332 new AggregateRecordsRequest.Builder<Mass>(getDefaultTimeRangeFilter()) in testHealthConnectAggregatedDataError()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/ |
D | LoadDataAggregationsUseCase.kt | 22 import android.health.connect.AggregateRecordsRequest in <lambda>() 110 AggregateRecordsRequest.Builder<T>(timeFilterRange) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/ |
D | LoadDataAggregationsUseCase.kt | 21 import android.health.connect.AggregateRecordsRequest in <lambda>() 134 AggregateRecordsRequest.Builder<T>(timeFilterRange).addAggregationType(aggregationType) in <lambda>()
|
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/ |
D | TestAppReceiver.java | 28 import android.health.connect.AggregateRecordsRequest; 206 AggregateRecordsRequest.Builder<Long> requestBuilder = in aggregateStepsCount() 207 new AggregateRecordsRequest.Builder<Long>( in aggregateStepsCount()
|