Home
last modified time | relevance | path

Searched refs:SleepSessionRecordInternal (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DSleepSessionInternalTest.java22 import android.health.connect.internal.datatypes.SleepSessionRecordInternal;
33 SleepSessionRecordInternal session = TestUtils.buildSleepSessionInternal(); in testSessionConvertToExternal_convertToExternal_fieldsIsEqual()
40 SleepSessionRecordInternal session = TestUtils.buildSleepSessionInternalNoExtraFields(); in testSessionConvertToExternal_convertToExternalNoExtra_fieldsIsEqual()
47 SleepSessionRecordInternal session = TestUtils.buildSleepSessionInternal(); in testSessionWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()
48 SleepSessionRecordInternal restoredSession = writeAndRestoreFromParcel(session); in testSessionWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()
55 SleepSessionRecordInternal session = TestUtils.buildSleepSessionInternalNoExtraFields(); in testSessionWriteToParcel_populateToParcelAndFromNoExtra_restoredFieldsAreIdentical()
56 SleepSessionRecordInternal restoredSession = writeAndRestoreFromParcel(session); in testSessionWriteToParcel_populateToParcelAndFromNoExtra_restoredFieldsAreIdentical()
60 private SleepSessionRecordInternal writeAndRestoreFromParcel( in writeAndRestoreFromParcel()
61 SleepSessionRecordInternal session) { in writeAndRestoreFromParcel()
65 SleepSessionRecordInternal restoredSession = new SleepSessionRecordInternal(); in writeAndRestoreFromParcel()
[all …]
DTestUtils.java36 import android.health.connect.internal.datatypes.SleepSessionRecordInternal;
136 public static SleepSessionRecordInternal buildSleepSessionInternal() { in buildSleepSessionInternal()
137 return (SleepSessionRecordInternal) in buildSleepSessionInternal()
138 new SleepSessionRecordInternal() in buildSleepSessionInternal()
184 public static SleepSessionRecordInternal buildSleepSessionInternalNoExtraFields() { in buildSleepSessionInternalNoExtraFields()
185 return (SleepSessionRecordInternal) in buildSleepSessionInternalNoExtraFields()
186 new SleepSessionRecordInternal() in buildSleepSessionInternalNoExtraFields()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DSleepSessionRecordInternal.java35 public final class SleepSessionRecordInternal extends IntervalRecordInternal<SleepSessionRecord> { class
52 public SleepSessionRecordInternal setNotes(String notes) { in setNotes()
64 public SleepSessionRecordInternal setTitle(String title) { in setTitle()
76 public SleepSessionRecordInternal setSleepStages(@NonNull List<SleepStageInternal> stages) { in setSleepStages()
83 public SleepSessionRecordInternal addSleepStage(@Nullable SleepStageInternal stage) { in addSleepStage()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DSleepSessionRecordHelper.java32 import android.health.connect.internal.datatypes.SleepSessionRecordInternal;
53 extends IntervalRecordHelper<SleepSessionRecordInternal> {
94 @NonNull Cursor cursor, @NonNull SleepSessionRecordInternal sleepSessionRecord) { in populateSpecificRecordValue()
112 @NonNull SleepSessionRecordInternal sleepSessionRecord) { in populateSpecificContentValues()
131 @NonNull SleepSessionRecordInternal record) { in getChildTableUpsertRequests()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DSleepSessionRecord.java26 import android.health.connect.internal.datatypes.SleepSessionRecordInternal;
422 public SleepSessionRecordInternal toRecordInternal() { in toRecordInternal()
423 SleepSessionRecordInternal recordInternal = in toRecordInternal()
424 (SleepSessionRecordInternal) in toRecordInternal()
425 new SleepSessionRecordInternal() in toRecordInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DRecordMapper.java95 import android.health.connect.internal.datatypes.SleepSessionRecordInternal;
221 RecordTypeIdentifier.RECORD_TYPE_SLEEP_SESSION, SleepSessionRecordInternal.class); in RecordMapper()