/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | TotalCaloriesBurnedFormatterTest.kt | 56 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/ |
D | TotalCaloriesAggregationTest.java | 181 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/ |
D | ReadByIdTests.java | 20 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord; 78 insertRecords(List.of(getTotalCaloriesBurnedRecord(clientId))); in readDataByClientId_noPageTokenSet()
|
D | ReadByFilterTests.java | 23 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord; 90 getTotalCaloriesBurnedRecord(caloriesId))); in filterByDataType_dataOfOtherTypesExcluded()
|
D | PaginationTests.java | 22 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/ |
D | HealthConnectManagerNotAllPermissionsAreGrantedTest.java | 30 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord; 180 getTotalCaloriesBurnedRecord("client_id"), in getTestRecords()
|
D | HealthConnectManagerNoPermissionsGrantedTest.java | 38 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/ |
D | DataFactory.java | 582 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/ |
D | TestConstants.kt | 92 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/ |
D | BundleHelper.java | 433 values = getTotalCaloriesBurnedRecord(totalCaloriesBurnedRecord); in fromRecord() 775 private static Bundle getTotalCaloriesBurnedRecord(TotalCaloriesBurnedRecord record) { in getTotalCaloriesBurnedRecord() method
|