Searched refs:getProtein (Results 1 – 7 of 7) sorted by relevance
1607 public Mass getProtein() { in getProtein() method in NutritionRecord1890 && Objects.equals(getProtein(), that.getProtein()) in equals()1943 getProtein(), in hashCode()2031 if (!Objects.isNull(getProtein())) { in toRecordInternal()2032 recordInternal.setProtein(getProtein().getInGrams()); in toRecordInternal()
206 public double getProtein() { in getProtein() method in NutritionRecordInternal584 .setProtein(Mass.fromGrams(getProtein())) in toExternalRecord()
296 assertThat(newRecord.getProtein()).isEqualTo(testRecord.getProtein()); in testReadNutritionRecordUsingFilters_dataFilter_correct()
495 contentValues.put(PROTEIN_COLUMN_NAME, nutritionRecord.getProtein()); in populateSpecificContentValues()
669 assertThat(getRecordById(records, id1).getProtein()).isEqualTo(protein1); in testInsertRecords_nutritionNoClientIdsAndSameTime_doesNotOverwrite()670 assertThat(getRecordById(records, id2).getProtein()).isEqualTo(protein2); in testInsertRecords_nutritionNoClientIdsAndSameTime_doesNotOverwrite()
570 mExpect.that(records.stream().map(NutritionRecord::getProtein).toList()) in migrateNutrition_noClientIdsAndSameTime_notIgnored()
1236 method @Nullable public android.health.connect.datatypes.units.Mass getProtein();