Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DFloorsClimbedRecordTest.java19 import static android.health.connect.datatypes.FloorsClimbedRecord.FLOORS_CLIMBED_TOTAL;
38 import android.health.connect.datatypes.FloorsClimbedRecord;
81 FloorsClimbedRecord.class, in tearDown()
107 new FloorsClimbedRecord.Builder(new Metadata.Builder().build(), startTime, startTime, 10) in testCreateFloorsClimbedRecord_sameStartEndTime()
113 ReadRecordsRequestUsingIds<FloorsClimbedRecord> request = in testReadFloorsClimbedRecord_invalidIds()
114 new ReadRecordsRequestUsingIds.Builder<>(FloorsClimbedRecord.class) in testReadFloorsClimbedRecord_invalidIds()
117 List<FloorsClimbedRecord> result = TestUtils.readRecords(request); in testReadFloorsClimbedRecord_invalidIds()
131 ReadRecordsRequestUsingIds<FloorsClimbedRecord> request = in testReadFloorsClimbedRecord_invalidClientRecordIds()
132 new ReadRecordsRequestUsingIds.Builder<>(FloorsClimbedRecord.class) in testReadFloorsClimbedRecord_invalidClientRecordIds()
135 List<FloorsClimbedRecord> result = TestUtils.readRecords(request); in testReadFloorsClimbedRecord_invalidClientRecordIds()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DFloorsClimbedRecord.java32 public final class FloorsClimbedRecord extends IntervalRecord { class
57 private FloorsClimbedRecord( in FloorsClimbedRecord() method in FloorsClimbedRecord
98 FloorsClimbedRecord that = (FloorsClimbedRecord) o; in equals()
178 public FloorsClimbedRecord buildWithoutValidation() { in buildWithoutValidation()
179 return new FloorsClimbedRecord( in buildWithoutValidation()
193 public FloorsClimbedRecord build() { in build()
194 return new FloorsClimbedRecord( in build()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DFloorsClimbedRecordInternal.java19 import android.health.connect.datatypes.FloorsClimbedRecord;
29 public final class FloorsClimbedRecordInternal extends IntervalRecordInternal<FloorsClimbedRecord> {
45 public FloorsClimbedRecord toExternalRecord() { in toExternalRecord()
46 return new FloorsClimbedRecord.Builder( in toExternalRecord()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DFloorsFormatter.kt17 import android.health.connect.datatypes.FloorsClimbedRecord
27 EntryFormatter<FloorsClimbedRecord>(context) {
30 record: FloorsClimbedRecord, in formatValue()
37 record: FloorsClimbedRecord, in formatA11yValue()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DFloorsFormatterTest.kt19 import android.health.connect.datatypes.FloorsClimbedRecord
71 private fun getRecord(floors: Double): FloorsClimbedRecord { in getRecord()
72 return FloorsClimbedRecord.Builder(getMetaData(), NOW, NOW.plusSeconds(2), floors).build() in getRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeleteCategoryUseCaseTest.kt27 import android.health.connect.datatypes.FloorsClimbedRecord in <lambda>()
105 FloorsClimbedRecord::class.java, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadEntriesHelperUseCaseTest.kt26 import android.health.connect.datatypes.FloorsClimbedRecord in <lambda>()
252 stepsRequestCaptor, timeRangeFilter, FloorsClimbedRecord::class.java) in <lambda>()
474 (InvocationOnMock) -> ReadRecordsResponse<FloorsClimbedRecord> { in <lambda>()
477 args.arguments[2] as OutcomeReceiver<ReadRecordsResponse<FloorsClimbedRecord>, *> in <lambda>()
611 private fun getEmptyFloorsClimbedRecords(): ReadRecordsResponse<FloorsClimbedRecord> { in <lambda>()
612 return ReadRecordsResponse<FloorsClimbedRecord>(listOf(), -1) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DDataType.kt32 import android.health.connect.datatypes.FloorsClimbedRecord
79 FLOORS_CLIMBED(FloorsClimbedRecord::class.java),
DHealthPermissionToDatatypeMapper.kt32 import android.health.connect.datatypes.FloorsClimbedRecord
118 FLOORS_CLIMBED to listOf(FloorsClimbedRecord::class.java),
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DConstants.kt32 import android.health.connect.datatypes.FloorsClimbedRecord
269 FLOORS_CLIMBED(FloorsClimbedRecord::class, R.string.floors_climbed_label),
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt36 import android.health.connect.datatypes.FloorsClimbedRecord
263 FloorsClimbedRecord::class -> { in createRecordObjectHelper()
265 FloorsClimbedRecord.Builder( in createRecordObjectHelper()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DHealthDataEntryFormatter.kt35 import android.health.connect.datatypes.FloorsClimbedRecord
172 is FloorsClimbedRecord -> floorsFormatter.format(record, appName) in format()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DInsertRecordFragment.kt28 import android.health.connect.datatypes.FloorsClimbedRecord in <lambda>()
332 FloorsClimbedRecord::class -> { in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DRecordMapper.java34 import android.health.connect.datatypes.FloorsClimbedRecord;
244 RecordTypeIdentifier.RECORD_TYPE_FLOORS_CLIMBED, FloorsClimbedRecord.class); in RecordMapper()
DAggregationTypeIdMapper.java33 import static android.health.connect.datatypes.FloorsClimbedRecord.FLOORS_CLIMBED_TOTAL;
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java109 import android.health.connect.datatypes.FloorsClimbedRecord;
776 FloorsClimbedRecord.class, in populateAndResetExpectedResponseMap()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt968 public final class FloorsClimbedRecord extends android.health.connect.datatypes.IntervalRecord {
973 public static final class FloorsClimbedRecord.Builder {
974 …ctor public FloorsClimbedRecord.Builder(@NonNull android.health.connect.datatypes.Metadata, @NonNu…
975 method @NonNull public android.health.connect.datatypes.FloorsClimbedRecord build();
976 …method @NonNull public android.health.connect.datatypes.FloorsClimbedRecord.Builder clearEndZoneOf…
977 …method @NonNull public android.health.connect.datatypes.FloorsClimbedRecord.Builder clearStartZone…
978 …method @NonNull public android.health.connect.datatypes.FloorsClimbedRecord.Builder setEndZoneOffs…
979 …method @NonNull public android.health.connect.datatypes.FloorsClimbedRecord.Builder setStartZoneOf…