Home
last modified time | relevance | path

Searched refs:SpeedRecordSample (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DSpeedRecordInternal.java40 extends SeriesRecordInternal<SpeedRecord, SpeedRecord.SpeedRecordSample> {
42 private Set<SpeedRecordSample> mSpeedRecordSamples;
49 mSpeedRecordSamples.add(new SpeedRecordSample(parcel.readDouble(), parcel.readLong())); in populateIntervalRecordFrom()
55 public Set<SpeedRecordSample> getSamples() { in getSamples()
63 this.mSpeedRecordSamples = (Set<SpeedRecordSample>) samples; in setSamples()
80 for (SpeedRecordSample speedRecordSample : mSpeedRecordSamples) { in populateIntervalRecordTo()
86 private List<SpeedRecord.SpeedRecordSample> getExternalSamples() { in getExternalSamples()
87 List<SpeedRecord.SpeedRecordSample> speedRecords = in getExternalSamples()
89 for (SpeedRecordSample speedRecordSample : mSpeedRecordSamples) { in getExternalSamples()
91 new SpeedRecord.SpeedRecordSample( in getExternalSamples()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DSpeedRecord.java72 private final List<SpeedRecordSample> mSpeedRecordSamples;
89 @NonNull List<SpeedRecordSample> speedRecordSamples, in SpeedRecord()
105 .map(SpeedRecord.SpeedRecordSample::getTime) in SpeedRecord()
115 public List<SpeedRecordSample> getSamples() { in getSamples()
120 public static final class SpeedRecordSample { class in SpeedRecord
130 public SpeedRecordSample(@NonNull Velocity speed, @NonNull Instant time) { in SpeedRecordSample() method in SpeedRecord.SpeedRecordSample
142 public SpeedRecordSample( in SpeedRecordSample() method in SpeedRecord.SpeedRecordSample
177 if (super.equals(object) && object instanceof SpeedRecordSample) { in equals()
178 SpeedRecordSample other = (SpeedRecordSample) object; in equals()
201 private final List<SpeedRecordSample> mSpeedRecordSamples;
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DSpeedRecordHelper.java54 extends SeriesRecordHelper<SpeedRecordInternal, SpeedRecordInternal.SpeedRecordSample> {
87 HashSet<SpeedRecordInternal.SpeedRecordSample> speedRecordSampleSet = new HashSet<>(); in populateSpecificValues()
91 new SpeedRecordInternal.SpeedRecordSample( in populateSpecificValues()
140 ContentValues contentValues, SpeedRecordInternal.SpeedRecordSample speedRecord) { in populateSampleTo()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DSpeedRecordTest.java445 new SpeedRecord.SpeedRecordSample( in testCreateSpeedRecord_invalidValue()
453 SpeedRecord.SpeedRecordSample speedRecord = in testCreateSpeedRecord_invalidSampleTime()
454 new SpeedRecord.SpeedRecordSample( in testCreateSpeedRecord_invalidSampleTime()
456 ArrayList<SpeedRecord.SpeedRecordSample> speedRecords = new ArrayList<>(); in testCreateSpeedRecord_invalidSampleTime()
753 SpeedRecord.SpeedRecordSample speedRecordSample = in getSpeedRecord_update()
754 new SpeedRecord.SpeedRecordSample( in getSpeedRecord_update()
768 SpeedRecord.SpeedRecordSample speedRecord = in getBaseSpeedRecord()
769 new SpeedRecord.SpeedRecordSample( in getBaseSpeedRecord()
771 ArrayList<SpeedRecord.SpeedRecordSample> speedRecords = new ArrayList<>(); in getBaseSpeedRecord()
883 SpeedRecord.SpeedRecordSample speedRecord = in buildRecordForSpeed()
[all …]
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/
DListInputField.kt29 import android.health.connect.datatypes.SpeedRecord.SpeedRecordSample
85 SpeedRecordSample::class.java -> { in addRow()
148 SpeedRecordSample::class.java -> { in getFieldValue()
150 SpeedRecordSample( in getFieldValue()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DSpeedFormatter.kt21 import android.health.connect.datatypes.SpeedRecord.SpeedRecordSample
87 sample: SpeedRecordSample, in formatSample()
106 samples: List<SpeedRecordSample>, in formatRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DSpeedFormatterTest.kt183 SpeedRecord.SpeedRecordSample( in <lambda>()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt61 import android.health.connect.datatypes.SpeedRecord.SpeedRecordSample
230 as List<SpeedRecordSample>) in createRecordObjectHelper()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1590 … public java.util.List<android.health.connect.datatypes.SpeedRecord.SpeedRecordSample> getSamples(…
1597 ….Instant, @NonNull java.util.List<android.health.connect.datatypes.SpeedRecord.SpeedRecordSample>);
1605 public static final class SpeedRecord.SpeedRecordSample {
1606 …ctor public SpeedRecord.SpeedRecordSample(@NonNull android.health.connect.datatypes.units.Velocity…