Searched refs:SLEEP_DURATION_TOTAL (Results 1 – 8 of 8) sorted by relevance
19 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()
143 SleepSessionRecord.SLEEP_DURATION_TOTAL, in testAppWithReadPerms_aggregateOtherAppsSleep_expectSuccess()
28 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()
90 import static android.health.connect.datatypes.SleepSessionRecord.SLEEP_DURATION_TOTAL;153 SLEEP_DURATION_TOTAL, in AggregationTypeIdMapper()
93 SleepSessionRecord.SLEEP_DURATION_TOTAL, in <lambda>()
113 SleepSessionRecord.SLEEP_DURATION_TOTAL, in <lambda>()
55 public static final AggregationType<Long> SLEEP_DURATION_TOTAL = field in SleepSessionRecord
1556 …static final android.health.connect.datatypes.AggregationType<java.lang.Long> SLEEP_DURATION_TOTAL;