Home
last modified time | relevance | path

Searched refs:MenstruationFlowRecord (Results 1 – 19 of 19) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DMenstruationFlowRecordTest.java34 import android.health.connect.datatypes.MenstruationFlowRecord;
71 MenstruationFlowRecord.class, in tearDown()
97 ReadRecordsRequestUsingIds<MenstruationFlowRecord> request = in testReadMenstruationFlowRecord_invalidIds()
98 new ReadRecordsRequestUsingIds.Builder<>(MenstruationFlowRecord.class) in testReadMenstruationFlowRecord_invalidIds()
101 List<MenstruationFlowRecord> result = TestUtils.readRecords(request); in testReadMenstruationFlowRecord_invalidIds()
117 ReadRecordsRequestUsingIds<MenstruationFlowRecord> request = in testReadMenstruationFlowRecord_invalidClientRecordIds()
118 new ReadRecordsRequestUsingIds.Builder<>(MenstruationFlowRecord.class) in testReadMenstruationFlowRecord_invalidClientRecordIds()
121 List<MenstruationFlowRecord> result = TestUtils.readRecords(request); in testReadMenstruationFlowRecord_invalidClientRecordIds()
127 List<MenstruationFlowRecord> oldMenstruationFlowRecords = in testReadMenstruationFlowRecordUsingFilters_default()
129 new ReadRecordsRequestUsingFilters.Builder<>(MenstruationFlowRecord.class) in testReadMenstruationFlowRecordUsingFilters_default()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DMenstruationFlowFormatter.kt19 import android.health.connect.datatypes.MenstruationFlowRecord
20 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType.FLOW_HEAVY
21 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType.FLOW_LIGHT
22 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType.FLOW_MEDIUM
33 EntryFormatter<MenstruationFlowRecord>(context) {
36 record: MenstruationFlowRecord, in formatValue()
50 record: MenstruationFlowRecord, in formatA11yValue()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMenstruationFlowRecord.java36 public final class MenstruationFlowRecord extends InstantRecord { class
47 private MenstruationFlowRecord( in MenstruationFlowRecord() method in MenstruationFlowRecord
104 MenstruationFlowRecord that = (MenstruationFlowRecord) o; in equals()
159 public MenstruationFlowRecord buildWithoutValidation() { in buildWithoutValidation()
160 return new MenstruationFlowRecord(mMetadata, mTime, mZoneOffset, mFlow, true); in buildWithoutValidation()
167 public MenstruationFlowRecord build() { in build()
168 return new MenstruationFlowRecord(mMetadata, mTime, mZoneOffset, mFlow, false); in build()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DMenstruationFlowFormatterTest.kt19 import android.health.connect.datatypes.MenstruationFlowRecord
20 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType.FLOW_HEAVY
21 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType.FLOW_LIGHT
22 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType.FLOW_MEDIUM
23 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType.MenstruationFlo…
84 ): MenstruationFlowRecord { in getRecord()
85 return MenstruationFlowRecord.Builder(getMetaData(), NOW, type).build() in getRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DMenstruationFlowRecordInternal.java20 import android.health.connect.datatypes.MenstruationFlowRecord;
21 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType;
31 extends InstantRecordInternal<MenstruationFlowRecord> {
48 public MenstruationFlowRecord toExternalRecord() { in toExternalRecord()
49 return new MenstruationFlowRecord.Builder(buildMetaData(), getTime(), getFlow()) in toExternalRecord()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadMenstruationDataUseCase.kt25 import android.health.connect.datatypes.MenstruationFlowRecord in <lambda>()
111 ReadRecordsRequestUsingFilters.Builder(MenstruationFlowRecord::class.java) in <lambda>()
116 suspendCancellableCoroutine<ReadRecordsResponse<MenstruationFlowRecord>> { continuation in <lambda>()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/seed/
DSeedData.kt23 import android.health.connect.datatypes.MenstruationFlowRecord in <lambda>()
24 import android.health.connect.datatypes.MenstruationFlowRecord.MenstruationFlowType in <lambda>()
80 MenstruationFlowRecord.Builder( in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/api/
DDeletePermissionTypesFromAppUseCaseTest.kt24 import android.health.connect.datatypes.MenstruationFlowRecord in <lambda>()
96 MenstruationFlowRecord::class.java, in <lambda>()
DDeletePermissionTypesUseCaseTest.kt23 import android.health.connect.datatypes.MenstruationFlowRecord in <lambda>()
92 MenstruationFlowRecord::class.java, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadMenstruationDataUseCase.kt21 import android.health.connect.datatypes.MenstruationFlowRecord in <lambda>()
107 MenstruationFlowRecord::class.java, timeRange, packageName) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DDataType.kt39 import android.health.connect.datatypes.MenstruationFlowRecord
92 MENSTRUATION_FLOW(MenstruationFlowRecord::class.java),
DHealthPermissionToDatatypeMapper.kt39 import android.health.connect.datatypes.MenstruationFlowRecord
133 listOf(MenstruationFlowRecord::class.java, MenstruationPeriodRecord::class.java),
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DInsertRecordFragment.kt32 import android.health.connect.datatypes.MenstruationFlowRecord in <lambda>()
239 MenstruationFlowRecord::class -> { in <lambda>()
241 MenstruationFlowRecord.MenstruationFlowType::class as KClass<*> in <lambda>()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DConstants.kt39 import android.health.connect.datatypes.MenstruationFlowRecord
294 MENSTRUATION_FLOW(MenstruationFlowRecord::class, R.string.menstruation_flow),
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt44 import android.health.connect.datatypes.MenstruationFlowRecord
360 MenstruationFlowRecord::class -> { in createRecordObjectHelper()
362 MenstruationFlowRecord.Builder( in createRecordObjectHelper()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DHealthDataEntryFormatter.kt42 import android.health.connect.datatypes.MenstruationFlowRecord
186 is MenstruationFlowRecord -> menstruationFlowFormatter.format(record, appName) in format()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DRecordMapper.java41 import android.health.connect.datatypes.MenstruationFlowRecord;
282 RecordTypeIdentifier.RECORD_TYPE_MENSTRUATION_FLOW, MenstruationFlowRecord.class); in RecordMapper()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java118 import android.health.connect.datatypes.MenstruationFlowRecord;
755 MenstruationFlowRecord.class, in populateAndResetExpectedResponseMap()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1129 public final class MenstruationFlowRecord extends android.health.connect.datatypes.InstantRecord {
1133 public static final class MenstruationFlowRecord.Builder {
1134 …ctor public MenstruationFlowRecord.Builder(@NonNull android.health.connect.datatypes.Metadata, @No…
1135 method @NonNull public android.health.connect.datatypes.MenstruationFlowRecord build();
1136 …method @NonNull public android.health.connect.datatypes.MenstruationFlowRecord.Builder clearZoneOf…
1137 …method @NonNull public android.health.connect.datatypes.MenstruationFlowRecord.Builder setZoneOffs…
1140 public static final class MenstruationFlowRecord.MenstruationFlowType {