Home
last modified time | relevance | path

Searched refs:SLEEP_DURATION_TOTAL (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DSleepDurationAggregationTest.java19 import static android.health.connect.datatypes.SleepSessionRecord.SLEEP_DURATION_TOTAL;
59 .addAggregationType(SLEEP_DURATION_TOTAL)
94 assertThat(response.get(SLEEP_DURATION_TOTAL)).isNotNull(); in testSimpleAggregation_oneSession_returnsItsDuration()
95 assertThat(response.get(SLEEP_DURATION_TOTAL)) in testSimpleAggregation_oneSession_returnsItsDuration()
99 assertThat(response.getZoneOffset(SLEEP_DURATION_TOTAL)) in testSimpleAggregation_oneSession_returnsItsDuration()
138 assertThat(response.get(SLEEP_DURATION_TOTAL)).isNotNull(); in testSimpleAggregation_oneSessionWithAwake_returnsDurationMinusAwake()
142 assertThat(response.get(SLEEP_DURATION_TOTAL)) in testSimpleAggregation_oneSessionWithAwake_returnsDurationMinusAwake()
166 .addAggregationType(SLEEP_DURATION_TOTAL) in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups()
173 assertThat(response.get(SLEEP_DURATION_TOTAL)).isEqualTo(3600000); in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups()
DAggregateOtherAppsDataTest.java143 SleepSessionRecord.SLEEP_DURATION_TOTAL, in testAppWithReadPerms_aggregateOtherAppsSleep_expectSuccess()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNoPermissionsGrantedTest.java28 import static android.health.connect.datatypes.SleepSessionRecord.SLEEP_DURATION_TOTAL;
278 new Pair<>(buildSleepSession(), SLEEP_DURATION_TOTAL), in testAggregate_noPermissions_expectError()
313 SLEEP_DURATION_TOTAL, in testAggregateGroupByDuration_noPermissions_expectError()
347 SLEEP_DURATION_TOTAL, in testAggregateGroupByPeriod_noPermissions_expectError()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java90 import static android.health.connect.datatypes.SleepSessionRecord.SLEEP_DURATION_TOTAL;
153 SLEEP_DURATION_TOTAL, in AggregationTypeIdMapper()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadDataAggregationsUseCase.kt93 SleepSessionRecord.SLEEP_DURATION_TOTAL, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadDataAggregationsUseCase.kt113 SleepSessionRecord.SLEEP_DURATION_TOTAL, in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DSleepSessionRecord.java55 public static final AggregationType<Long> SLEEP_DURATION_TOTAL = field in SleepSessionRecord
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1556 …static final android.health.connect.datatypes.AggregationType<java.lang.Long> SLEEP_DURATION_TOTAL;