Searched refs:getStages (Results 1 – 5 of 5) sorted by relevance
121 public List<Stage> getStages() { in getStages() method in SleepSessionRecord134 && 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()
159 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()
85 assertStagesAreEqual(internal.getSleepStages(), external.getStages()); in assertFieldsAreEqual()
752 record.getStages().stream() in getSleepRecordValues()758 record.getStages().stream() in getSleepRecordValues()763 SAMPLE_VALUES, record.getStages().stream().mapToInt(Stage::getType).toArray()); in getSleepRecordValues()
1554 …nNull public java.util.List<android.health.connect.datatypes.SleepSessionRecord.Stage> getStages();