Home
last modified time | relevance | path

Searched refs:ElevationGainedRecord (Results 1 – 17 of 17) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DElevationGainedRecordTest.java19 import static android.health.connect.datatypes.ElevationGainedRecord.ELEVATION_GAINED_TOTAL;
39 import android.health.connect.datatypes.ElevationGainedRecord;
86 ElevationGainedRecord.class, in tearDown()
112 ReadRecordsRequestUsingIds<ElevationGainedRecord> request = in testReadElevationGainedRecord_invalidIds()
113 new ReadRecordsRequestUsingIds.Builder<>(ElevationGainedRecord.class) in testReadElevationGainedRecord_invalidIds()
116 List<ElevationGainedRecord> result = TestUtils.readRecords(request); in testReadElevationGainedRecord_invalidIds()
131 ReadRecordsRequestUsingIds<ElevationGainedRecord> request = in testReadElevationGainedRecord_invalidClientRecordIds()
132 new ReadRecordsRequestUsingIds.Builder<>(ElevationGainedRecord.class) in testReadElevationGainedRecord_invalidClientRecordIds()
135 List<ElevationGainedRecord> result = TestUtils.readRecords(request); in testReadElevationGainedRecord_invalidClientRecordIds()
141 List<ElevationGainedRecord> oldElevationGainedRecords = in testReadElevationGainedRecordUsingFilters_default()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DElevationGainedRecord.java32 public final class ElevationGainedRecord extends IntervalRecord { class
103 public ElevationGainedRecord buildWithoutValidation() { in buildWithoutValidation()
104 return new ElevationGainedRecord( in buildWithoutValidation()
118 public ElevationGainedRecord build() { in build()
119 return new ElevationGainedRecord( in build()
154 private ElevationGainedRecord( in ElevationGainedRecord() method in ElevationGainedRecord
197 ElevationGainedRecord that = (ElevationGainedRecord) o; in equals()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DElevationGainedRecordInternal.java19 import android.health.connect.datatypes.ElevationGainedRecord;
31 extends IntervalRecordInternal<ElevationGainedRecord> {
47 public ElevationGainedRecord toExternalRecord() { in toExternalRecord()
48 return new ElevationGainedRecord.Builder( in toExternalRecord()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DElevationGainedFormatter.kt17 import android.health.connect.datatypes.ElevationGainedRecord
31 EntryFormatter<ElevationGainedRecord>(context) {
34 record: ElevationGainedRecord, in formatValue()
41 record: ElevationGainedRecord, in formatA11yValue()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DElevationFormatterTest.kt19 import android.health.connect.datatypes.ElevationGainedRecord
88 private fun getRecord(meters: Double): ElevationGainedRecord { in getRecord()
89 return ElevationGainedRecord.Builder( in getRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeleteCategoryUseCaseTest.kt25 import android.health.connect.datatypes.ElevationGainedRecord in <lambda>()
106 ElevationGainedRecord::class.java, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DDataType.kt30 import android.health.connect.datatypes.ElevationGainedRecord
80 ELEVATION_GAINED(ElevationGainedRecord::class.java),
DHealthPermissionToDatatypeMapper.kt30 import android.health.connect.datatypes.ElevationGainedRecord
119 ELEVATION_GAINED to listOf(ElevationGainedRecord::class.java),
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DConstants.kt30 import android.health.connect.datatypes.ElevationGainedRecord
268 ELEVATION_GAINED(ElevationGainedRecord::class, R.string.elevation_gained_label),
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissionCategory.java27 import android.health.connect.datatypes.ElevationGainedRecord;
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt32 import android.health.connect.datatypes.ElevationGainedRecord
204 ElevationGainedRecord::class -> { in createRecordObjectHelper()
206 ElevationGainedRecord.Builder( in createRecordObjectHelper()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DHealthDataEntryFormatter.kt33 import android.health.connect.datatypes.ElevationGainedRecord
173 is ElevationGainedRecord -> elevationGainedFormatter.format(record, appName) in format()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DRecordMapper.java32 import android.health.connect.datatypes.ElevationGainedRecord;
238 RecordTypeIdentifier.RECORD_TYPE_ELEVATION_GAINED, ElevationGainedRecord.class); in RecordMapper()
DAggregationTypeIdMapper.java31 import static android.health.connect.datatypes.ElevationGainedRecord.ELEVATION_GAINED_TOTAL;
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java107 import android.health.connect.datatypes.ElevationGainedRecord;
633 ElevationGainedRecord.class, in populateAndResetExpectedResponseMap()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt646 public final class ElevationGainedRecord extends android.health.connect.datatypes.IntervalRecord {
651 public static final class ElevationGainedRecord.Builder {
652 …ctor public ElevationGainedRecord.Builder(@NonNull android.health.connect.datatypes.Metadata, @Non…
653 method @NonNull public android.health.connect.datatypes.ElevationGainedRecord build();
654 …method @NonNull public android.health.connect.datatypes.ElevationGainedRecord.Builder clearEndZone…
655 …method @NonNull public android.health.connect.datatypes.ElevationGainedRecord.Builder clearStartZo…
656 …method @NonNull public android.health.connect.datatypes.ElevationGainedRecord.Builder setEndZoneOf…
657 …method @NonNull public android.health.connect.datatypes.ElevationGainedRecord.Builder setStartZone…
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateWithFiltersTest.java20 import static android.health.connect.datatypes.ElevationGainedRecord.ELEVATION_GAINED_TOTAL;