Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DEnergyFormatter.kt34 energy: Energy, in formatEnergyValue()
42 return formatEnergy(context, res, energy, unitPreferences.getEnergyUnit()) in formatEnergyValue()
47 energy: Energy, in formatEnergyA11yValue()
55 return formatEnergy(context, res, energy, unitPreferences.getEnergyUnit()) in formatEnergyA11yValue()
61 energy: Energy, in formatEnergy()
66 CALORIE -> energy.inCalories / 1000.0 in formatEnergy()
67 KILOJOULE -> convertToJoules(energy.inCalories) / 1000.0 in formatEnergy()
DNutritionFormatter.kt50 { energy -> formatEnergyValue(context, energy, unitPreferences) }) in <lambda>() method
65 { energy -> formatEnergyA11yValue(context, energy, unitPreferences) }) in <lambda>() method
72 formatEnergy: (energy: Energy) -> String, in <lambda>()
88 record.energy?.addAggregation(R.string.energy_consumed_total, stringJoiner, formatEnergy) in <lambda>()
145 formatEnergy: (energy: Energy) -> String in <lambda>()
DActiveCaloriesBurnedFormatter.kt38 return formatEnergyValue(context, record.energy, unitPreferences) in formatValue()
45 return formatEnergyA11yValue(context, record.energy, unitPreferences) in formatA11yValue()
DTotalCaloriesBurnedFormatter.kt39 return formatEnergyValue(context, record.energy, unitPreferences) in formatValue()
46 return formatEnergyA11yValue(context, record.energy, unitPreferences) in formatA11yValue()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DActiveCaloriesBurnedRecord.java55 @NonNull Energy energy) { in Builder() argument
59 Objects.requireNonNull(energy); in Builder()
63 mEnergy = energy; in Builder()
162 @NonNull Energy energy, in ActiveCaloriesBurnedRecord() argument
172 Objects.requireNonNull(energy); in ActiveCaloriesBurnedRecord()
174 ValidationUtils.requireInRange(energy.getInCalories(), 0.0, 1000000000.0, "energy"); in ActiveCaloriesBurnedRecord()
176 mEnergy = energy; in ActiveCaloriesBurnedRecord()
DTotalCaloriesBurnedRecord.java68 @NonNull Energy energy, in TotalCaloriesBurnedRecord() argument
83 Objects.requireNonNull(energy); in TotalCaloriesBurnedRecord()
85 ValidationUtils.requireInRange(energy.getInCalories(), 0.0, 1000000000.0, "energy"); in TotalCaloriesBurnedRecord()
87 mEnergy = energy; in TotalCaloriesBurnedRecord()
140 @NonNull Energy energy) { in Builder() argument
144 Objects.requireNonNull(energy); in Builder()
148 mEnergy = energy; in Builder()
DNutritionRecord.java377 public Builder setEnergy(@Nullable Energy energy) { in setEnergy() argument
378 mEnergy = energy; in setEnergy()
1389 @Nullable Energy energy, in NutritionRecord()
1444 requireInRangeIfExists(energy, ENERGY_0_0, Energy.fromCalories(100000000.0), "energy"); in NutritionRecord()
1488 mEnergy = energy; in NutritionRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DUtils.java26 static void assertEnergyWithTolerance(Energy energy, double expected) { in assertEnergyWithTolerance() argument
27 assertThat(energy).isNotNull(); in assertEnergyWithTolerance()
28 assertThat(energy.getInCalories()).isWithin(1).of(expected); in assertEnergyWithTolerance()
DDataFactory.java45 double energy, Instant start, Instant end) { in getActiveCaloriesBurnedRecord() argument
47 getEmptyMetadata(), start, end, Energy.fromCalories(energy)) in getActiveCaloriesBurnedRecord()
DTotalCaloriesAggregationTest.java374 Instant startTime, double energy) { in getBaseActiveCaloriesBurnedRecord() argument
379 Energy.fromCalories(energy)) in getBaseActiveCaloriesBurnedRecord()
384 Instant startTime, double energy, ZoneOffset offset) { in getBaseActiveCaloriesBurnedRecord() argument
389 Energy.fromCalories(energy)) in getBaseActiveCaloriesBurnedRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DTotalCaloriesBurnedRecordInternal.java40 public TotalCaloriesBurnedRecordInternal setEnergy(double energy) { in setEnergy() argument
41 this.mEnergy = energy; in setEnergy()
DActiveCaloriesBurnedRecordInternal.java40 public ActiveCaloriesBurnedRecordInternal setEnergy(double energy) { in setEnergy() argument
41 this.mEnergy = energy; in setEnergy()
DNutritionRecordInternal.java300 public NutritionRecordInternal setEnergy(double energy) { in setEnergy() argument
301 this.mEnergy = energy; in setEnergy()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitsFragment.kt103 val energy = in <lambda>() constant
137 preferenceScreen.addPreference(energy) in <lambda>()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DActiveCaloriesBurnedRecordTest.java594 static ActiveCaloriesBurnedRecord getBaseActiveCaloriesBurnedRecord(double energy, int days) { in getBaseActiveCaloriesBurnedRecord() argument
599 Energy.fromCalories(energy)) in getBaseActiveCaloriesBurnedRecord()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto2088 // Actual monitored rail energy consumed by wifi (mAh)
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec6876 * Ratio of the energy used by the driver compared to what
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv3114 com.np.energy.joe 10229,10228
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv3114 com.np.energy.joe 10229,10228
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpl_wordlist.combined.gz