/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | DataFactory.java | 100 .setDataOrigin( in generateMetadata() 122 return new Metadata.Builder().setId(id).setDataOrigin(dataOrigin).build(); in getMetadataForId() 132 return new Metadata.Builder().setClientRecordId(clientId).setDataOrigin(dataOrigin).build(); in getMetadataForClientId() 145 return new Metadata.Builder().setDataOrigin(dataOrigin).build(); in getMetadata() 339 .setDataOrigin(dataOrigin) in getHeartRateRecord() 468 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteStepsRecord() 485 .setDataOrigin(metadata.getDataOrigin()) in getUpdatedStepsRecord()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | UiTestUtils.kt | 279 testMetadataBuilder.setDevice(TEST_DEVICE).setDataOrigin(dataOrigin) in stepsRecord() 292 testMetadataBuilder.setDevice(TEST_DEVICE).setDataOrigin(dataOrigin) in distanceRecord() 302 testMetadataBuilder.setDevice(TEST_DEVICE).setDataOrigin(dataOrigin) in distanceRecord()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | GeneralUtils.kt | 51 .setDataOrigin(dataOrigin) in <lambda>() 60 return Metadata.Builder().setDevice(device).setDataOrigin(dataOrigin).build() in <lambda>()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | TestHelperUtils.java | 59 return new Metadata.Builder().setDataOrigin(getDataOrigin()).build(); in getMetadata() 63 return new Metadata.Builder().setDataOrigin(getDataOrigin()).setId(id).build(); in getMetadata()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | GetActivityDatesTest.java | 117 .setDataOrigin( in testGetActivityDates_onUpdate() 188 .setDataOrigin( in getTestRecords()
|
D | SharedMemoryTest.java | 96 Metadata metadata = new Metadata.Builder().setDataOrigin(dataOrigin).build(); in insertRecordsAndReadRecordsByFilter_viaSharedMemory_recordsEqual() 228 Metadata metadata = new Metadata.Builder().setDataOrigin(dataOrigin).build(); in getChangeLogs_viaSharedMemory_recordsMatch()
|
D | HealthConnectManagerTest.java | 2058 .setDataOrigin(metadata.getDataOrigin()) in setTestRecordId() 2140 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getStepsRecord() 2174 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getHeartRateRecord() 2193 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getBasalMetabolicRateRecord() 2205 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getHydrationRecord() 2218 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getNutritionRecord()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | DistanceRecordTest.java | 550 .setDataOrigin(metadata.getDataOrigin()) in getDistanceRecord_update() 587 new Metadata.Builder().setDataOrigin(getDataOrigin()).build(), in getBaseDistanceRecord() 597 new Metadata.Builder().setDataOrigin(getDataOrigin()).build(), in getBaseDistanceRecord() 614 testMetadataBuilder.setDevice(device).setDataOrigin(getDataOrigin()); in getCompleteDistanceRecord()
|
D | BasalMetabolicRateRecordTest.java | 593 .setDataOrigin(metadata.getDataOrigin()) in getBasalMetabolicRateRecord_update() 605 new Metadata.Builder().setDataOrigin(getDataOrigin()).build(), in getBaseBasalMetabolicRateRecord() 619 testMetadataBuilder.setDevice(device).setDataOrigin(getDataOrigin()); in getCompleteBasalMetabolicRateRecord()
|
D | TotalCaloriesBurnedRecordTest.java | 467 .setDataOrigin(metadata.getDataOrigin()) in getTotalCaloriesBurnedRecord_update() 492 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteTotalCaloriesBurnedRecord()
|
D | MenstruationFlowRecordTest.java | 527 .setDataOrigin(metadata.getDataOrigin()) in getMenstruationFlowRecord_update() 551 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteMenstruationFlowRecord()
|
D | SexualActivityRecordTest.java | 510 .setDataOrigin(metadata.getDataOrigin()) in getSexualActivityRecord_update() 534 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteSexualActivityRecord()
|
D | WheelchairPushesRecordTest.java | 505 .setDataOrigin(metadata.getDataOrigin()) in getWheelchairPushesRecord_update() 527 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteWheelchairPushesRecord()
|
D | OxygenSaturationRecordTest.java | 539 .setDataOrigin(metadata.getDataOrigin()) in getOxygenSaturationRecord_update() 565 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteOxygenSaturationRecord()
|
D | IntermenstrualBleedingRecordTest.java | 575 .setDataOrigin(metadata.getDataOrigin()) in getIntermenstrualBleedingRecord_update() 606 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteIntermenstrualBleedingRecord()
|
D | OvulationTestRecordTest.java | 508 .setDataOrigin(metadata.getDataOrigin()) in getOvulationTestRecord_update() 532 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteOvulationTestRecord()
|
D | BodyTemperatureRecordTest.java | 538 .setDataOrigin(metadata.getDataOrigin()) in getBodyTemperatureRecord_update() 567 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteBodyTemperatureRecord()
|
D | BoneMassRecordTest.java | 498 .setDataOrigin(metadata.getDataOrigin()) in getBoneMassRecord_update() 523 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteBoneMassRecord()
|
D | RespiratoryRateRecordTest.java | 528 .setDataOrigin(metadata.getDataOrigin()) in getRespiratoryRateRecord_update() 553 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteRespiratoryRateRecord()
|
D | MenstruationPeriodRecordTest.java | 575 .setDataOrigin(metadata.getDataOrigin()) in getMenstruationPeriodRecord_update() 605 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteMenstruationPeriodRecord()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | Metadata.java | 269 public Builder setDataOrigin(@NonNull DataOrigin dataOrigin) { in setDataOrigin() method in Metadata.Builder
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/ |
D | BackupRestoreE2ETest.java | 158 metadataBuilder.setDataOrigin(dataOrigin); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 324 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteActiveCaloriesBurnedRecord()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | MigrationEntityParcelTest.java | 131 .setDataOrigin(new DataOrigin.Builder().setPackageName(packageName).build()) in getMetadata()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/seed/ |
D | SeedData.kt | 171 return Metadata.Builder().setDevice(device).setDataOrigin(dataOrigin).build() in <lambda>()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | RecordInternal.java | 287 .setDataOrigin(new DataOrigin.Builder().setPackageName(getPackageName()).build()) in buildMetaData()
|