Home
last modified time | relevance | path

Searched refs:ActiveCaloriesBurnedRecord (Results 1 – 23 of 23) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DActiveCaloriesBurnedRecordTest.java32 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
80 ActiveCaloriesBurnedRecord.class, in tearDown()
90 new ActiveCaloriesBurnedRecord.Builder( in testCreateActiveCaloriesBurnedRecord_invalidValue()
119 ReadRecordsRequestUsingIds<ActiveCaloriesBurnedRecord> request = in testReadActiveCaloriesBurnedRecord_invalidIds()
120 new ReadRecordsRequestUsingIds.Builder<>(ActiveCaloriesBurnedRecord.class) in testReadActiveCaloriesBurnedRecord_invalidIds()
123 List<ActiveCaloriesBurnedRecord> result = TestUtils.readRecords(request); in testReadActiveCaloriesBurnedRecord_invalidIds()
141 ReadRecordsRequestUsingIds<ActiveCaloriesBurnedRecord> request = in testReadActiveCaloriesBurnedRecord_invalidClientRecordIds()
142 new ReadRecordsRequestUsingIds.Builder<>(ActiveCaloriesBurnedRecord.class) in testReadActiveCaloriesBurnedRecord_invalidClientRecordIds()
145 List<ActiveCaloriesBurnedRecord> result = TestUtils.readRecords(request); in testReadActiveCaloriesBurnedRecord_invalidClientRecordIds()
152 List<ActiveCaloriesBurnedRecord> oldActiveCaloriesBurnedRecords = in testReadActiveCaloriesBurnedRecordUsingFilters_default()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DActiveCaloriesBurnedRecord.java35 public final class ActiveCaloriesBurnedRecord extends IntervalRecord { class
105 public ActiveCaloriesBurnedRecord buildWithoutValidation() { in buildWithoutValidation()
106 return new ActiveCaloriesBurnedRecord( in buildWithoutValidation()
120 public ActiveCaloriesBurnedRecord build() { in build()
121 return new ActiveCaloriesBurnedRecord( in build()
156 private ActiveCaloriesBurnedRecord( in ActiveCaloriesBurnedRecord() method in ActiveCaloriesBurnedRecord
198 ActiveCaloriesBurnedRecord that = (ActiveCaloriesBurnedRecord) o; in equals()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DActiveCaloriesBurnedRecordInternal.java19 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
31 extends IntervalRecordInternal<ActiveCaloriesBurnedRecord> {
47 public ActiveCaloriesBurnedRecord toExternalRecord() { in toExternalRecord()
48 return new ActiveCaloriesBurnedRecord.Builder( in toExternalRecord()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DActiveCaloriesBurnedFormatter.kt19 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord
33 EntryFormatter<ActiveCaloriesBurnedRecord>(context) {
35 record: ActiveCaloriesBurnedRecord, in formatValue()
42 record: ActiveCaloriesBurnedRecord, in formatA11yValue()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DActiveCaloriesBurnedFormatterTest.kt18 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord
85 private fun getActiveCaloriesBurnedRecord(calories: Double): ActiveCaloriesBurnedRecord { in getActiveCaloriesBurnedRecord()
86 return ActiveCaloriesBurnedRecord.Builder( in getActiveCaloriesBurnedRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DDataFactory.java23 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
44 static ActiveCaloriesBurnedRecord getActiveCaloriesBurnedRecord( in getActiveCaloriesBurnedRecord()
46 return new ActiveCaloriesBurnedRecord.Builder( in getActiveCaloriesBurnedRecord()
DTotalCaloriesAggregationTest.java50 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
373 private static ActiveCaloriesBurnedRecord getBaseActiveCaloriesBurnedRecord( in getBaseActiveCaloriesBurnedRecord()
375 return new ActiveCaloriesBurnedRecord.Builder( in getBaseActiveCaloriesBurnedRecord()
383 private static ActiveCaloriesBurnedRecord getBaseActiveCaloriesBurnedRecord( in getBaseActiveCaloriesBurnedRecord()
385 return new ActiveCaloriesBurnedRecord.Builder( in getBaseActiveCaloriesBurnedRecord()
DAggregationApisTest.java19 import static android.health.connect.datatypes.ActiveCaloriesBurnedRecord.ACTIVE_CALORIES_TOTAL;
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DFitnessPermissionToDatatypeMapperTest.kt18 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord
60 .containsExactly(ActiveCaloriesBurnedRecord::class.java) in getDataTypes_activeCaloriesBurned_returnsCorrectRecords()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreE2ETest.java41 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
315 private ActiveCaloriesBurnedRecord getCompleteActiveCaloriesBurnedRecord(long i) { in getCompleteActiveCaloriesBurnedRecord()
330 return new ActiveCaloriesBurnedRecord.Builder( in getCompleteActiveCaloriesBurnedRecord()
498 if (record instanceof ActiveCaloriesBurnedRecord) { in recordToString()
503 ((ActiveCaloriesBurnedRecord) record).getEnergy().getInCalories()); in recordToString()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeleteCategoryUseCaseTest.kt22 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord in <lambda>()
98 ActiveCaloriesBurnedRecord::class.java, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DDataType.kt18 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord
61 ACTIVE_CALORIES_BURNED(ActiveCaloriesBurnedRecord::class.java),
DHealthPermissionToDatatypeMapper.kt18 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord
107 ACTIVE_CALORIES_BURNED to listOf(ActiveCaloriesBurnedRecord::class.java),
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DConstants.kt18 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord
266 ActiveCaloriesBurnedRecord::class, R.string.active_calories_burned_label),
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissionCategory.java24 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt19 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord
194 ActiveCaloriesBurnedRecord::class -> { in createRecordObjectHelper()
196 ActiveCaloriesBurnedRecord.Builder( in createRecordObjectHelper()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DHealthDataEntryFormatter.kt21 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord
161 is ActiveCaloriesBurnedRecord -> activeCaloriesBurnedFormatter.format(record, appName) in format()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DRecordMapper.java20 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
236 ActiveCaloriesBurnedRecord.class); in RecordMapper()
DAggregationTypeIdMapper.java19 import static android.health.connect.datatypes.ActiveCaloriesBurnedRecord.ACTIVE_CALORIES_TOTAL;
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/
DTestAppReceiver.java41 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
229 .addRecordType(ActiveCaloriesBurnedRecord.class) in getChangeLogToken()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadEntriesHelperUseCaseTest.kt21 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord in <lambda>()
358 stepsRequestCaptor, timeRangeFilter, ActiveCaloriesBurnedRecord::class.java) in <lambda>()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java93 import android.health.connect.datatypes.ActiveCaloriesBurnedRecord;
725 ActiveCaloriesBurnedRecord.class, in populateAndResetExpectedResponseMap()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt374 …public final class ActiveCaloriesBurnedRecord extends android.health.connect.datatypes.IntervalRec…
379 public static final class ActiveCaloriesBurnedRecord.Builder {
380 …ctor public ActiveCaloriesBurnedRecord.Builder(@NonNull android.health.connect.datatypes.Metadata,…
381 method @NonNull public android.health.connect.datatypes.ActiveCaloriesBurnedRecord build();
382 …method @NonNull public android.health.connect.datatypes.ActiveCaloriesBurnedRecord.Builder clearEn…
383 …method @NonNull public android.health.connect.datatypes.ActiveCaloriesBurnedRecord.Builder clearSt…
384 …method @NonNull public android.health.connect.datatypes.ActiveCaloriesBurnedRecord.Builder setEndZ…
385 …method @NonNull public android.health.connect.datatypes.ActiveCaloriesBurnedRecord.Builder setStar…