Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DSpeedRecordTest.java19 import static android.health.connect.datatypes.SpeedRecord.SPEED_AVG;
20 import static android.health.connect.datatypes.SpeedRecord.SPEED_MAX;
21 import static android.health.connect.datatypes.SpeedRecord.SPEED_MIN;
50 import android.health.connect.datatypes.SpeedRecord;
96 SpeedRecord.class, in tearDown()
119 ReadRecordsRequestUsingIds<SpeedRecord> request = in testReadSpeedRecord_invalidIds()
120 new ReadRecordsRequestUsingIds.Builder<>(SpeedRecord.class) in testReadSpeedRecord_invalidIds()
123 List<SpeedRecord> result = TestUtils.readRecords(request); in testReadSpeedRecord_invalidIds()
136 ReadRecordsRequestUsingIds<SpeedRecord> request = in testReadSpeedRecord_invalidClientRecordIds()
137 new ReadRecordsRequestUsingIds.Builder<>(SpeedRecord.class) in testReadSpeedRecord_invalidClientRecordIds()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DSpeedRecordInternal.java23 import android.health.connect.datatypes.SpeedRecord;
40 extends SeriesRecordInternal<SpeedRecord, SpeedRecord.SpeedRecordSample> {
69 public SpeedRecord toExternalRecord() { in toExternalRecord()
70 return new SpeedRecord.Builder( in toExternalRecord()
86 private List<SpeedRecord.SpeedRecordSample> getExternalSamples() { in getExternalSamples()
87 List<SpeedRecord.SpeedRecordSample> speedRecords = in getExternalSamples()
91 new SpeedRecord.SpeedRecordSample( in getExternalSamples()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DSpeedRecord.java34 public final class SpeedRecord extends IntervalRecord { class
83 private SpeedRecord( in SpeedRecord() method in SpeedRecord
105 .map(SpeedRecord.SpeedRecordSample::getTime) in SpeedRecord()
263 public SpeedRecord buildWithoutValidation() { in buildWithoutValidation()
264 return new SpeedRecord( in buildWithoutValidation()
278 public SpeedRecord build() { in build()
279 return new SpeedRecord( in build()
298 if (super.equals(object) && object instanceof SpeedRecord) { in equals()
299 SpeedRecord other = (SpeedRecord) object; in equals()
339 for (SpeedRecord.SpeedRecordSample speedRecordSample : getSamples()) { in toRecordInternal()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DSpeedFormatter.kt20 import android.health.connect.datatypes.SpeedRecord
21 import android.health.connect.datatypes.SpeedRecord.SpeedRecordSample
42 EntryFormatter<SpeedRecord>(context), RecordDetailsFormatter<SpeedRecord> {
49 record: SpeedRecord, in formatRecord()
64 record: SpeedRecord, in formatValue()
72 record: SpeedRecord, in formatA11yValue()
79 override suspend fun formatRecordDetails(record: SpeedRecord): List<FormattedEntry> { in formatRecordDetails()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DSpeedFormatterTest.kt19 import android.health.connect.datatypes.SpeedRecord in <lambda>()
177 private fun getSpeedRecord(samples: List<Double>): SpeedRecord { in <lambda>()
178 return SpeedRecord.Builder( in <lambda>()
183 SpeedRecord.SpeedRecordSample( in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DFitnessPermissionToDatatypeMapperTest.kt21 import android.health.connect.datatypes.SpeedRecord
54 assertThat(getDataTypes(SPEED)).containsExactly(SpeedRecord::class.java) in getDataTypes_speed_returnsCorrectRecords()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DHealthDataEntryDetailsFormatter.kt29 import android.health.connect.datatypes.SpeedRecord
63 is SpeedRecord -> speedRecordFormatter.formatRecordDetails(record) in formatDetails()
DHealthDataEntryFormatter.kt54 import android.health.connect.datatypes.SpeedRecord
158 is SpeedRecord -> speedFormatter.format(record, appName) in format()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeleteCategoryUseCaseTest.kt30 import android.health.connect.datatypes.SpeedRecord in <lambda>()
102 SpeedRecord::class.java, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DDataType.kt52 import android.health.connect.datatypes.SpeedRecord
66 SPEED(SpeedRecord::class.java),
DHealthPermissionToDatatypeMapper.kt52 import android.health.connect.datatypes.SpeedRecord
104 SPEED to listOf(SpeedRecord::class.java),
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt60 import android.health.connect.datatypes.SpeedRecord
61 import android.health.connect.datatypes.SpeedRecord.SpeedRecordSample
223 SpeedRecord::class -> { in createRecordObjectHelper()
225 SpeedRecord.Builder( in createRecordObjectHelper()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java91 import static android.health.connect.datatypes.SpeedRecord.SPEED_AVG;
92 import static android.health.connect.datatypes.SpeedRecord.SPEED_MAX;
93 import static android.health.connect.datatypes.SpeedRecord.SPEED_MIN;
DRecordMapper.java55 import android.health.connect.datatypes.SpeedRecord;
260 RecordTypeIdentifier.RECORD_TYPE_SPEED, SpeedRecord.class); in RecordMapper()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DConstants.kt52 import android.health.connect.datatypes.SpeedRecord
277 SPEED(SpeedRecord::class, R.string.speed_label),
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissionCategory.java32 import android.health.connect.datatypes.SpeedRecord;
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/
DListInputField.kt29 import android.health.connect.datatypes.SpeedRecord.SpeedRecordSample
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1589 public final class SpeedRecord extends android.health.connect.datatypes.IntervalRecord {
1590 …method @NonNull public java.util.List<android.health.connect.datatypes.SpeedRecord.SpeedRecordSamp…
1596 public static final class SpeedRecord.Builder {
1597SpeedRecord.Builder(@NonNull android.health.connect.datatypes.Metadata, @NonNull java.time.Instant…
1598 method @NonNull public android.health.connect.datatypes.SpeedRecord build();
1599 … method @NonNull public android.health.connect.datatypes.SpeedRecord.Builder clearEndZoneOffset();
1600 …method @NonNull public android.health.connect.datatypes.SpeedRecord.Builder clearStartZoneOffset();
1601 …method @NonNull public android.health.connect.datatypes.SpeedRecord.Builder setEndZoneOffset(@NonN…
1602 …method @NonNull public android.health.connect.datatypes.SpeedRecord.Builder setStartZoneOffset(@No…
1605 public static final class SpeedRecord.SpeedRecordSample {
[all …]
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java132 import android.health.connect.datatypes.SpeedRecord;
647 SpeedRecord.class, in populateAndResetExpectedResponseMap()