Home
last modified time | relevance | path

Searched refs:getSegments (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExerciseSessionRecord.java164 public List<ExerciseSegment> getSegments() { in getSegments() method in ExerciseSessionRecord
203 && Objects.equals(getSegments(), that.getSegments()) in equals()
216 getSegments(), in hashCode()
464 if (getSegments() != null && !getSegments().isEmpty()) { in toRecordInternal()
466 getSegments().stream() in toRecordInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExerciseSessionRecordInternal.java145 public List<ExerciseSegmentInternal> getSegments() { in getSegments() method in ExerciseSessionRecordInternal
207 if (getSegments() != null) { in toExternalRecord()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DExerciseSessionInternalTest.java107 assertSegmentsAreEqual(internal.getSegments(), external.getSegments()); in assertFieldsAreEqual()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java564 record.getSegments().stream() in getExerciseSessionRecordValues()
569 record.getSegments().stream() in getExerciseSessionRecordValues()
574 record.getSegments().stream().mapToInt(ExerciseSegment::getSegmentType).toArray(); in getExerciseSessionRecordValues()
576 record.getSegments().stream() in getExerciseSessionRecordValues()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DExerciseSessionRecordTest.java113 assertThat(record.getSegments()).isEmpty(); in testExerciseSession_buildSession_buildCorrectObject()
185 assertThat(record.getSegments()).isEqualTo(segmentList); in testExerciseSession_buildSessionWithAllFields_buildCorrectObject()
370 assertThat(readRecord.getSegments()).isEqualTo(insertedRecord.getSegments()); in testReadById_insertAndReadByIdOne_recordsAreEqual()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DExerciseSessionRecordHelper.java216 if (record.getSegments() != null) { in getChildTableUpsertRequests()
218 ExerciseSegmentRecordHelper.getSegmentsUpsertRequests(record.getSegments())); in getChildTableUpsertRequests()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt882 …hod @NonNull public java.util.List<android.health.connect.datatypes.ExerciseSegment> getSegments();