/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | SpeedRecordTest.java | 19 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/ |
D | SpeedRecordInternal.java | 23 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/ |
D | SpeedRecord.java | 34 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/ |
D | SpeedFormatter.kt | 20 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/ |
D | SpeedFormatterTest.kt | 19 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/ |
D | FitnessPermissionToDatatypeMapperTest.kt | 21 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/ |
D | HealthDataEntryDetailsFormatter.kt | 29 import android.health.connect.datatypes.SpeedRecord 63 is SpeedRecord -> speedRecordFormatter.formatRecordDetails(record) in formatDetails()
|
D | HealthDataEntryFormatter.kt | 54 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/ |
D | DeleteCategoryUseCaseTest.kt | 30 import android.health.connect.datatypes.SpeedRecord in <lambda>() 102 SpeedRecord::class.java, in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/ |
D | DataType.kt | 52 import android.health.connect.datatypes.SpeedRecord 66 SPEED(SpeedRecord::class.java),
|
D | HealthPermissionToDatatypeMapper.kt | 52 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/ |
D | InsertOrUpdateRecords.kt | 60 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/ |
D | AggregationTypeIdMapper.java | 91 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;
|
D | RecordMapper.java | 55 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/ |
D | Constants.kt | 52 import android.health.connect.datatypes.SpeedRecord 277 SPEED(SpeedRecord::class, R.string.speed_label),
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthPermissionCategory.java | 32 import android.health.connect.datatypes.SpeedRecord;
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/ |
D | ListInputField.kt | 29 import android.health.connect.datatypes.SpeedRecord.SpeedRecordSample
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 1589 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 { 1597 …SpeedRecord.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/ |
D | TestUtils.java | 132 import android.health.connect.datatypes.SpeedRecord; 647 SpeedRecord.class, in populateAndResetExpectedResponseMap()
|