Home
last modified time | relevance | path

Searched refs:StepsCadenceRecord (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DStepsCadenceRecordTest.java19 import static android.health.connect.datatypes.StepsCadenceRecord.STEPS_CADENCE_RATE_AVG;
20 import static android.health.connect.datatypes.StepsCadenceRecord.STEPS_CADENCE_RATE_MAX;
21 import static android.health.connect.datatypes.StepsCadenceRecord.STEPS_CADENCE_RATE_MIN;
44 import android.health.connect.datatypes.StepsCadenceRecord;
90 StepsCadenceRecord.class, in tearDown()
111 ReadRecordsRequestUsingIds<StepsCadenceRecord> request = in testReadStepsCadenceRecord_invalidIds()
112 new ReadRecordsRequestUsingIds.Builder<>(StepsCadenceRecord.class) in testReadStepsCadenceRecord_invalidIds()
115 List<StepsCadenceRecord> result = TestUtils.readRecords(request); in testReadStepsCadenceRecord_invalidIds()
129 ReadRecordsRequestUsingIds<StepsCadenceRecord> request = in testReadStepsCadenceRecord_invalidClientRecordIds()
130 new ReadRecordsRequestUsingIds.Builder<>(StepsCadenceRecord.class) in testReadStepsCadenceRecord_invalidClientRecordIds()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DStepsCadenceRecordInternal.java23 import android.health.connect.datatypes.StepsCadenceRecord;
40 StepsCadenceRecord, StepsCadenceRecord.StepsCadenceRecordSample> {
60 public StepsCadenceRecord toExternalRecord() { in toExternalRecord()
61 return new StepsCadenceRecord.Builder( in toExternalRecord()
78 private List<StepsCadenceRecord.StepsCadenceRecordSample> getExternalSamples() { in getExternalSamples()
79 List<StepsCadenceRecord.StepsCadenceRecordSample> stepsCadenceRecords = in getExternalSamples()
83 new StepsCadenceRecord.StepsCadenceRecordSample( in getExternalSamples()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DStepsCadenceFormatter.kt19 import android.health.connect.datatypes.StepsCadenceRecord
20 import android.health.connect.datatypes.StepsCadenceRecord.StepsCadenceRecordSample
34 EntryFormatter<StepsCadenceRecord>(context), RecordDetailsFormatter<StepsCadenceRecord> {
39 record: StepsCadenceRecord, in formatRecord()
55 record: StepsCadenceRecord, in formatValue()
63 record: StepsCadenceRecord, in formatA11yValue()
69 override suspend fun formatRecordDetails(record: StepsCadenceRecord): List<FormattedEntry> { in formatRecordDetails()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DStepsCadenceRecord.java33 public final class StepsCadenceRecord extends IntervalRecord { class
82 private StepsCadenceRecord( in StepsCadenceRecord() method in StepsCadenceRecord
259 public StepsCadenceRecord buildWithoutValidation() { in buildWithoutValidation()
260 return new StepsCadenceRecord( in buildWithoutValidation()
274 public StepsCadenceRecord build() { in build()
275 return new StepsCadenceRecord( in build()
294 if (super.equals(object) && object instanceof StepsCadenceRecord) { in equals()
295 StepsCadenceRecord other = (StepsCadenceRecord) object; in equals()
334 for (StepsCadenceRecord.StepsCadenceRecordSample stepsCadenceRecordSample : getSamples()) { in toRecordInternal()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DStepsCadenceFormatterTest.kt19 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
116 private fun getStepsCadence(samples: List<Double>): StepsCadenceRecord { in <lambda>()
117 return StepsCadenceRecord.Builder( in <lambda>()
122 StepsCadenceRecord.StepsCadenceRecordSample(rate, NOW.plusSeconds(1)) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DLoadPermissionTypesUseCaseTest.kt13 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
104 private fun getStepsCadence(samples: List<Double>): StepsCadenceRecord { in <lambda>()
105 return StepsCadenceRecord.Builder( in <lambda>()
110 StepsCadenceRecord.StepsCadenceRecordSample(rate, NOW.plusSeconds(1)) in <lambda>()
DLoadContributingAppsUseCaseTest.kt13 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
113 private fun getStepsCadence(samples: List<Double>): StepsCadenceRecord { in <lambda>()
114 return StepsCadenceRecord.Builder( in <lambda>()
119 StepsCadenceRecord.StepsCadenceRecordSample(rate, NOW.plusSeconds(1)) in <lambda>()
DFilterPermissionTypesUseCaseTest.kt13 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
136 private fun getStepsCadence(samples: List<Double>): StepsCadenceRecord { in <lambda>()
137 return StepsCadenceRecord.Builder( in <lambda>()
142 StepsCadenceRecord.StepsCadenceRecordSample(rate, NOW.plusSeconds(1)) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DFitnessPermissionToDatatypeMapperTest.kt22 import android.health.connect.datatypes.StepsCadenceRecord
38 .containsExactly(StepsRecord::class.java, StepsCadenceRecord::class.java) in getDataTypes_steps_returnsCorrectRecords()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregationApisTest.java21 import static android.health.connect.datatypes.StepsCadenceRecord.STEPS_CADENCE_RATE_MAX;
63 import android.health.connect.datatypes.StepsCadenceRecord;
472 private static StepsCadenceRecord getStepsCadenceRecord( in getStepsCadenceRecord()
476 StepsCadenceRecord.StepsCadenceRecordSample... samples) { in getStepsCadenceRecord()
477 return new StepsCadenceRecord.Builder( in getStepsCadenceRecord()
484 private static StepsCadenceRecord.StepsCadenceRecordSample getStepsCadenceRecordSample( in getStepsCadenceRecordSample()
486 return new StepsCadenceRecord.StepsCadenceRecordSample(rate, time); in getStepsCadenceRecordSample()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DHealthDataEntryDetailsFormatter.kt30 import android.health.connect.datatypes.StepsCadenceRecord
64 is StepsCadenceRecord -> stepsCadenceFormatter.formatRecordDetails(record) in formatDetails()
DHealthDataEntryFormatter.kt55 import android.health.connect.datatypes.StepsCadenceRecord
156 is StepsCadenceRecord -> stepsCadenceFormatter.format(record, appName) in format()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeletePermissionTypeUseCaseTest.kt21 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
86 .containsExactly(StepsRecord::class.java, StepsCadenceRecord::class.java) in <lambda>()
DDeleteCategoryUseCaseTest.kt31 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
101 StepsCadenceRecord::class.java, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/api/
DDeletePermissionTypesFromAppUseCaseTest.kt27 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
92 StepsCadenceRecord::class.java, in <lambda>()
DDeletePermissionTypesUseCaseTest.kt26 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
88 StepsCadenceRecord::class.java, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DDataType.kt53 import android.health.connect.datatypes.StepsCadenceRecord
68 STEPS_CADENCE(StepsCadenceRecord::class.java),
DHealthPermissionToDatatypeMapper.kt53 import android.health.connect.datatypes.StepsCadenceRecord
101 STEPS to listOf(StepsRecord::class.java, StepsCadenceRecord::class.java),
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadDataEntriesUseCaseTest.kt9 import android.health.connect.datatypes.StepsCadenceRecord in <lambda>()
94 request.forDataType(dataType = StepsCadenceRecord::class.java) in <lambda>()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt62 import android.health.connect.datatypes.StepsCadenceRecord
63 import android.health.connect.datatypes.StepsCadenceRecord.StepsCadenceRecordSample
524 StepsCadenceRecord::class -> { in createRecordObjectHelper()
526 StepsCadenceRecord.Builder( in createRecordObjectHelper()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java94 import static android.health.connect.datatypes.StepsCadenceRecord.STEPS_CADENCE_RATE_AVG;
95 import static android.health.connect.datatypes.StepsCadenceRecord.STEPS_CADENCE_RATE_MAX;
96 import static android.health.connect.datatypes.StepsCadenceRecord.STEPS_CADENCE_RATE_MIN;
DRecordMapper.java56 import android.health.connect.datatypes.StepsCadenceRecord;
262 RecordTypeIdentifier.RECORD_TYPE_STEPS_CADENCE, StepsCadenceRecord.class); in RecordMapper()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DConstants.kt53 import android.health.connect.datatypes.StepsCadenceRecord
271 STEPS_CADENCE(StepsCadenceRecord::class, R.string.steps_cadence_label),
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/
DListInputField.kt30 import android.health.connect.datatypes.StepsCadenceRecord.StepsCadenceRecordSample
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1611 public final class StepsCadenceRecord extends android.health.connect.datatypes.IntervalRecord {
1612 …method @NonNull public java.util.List<android.health.connect.datatypes.StepsCadenceRecord.StepsCad…
1618 public static final class StepsCadenceRecord.Builder {
1619StepsCadenceRecord.Builder(@NonNull android.health.connect.datatypes.Metadata, @NonNull java.time.…
1620 method @NonNull public android.health.connect.datatypes.StepsCadenceRecord build();
1621 …method @NonNull public android.health.connect.datatypes.StepsCadenceRecord.Builder clearEndZoneOff…
1622 …method @NonNull public android.health.connect.datatypes.StepsCadenceRecord.Builder clearStartZoneO…
1623 …method @NonNull public android.health.connect.datatypes.StepsCadenceRecord.Builder setEndZoneOffse…
1624 …method @NonNull public android.health.connect.datatypes.StepsCadenceRecord.Builder setStartZoneOff…
1627 public static final class StepsCadenceRecord.StepsCadenceRecordSample {
[all …]

12