/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | NutritionRecordTest.java | 19 import static android.health.connect.datatypes.NutritionRecord.BIOTIN_TOTAL; 20 import static android.health.connect.datatypes.NutritionRecord.CAFFEINE_TOTAL; 21 import static android.health.connect.datatypes.NutritionRecord.CALCIUM_TOTAL; 22 import static android.health.connect.datatypes.NutritionRecord.CHLORIDE_TOTAL; 23 import static android.health.connect.datatypes.NutritionRecord.CHOLESTEROL_TOTAL; 24 import static android.health.connect.datatypes.NutritionRecord.CHROMIUM_TOTAL; 25 import static android.health.connect.datatypes.NutritionRecord.COPPER_TOTAL; 26 import static android.health.connect.datatypes.NutritionRecord.DIETARY_FIBER_TOTAL; 27 import static android.health.connect.datatypes.NutritionRecord.ENERGY_FROM_FAT_TOTAL; 28 import static android.health.connect.datatypes.NutritionRecord.ENERGY_TOTAL; [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | AggregationTypeIdMapper.java | 42 import static android.health.connect.datatypes.NutritionRecord.BIOTIN_TOTAL; 43 import static android.health.connect.datatypes.NutritionRecord.CAFFEINE_TOTAL; 44 import static android.health.connect.datatypes.NutritionRecord.CALCIUM_TOTAL; 45 import static android.health.connect.datatypes.NutritionRecord.CHLORIDE_TOTAL; 46 import static android.health.connect.datatypes.NutritionRecord.CHOLESTEROL_TOTAL; 47 import static android.health.connect.datatypes.NutritionRecord.CHROMIUM_TOTAL; 48 import static android.health.connect.datatypes.NutritionRecord.COPPER_TOTAL; 49 import static android.health.connect.datatypes.NutritionRecord.DIETARY_FIBER_TOTAL; 50 import static android.health.connect.datatypes.NutritionRecord.ENERGY_FROM_FAT_TOTAL; 51 import static android.health.connect.datatypes.NutritionRecord.ENERGY_TOTAL; [all …]
|
D | RecordMapper.java | 43 import android.health.connect.datatypes.NutritionRecord; 242 RecordTypeIdentifier.RECORD_TYPE_NUTRITION, NutritionRecord.class); in RecordMapper()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | NutritionFormatter.kt | 20 import android.health.connect.datatypes.NutritionRecord in <lambda>() 37 EntryFormatter<NutritionRecord>(context) { in <lambda>() 40 record: NutritionRecord, in <lambda>() 55 record: NutritionRecord, in <lambda>() 70 record: NutritionRecord, in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | NutritionFormatterTest.kt | 19 import android.health.connect.datatypes.NutritionRecord 207 private fun getBuilder(): NutritionRecord.Builder { in getBuilder() 208 return NutritionRecord.Builder(getMetaData(), NOW, NOW.plusSeconds(10)) in getBuilder()
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 1210 public final class NutritionRecord extends android.health.connect.datatypes.IntervalRecord { 1299 public static final class NutritionRecord.Builder { 1300 …ctor public NutritionRecord.Builder(@NonNull android.health.connect.datatypes.Metadata, @NonNull j… 1301 method @NonNull public android.health.connect.datatypes.NutritionRecord build(); 1302 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder clearEndZoneOffset… 1303 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder clearStartZoneOffs… 1304 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder setBiotin(@Nullabl… 1305 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder setCaffeine(@Nulla… 1306 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder setCalcium(@Nullab… 1307 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder setChloride(@Nulla… [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | NutritionRecordInternal.java | 24 import android.health.connect.datatypes.NutritionRecord; 35 public final class NutritionRecordInternal extends IntervalRecordInternal<NutritionRecord> { 571 public NutritionRecord toExternalRecord() { in toExternalRecord() 572 return new NutritionRecord.Builder(buildMetaData(), getStartTime(), getEndTime()) in toExternalRecord()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/ |
D | DataType.kt | 41 import android.health.connect.datatypes.NutritionRecord 85 NUTRITION(NutritionRecord::class.java),
|
D | HealthPermissionToDatatypeMapper.kt | 41 import android.health.connect.datatypes.NutritionRecord 124 NUTRITION to listOf(NutritionRecord::class.java),
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | NutritionRecord.java | 35 public final class NutritionRecord extends IntervalRecord { class 674 public NutritionRecord buildWithoutValidation() { in buildWithoutValidation() 675 return new NutritionRecord( in buildWithoutValidation() 732 public NutritionRecord build() { in build() 733 return new NutritionRecord( in build() 1364 private NutritionRecord( in NutritionRecord() method in NutritionRecord 1878 NutritionRecord that = (NutritionRecord) o; in equals()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ |
D | Constants.kt | 41 import android.health.connect.datatypes.NutritionRecord 303 NUTRITION(NutritionRecord::class, R.string.nutrition_label),
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | DataMigrationTest.java | 63 import android.health.connect.datatypes.NutritionRecord; 554 new NutritionRecord.Builder(getMetadata(), mStartTime, mEndTime) in migrateNutrition_noClientIdsAndSameTime_notIgnored() 562 new NutritionRecord.Builder(getMetadata(), mStartTime, mEndTime) in migrateNutrition_noClientIdsAndSameTime_notIgnored() 569 final List<NutritionRecord> records = getRecords(NutritionRecord.class); in migrateNutrition_noClientIdsAndSameTime_notIgnored() 570 mExpect.that(records.stream().map(NutritionRecord::getProtein).toList()) in migrateNutrition_noClientIdsAndSameTime_notIgnored()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | InsertOrUpdateRecords.kt | 47 import android.health.connect.datatypes.NutritionRecord 610 NutritionRecord::class -> { in createRecordObjectHelper() 612 NutritionRecord.Builder( in createRecordObjectHelper()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/ |
D | HealthDataEntryFormatter.kt | 43 import android.health.connect.datatypes.NutritionRecord 178 is NutritionRecord -> nutritionFormatter.format(record, appName) in format()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthConnectManagerTest.java | 88 import android.health.connect.datatypes.NutritionRecord; 661 final List<NutritionRecord> records = in testInsertRecords_nutritionNoClientIdsAndSameTime_doesNotOverwrite() 663 new ReadRecordsRequestUsingIds.Builder<>(NutritionRecord.class) in testInsertRecords_nutritionNoClientIdsAndSameTime_doesNotOverwrite() 2213 private static NutritionRecord getNutritionRecord( in getNutritionRecord() 2222 return new NutritionRecord.Builder(testMetadataBuilder.build(), startTime, endTime) in getNutritionRecord()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | HealthConnectServiceLogsTests.java | 20 import static android.health.connect.datatypes.NutritionRecord.BIOTIN_TOTAL;
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 121 import android.health.connect.datatypes.NutritionRecord; 739 NutritionRecord.class, in populateAndResetExpectedResponseMap()
|