Home
last modified time | relevance | path

Searched refs:getStages (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DSleepSessionRecord.java121 public List<Stage> getStages() { in getStages() method in SleepSessionRecord
134 && Objects.equals(getStages(), that.getStages()); in equals()
139 return Objects.hash(super.hashCode(), getNotes(), getTitle(), getStages()); in hashCode()
441 getStages().stream().map(Stage::toInternalStage).collect(Collectors.toList())); in toRecordInternal()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DSleepSessionRecordTest.java159 assertThat(record.getStages()).isEqualTo(List.of(stage2)); in testSleepSession_setsStagesOneByOne_stagesEqualsToLastSet()
198 assertThat(record.getStages()).hasSize(2); in testSleepSession_buildSession_buildsCorrectObject()
240 assertThat(readRecord.getStages()).isEqualTo(insertedRecord.getStages()); in testReadById_insertAndReadByIdOne_recordsAreEqual()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DSleepSessionInternalTest.java85 assertStagesAreEqual(internal.getSleepStages(), external.getStages()); in assertFieldsAreEqual()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java752 record.getStages().stream() in getSleepRecordValues()
758 record.getStages().stream() in getSleepRecordValues()
763 SAMPLE_VALUES, record.getStages().stream().mapToInt(Stage::getType).toArray()); in getSleepRecordValues()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1554 …nNull public java.util.List<android.health.connect.datatypes.SleepSessionRecord.Stage> getStages();