Home
last modified time | relevance | path

Searched refs:AggregateRecordsRequest (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateWithFiltersTest.java55 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 …]
DTotalCaloriesAggregationTest.java45 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 …]
DAggregationApisTest.java57 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 …]
DBasalCaloriesAggregationTest.java38 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 …]
DExerciseDurationAggregationTest.java30 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()
DSleepDurationAggregationTest.java32 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()
DAggregateOtherAppsDataTest.java37 import android.health.connect.AggregateRecordsRequest;
159 new AggregateRecordsRequest.Builder<T>( in assertAggregation()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DAggregateRecordsRequest.java28 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/
DAggregateDataRequestParcel.java24 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/
DStepsRecordTest.java48 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 …]
DHeartRateRecordTest.java35 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()
DWeightRecordTest.java36 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()
DFloorsClimbedRecordTest.java24 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()
DWheelchairPushesRecordTest.java24 import android.health.connect.AggregateRecordsRequest;
240 new AggregateRecordsRequest.Builder<Long>( in testAggregation_countTotal()
252 new AggregateRecordsRequest.Builder<Long>( in testAggregation_countTotal()
DNutritionRecordTest.java65 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()
DSkinTemperatureRecordTest.java28 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/
DHistoricAccessLimitTest.java34 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()
DHistoricAccessLimitWithPermissionTest.java37 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/
DHealthConnectManagerNoPermissionsGrantedTest.java56 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/
DHealthConnectDeviceTest.java66 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/
DRateLimiterTest.java28 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/
DHealthConnectServiceLogsTests.java35 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/
DLoadDataAggregationsUseCase.kt22 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/
DLoadDataAggregationsUseCase.kt21 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/
DTestAppReceiver.java28 import android.health.connect.AggregateRecordsRequest;
206 AggregateRecordsRequest.Builder<Long> requestBuilder = in aggregateStepsCount()
207 new AggregateRecordsRequest.Builder<Long>( in aggregateStepsCount()

12