Home
last modified time | relevance | path

Searched refs:getCaffeine (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DNutritionRecord.java1575 public Mass getCaffeine() { in getCaffeine() method in NutritionRecord
1886 && Objects.equals(getCaffeine(), that.getCaffeine()) in equals()
1939 getCaffeine(), in hashCode()
2019 if (!Objects.isNull(getCaffeine())) { in toRecordInternal()
2020 recordInternal.setCaffeine(getCaffeine().getInGrams()); in toRecordInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DNutritionRecordInternal.java162 public double getCaffeine() { in getCaffeine() method in NutritionRecordInternal
580 .setCaffeine(Mass.fromGrams(getCaffeine())) in toExternalRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DNutritionRecordTest.java292 assertThat(newRecord.getCaffeine()).isEqualTo(testRecord.getCaffeine()); in testReadNutritionRecordUsingFilters_dataFilter_correct()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DNutritionRecordHelper.java491 contentValues.put(CAFFEINE_COLUMN_NAME, nutritionRecord.getCaffeine()); in populateSpecificContentValues()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1212 method @Nullable public android.health.connect.datatypes.units.Mass getCaffeine();