Home
last modified time | relevance | path

Searched refs:getTotalCaloriesBurnedRecord (Results 1 – 10 of 10) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DTotalCaloriesBurnedFormatterTest.kt56 val record = getTotalCaloriesBurnedRecord(calories = 3000.0) in <lambda>()
64 val record = getTotalCaloriesBurnedRecord(calories = 3107.0) in <lambda>()
72 val record = getTotalCaloriesBurnedRecord(calories = 3000.0) in <lambda>()
80 val record = getTotalCaloriesBurnedRecord(calories = 3107.0) in <lambda>()
85 private fun getTotalCaloriesBurnedRecord(calories: Double): TotalCaloriesBurnedRecord { in getTotalCaloriesBurnedRecord() method in com.android.healthconnect.controller.tests.dataentries.formatters.TotalCaloriesBurnedFormatterTest
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DTotalCaloriesAggregationTest.java181 getTotalCaloriesBurnedRecord( in totalCaloriesBurned_hasTotalCaloriesData_addBasalCaloriesAtGaps()
203 getTotalCaloriesBurnedRecord( in totalCaloriesBurned_hasActiveAndTotalCaloriesData_addBasalCaloriesAtGaps()
231 insertRecords(getTotalCaloriesBurnedRecord(totalCalories, now.minus(1, DAYS), now)); in totalCaloriesBurned_totalCaloriesDataWithoutGap_equalsToTotalCalories()
247 getTotalCaloriesBurnedRecord(10, now.minus(1, DAYS), now), in totalCaloriesBurned_deriveBasalAndActiveAndTotalCalories()
248 getTotalCaloriesBurnedRecord(10, now.minus(2, DAYS), now.minus(1, DAYS)), in totalCaloriesBurned_deriveBasalAndActiveAndTotalCalories()
346 private static TotalCaloriesBurnedRecord getTotalCaloriesBurnedRecord( in getTotalCaloriesBurnedRecord() method in TotalCaloriesAggregationTest
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/readdata/
DReadByIdTests.java20 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
78 insertRecords(List.of(getTotalCaloriesBurnedRecord(clientId))); in readDataByClientId_noPageTokenSet()
DReadByFilterTests.java23 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
90 getTotalCaloriesBurnedRecord(caloriesId))); in filterByDataType_dataOfOtherTypesExcluded()
DPaginationTests.java22 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
211 builder.add(getTotalCaloriesBurnedRecord("id" + i)); in readOnePage_pageSizeNotSet_defaultPageSizeUsed()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java30 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
180 getTotalCaloriesBurnedRecord("client_id"), in getTestRecords()
DHealthConnectManagerNoPermissionsGrantedTest.java38 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
379 getTotalCaloriesBurnedRecord("client_id"), in getTestRecords()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java582 public static TotalCaloriesBurnedRecord getTotalCaloriesBurnedRecord(String clientId) { in getTotalCaloriesBurnedRecord() method in DataFactory
583 return getTotalCaloriesBurnedRecord(getMetadataForClientId(clientId)); in getTotalCaloriesBurnedRecord()
587 public static TotalCaloriesBurnedRecord getTotalCaloriesBurnedRecord(Metadata metadata) { in getTotalCaloriesBurnedRecord() method in DataFactory
594 return getTotalCaloriesBurnedRecord(getEmptyMetadata()); in getTotalCaloriesBurnedRecordWithEmptyMetadata()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt92 fun getTotalCaloriesBurnedRecord(calories: Energy, time: Instant = NOW): TotalCaloriesBurnedRecord { in getTotalCaloriesBurnedRecord() method
141 getTotalCaloriesBurnedRecord( in getRandomRecord()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java433 values = getTotalCaloriesBurnedRecord(totalCaloriesBurnedRecord); in fromRecord()
775 private static Bundle getTotalCaloriesBurnedRecord(TotalCaloriesBurnedRecord record) { in getTotalCaloriesBurnedRecord() method