Searched refs:SleepStageInternal (Results 1 – 7 of 7) sorted by relevance
35 public final class SleepStageInternal { class42 public static SleepStageInternal readFromParcel(Parcel parcel) { in readFromParcel()43 return new SleepStageInternal() in readFromParcel()50 static List<SleepStageInternal> populateStagesFromParcel(Parcel parcel) { in populateStagesFromParcel()55 ArrayList<SleepStageInternal> stages = new ArrayList<>(size); in populateStagesFromParcel()57 stages.add(SleepStageInternal.readFromParcel(parcel)); in populateStagesFromParcel()63 @NonNull List<SleepStageInternal> internalStages) { in getExternalStages()69 static void writeStagesToParcel(List<SleepStageInternal> stages, Parcel parcel) { in writeStagesToParcel()96 public SleepStageInternal setStartTime(long startTime) { in setStartTime()102 public SleepStageInternal setEndTime(long endTime) { in setEndTime()[all …]
37 private List<SleepStageInternal> mStages;71 public List<SleepStageInternal> getSleepStages() { in getSleepStages()76 public SleepSessionRecordInternal setSleepStages(@NonNull List<SleepStageInternal> stages) { in setSleepStages()83 public SleepSessionRecordInternal addSleepStage(@Nullable SleepStageInternal stage) { in addSleepStage()97 SleepStageInternal.writeStagesToParcel(mStages, parcel); in populateIntervalRecordTo()104 mStages = SleepStageInternal.populateStagesFromParcel(parcel); in populateIntervalRecordFrom()130 builder.setStages(SleepStageInternal.getExternalStages(mStages)); in toExternalRecord()
23 import android.health.connect.internal.datatypes.SleepStageInternal;104 List<SleepStageInternal> internal, List<SleepSessionRecord.Stage> external) { in assertStagesAreEqual()112 SleepStageInternal internalStage = internal.get(i); in assertStagesAreEqual()123 List<SleepStageInternal> internal, List<SleepStageInternal> internal2) { in assertStagesAreEqualInternal()131 SleepStageInternal internalStage = internal.get(i); in assertStagesAreEqualInternal()132 SleepStageInternal internalStage2 = internal2.get(i); in assertStagesAreEqualInternal()
22 import android.health.connect.internal.datatypes.SleepStageInternal;52 SleepStageInternal initial = in testSleepStageInternal_writeToParcelAndBack_recordsAreEqual()53 new SleepStageInternal() in testSleepStageInternal_writeToParcelAndBack_recordsAreEqual()60 SleepStageInternal restored = SleepStageInternal.readFromParcel(parcel); in testSleepStageInternal_writeToParcelAndBack_recordsAreEqual()
37 import android.health.connect.internal.datatypes.SleepStageInternal;159 public static SleepStageInternal buildSleepStage() { in buildSleepStage()160 return new SleepStageInternal() in buildSleepStage()
32 import android.health.connect.internal.datatypes.SleepStageInternal;82 static List<UpsertTableRequest> getStagesUpsertRequests(List<SleepStageInternal> stages) { in getStagesUpsertRequests()96 static SleepStageInternal populateStageIfRecorded(@NonNull Cursor cursor) { in populateStageIfRecorded()101 return new SleepStageInternal() in populateStageIfRecorded()107 static void populateStageTo(ContentValues contentValues, SleepStageInternal stage) { in populateStageTo()
27 import android.health.connect.internal.datatypes.SleepStageInternal;209 public SleepStageInternal toInternalStage() { in toInternalStage()210 return new SleepStageInternal() in toInternalStage()