/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | AggregateWithFiltersTest.java | 25 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 117 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_noFilter_everythingIncluded() 121 assertThat(response.get(STEPS_COUNT_TOTAL)).isEqualTo(150); in dataOriginFilter_noFilter_everythingIncluded() 122 assertThat(response.getDataOrigins(STEPS_COUNT_TOTAL)) in dataOriginFilter_noFilter_everythingIncluded() 140 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 145 assertThat(response.get(STEPS_COUNT_TOTAL)).isEqualTo(50); in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 146 assertThat(response.getDataOrigins(STEPS_COUNT_TOTAL)) in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 169 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_invalidApp_noDataReturned() 176 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_invalidApp_noDataReturned() 182 assertThat(aggregateResponse.get(STEPS_COUNT_TOTAL)).isNull(); in dataOriginFilter_invalidApp_noDataReturned() [all …]
|
D | AggregationApisTest.java | 22 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 117 .addAggregationType(STEPS_COUNT_TOTAL) in aggregate_noData_nullResponse() 121 assertThat(response.get(STEPS_COUNT_TOTAL)).isNull(); in aggregate_noData_nullResponse() 166 .addAggregationType(STEPS_COUNT_TOTAL) in aggregateWithInstantFilter_stepsCountTotal() 170 assertThat(response.get(STEPS_COUNT_TOTAL)).isEqualTo(5555); in aggregateWithInstantFilter_stepsCountTotal() 398 .addAggregationType(STEPS_COUNT_TOTAL) in groupByPeriod_withInstantTimeFilter_throws()
|
D | AggregateOtherAppsDataTest.java | 21 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 90 assertAggregation(STEPS_COUNT_TOTAL, 10L); in testAppWithReadPerms_aggregateOtherAppsSteps_expectSuccess()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | StepsRecordTest.java | 20 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 827 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult() 831 assertThat(response.get(STEPS_COUNT_TOTAL)).isEqualTo(500); in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult() 832 assertThat(response.getZoneOffset(STEPS_COUNT_TOTAL)) in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult() 856 .addAggregationType(STEPS_COUNT_TOTAL) in testStepsCountAggregation_groupByDurationWithInstantFilter() 876 .addAggregationType(STEPS_COUNT_TOTAL) in testStepsCountAggregation_groupByDuration() 881 assertThat(response.get(STEPS_COUNT_TOTAL)).isNotNull(); in testStepsCountAggregation_groupByDuration() 882 assertThat(response.get(STEPS_COUNT_TOTAL)).isEqualTo(1000); in testStepsCountAggregation_groupByDuration() 883 assertThat(response.getZoneOffset(STEPS_COUNT_TOTAL)) in testStepsCountAggregation_groupByDuration() 916 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregation_insertForEveryHour_returnsAggregateForHourAndHalfHours() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/ |
D | HealthConnectManagerNoPermissionsGrantedTest.java | 29 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 275 new Pair<>(getStepsRecord(), STEPS_COUNT_TOTAL), in testAggregate_noPermissions_expectError() 310 STEPS_COUNT_TOTAL, in testAggregateGroupByDuration_noPermissions_expectError() 344 STEPS_COUNT_TOTAL, in testAggregateGroupByPeriod_noPermissions_expectError()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/ |
D | HistoricAccessLimitWithPermissionTest.java | 19 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 204 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregateIntervalRecords_expectCorrectResponse() 207 assertThat(totalStepsCountAggregation.get(STEPS_COUNT_TOTAL)) in testAggregateIntervalRecords_expectCorrectResponse()
|
D | HistoricAccessLimitTest.java | 19 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 224 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregateIntervalRecords_expectCorrectResponse() 227 assertThat(totalStepsCountAggregation.get(STEPS_COUNT_TOTAL)) in testAggregateIntervalRecords_expectCorrectResponse()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectDeviceTest.java | 22 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 164 STEPS_COUNT_TOTAL; 980 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() 987 assertThat(oldResponse.get(STEPS_COUNT_TOTAL)).isNotNull(); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() 988 assertThat(oldResponse.get(STEPS_COUNT_TOTAL)).isEqualTo(2000); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() 1016 assertThat(newResponse.get(STEPS_COUNT_TOTAL)).isNotNull(); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() 1017 assertThat(newResponse.get(STEPS_COUNT_TOTAL)).isEqualTo(2500); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()
|
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/ |
D | TestAppReceiver.java | 19 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 212 .addAggregationType(STEPS_COUNT_TOTAL); in aggregateStepsCount() 289 long stepCounts = outcome.getResult().get(STEPS_COUNT_TOTAL); in sendAggregateStepsResult()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthConnectManagerTest.java | 33 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 714 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregation_stepsCountTotal_acrossDST_works() 722 assertThat(aggregateResponse.get(STEPS_COUNT_TOTAL)).isEqualTo(262); in testAggregation_stepsCountTotal_acrossDST_works() 730 assertThat(groupByResponse.get(0).getZoneOffset(STEPS_COUNT_TOTAL)).isEqualTo(utcPlusOne); in testAggregation_stepsCountTotal_acrossDST_works() 731 assertThat(groupByResponse.get(0).get(STEPS_COUNT_TOTAL)).isEqualTo(12); in testAggregation_stepsCountTotal_acrossDST_works() 743 assertThat(groupByResponse.get(1).getZoneOffset(STEPS_COUNT_TOTAL)).isNull(); in testAggregation_stepsCountTotal_acrossDST_works() 747 assertThat(groupByResponse.get(2).getZoneOffset(STEPS_COUNT_TOTAL)).isEqualTo(UTC); in testAggregation_stepsCountTotal_acrossDST_works() 748 assertThat(groupByResponse.get(2).get(STEPS_COUNT_TOTAL)).isEqualTo(250); in testAggregation_stepsCountTotal_acrossDST_works() 1695 .addAggregationType(STEPS_COUNT_TOTAL) in testDataApis_migrationInProgress_apisBlocked() 1725 .addAggregationType(STEPS_COUNT_TOTAL) in testDataApis_migrationInProgress_apisBlocked()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/ |
D | RateLimiterTest.java | 19 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 268 .addAggregationType(STEPS_COUNT_TOTAL) in tryAcquireCallQuotaNTimesForRead()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | StepsRecord.java | 136 public static final AggregationType<Long> STEPS_COUNT_TOTAL = field in StepsRecord
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | AggregationTypeIdMapper.java | 97 import static android.health.connect.datatypes.StepsRecord.STEPS_COUNT_TOTAL; 146 STEPS_COUNT_TOTAL, in AggregationTypeIdMapper()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/ |
D | LoadDataAggregationsUseCase.kt | 78 timeFilterRange, StepsRecord.STEPS_COUNT_TOTAL, input.permissionType) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/ |
D | LoadDataAggregationsUseCase.kt | 89 StepsRecord.STEPS_COUNT_TOTAL, in <lambda>()
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 1635 …ic static final android.health.connect.datatypes.AggregationType<java.lang.Long> STEPS_COUNT_TOTAL;
|