Home
last modified time | relevance | path

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

123

/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java100 .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/
DUiTestUtils.kt279 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/
DGeneralUtils.kt51 .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/
DTestHelperUtils.java59 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/
DGetActivityDatesTest.java117 .setDataOrigin( in testGetActivityDates_onUpdate()
188 .setDataOrigin( in getTestRecords()
DSharedMemoryTest.java96 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()
DHealthConnectManagerTest.java2058 .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/
DDistanceRecordTest.java550 .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()
DBasalMetabolicRateRecordTest.java593 .setDataOrigin(metadata.getDataOrigin()) in getBasalMetabolicRateRecord_update()
605 new Metadata.Builder().setDataOrigin(getDataOrigin()).build(), in getBaseBasalMetabolicRateRecord()
619 testMetadataBuilder.setDevice(device).setDataOrigin(getDataOrigin()); in getCompleteBasalMetabolicRateRecord()
DTotalCaloriesBurnedRecordTest.java467 .setDataOrigin(metadata.getDataOrigin()) in getTotalCaloriesBurnedRecord_update()
492 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteTotalCaloriesBurnedRecord()
DMenstruationFlowRecordTest.java527 .setDataOrigin(metadata.getDataOrigin()) in getMenstruationFlowRecord_update()
551 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteMenstruationFlowRecord()
DSexualActivityRecordTest.java510 .setDataOrigin(metadata.getDataOrigin()) in getSexualActivityRecord_update()
534 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteSexualActivityRecord()
DWheelchairPushesRecordTest.java505 .setDataOrigin(metadata.getDataOrigin()) in getWheelchairPushesRecord_update()
527 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteWheelchairPushesRecord()
DOxygenSaturationRecordTest.java539 .setDataOrigin(metadata.getDataOrigin()) in getOxygenSaturationRecord_update()
565 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteOxygenSaturationRecord()
DIntermenstrualBleedingRecordTest.java575 .setDataOrigin(metadata.getDataOrigin()) in getIntermenstrualBleedingRecord_update()
606 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteIntermenstrualBleedingRecord()
DOvulationTestRecordTest.java508 .setDataOrigin(metadata.getDataOrigin()) in getOvulationTestRecord_update()
532 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteOvulationTestRecord()
DBodyTemperatureRecordTest.java538 .setDataOrigin(metadata.getDataOrigin()) in getBodyTemperatureRecord_update()
567 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteBodyTemperatureRecord()
DBoneMassRecordTest.java498 .setDataOrigin(metadata.getDataOrigin()) in getBoneMassRecord_update()
523 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteBoneMassRecord()
DRespiratoryRateRecordTest.java528 .setDataOrigin(metadata.getDataOrigin()) in getRespiratoryRateRecord_update()
553 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteRespiratoryRateRecord()
DMenstruationPeriodRecordTest.java575 .setDataOrigin(metadata.getDataOrigin()) in getMenstruationPeriodRecord_update()
605 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteMenstruationPeriodRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMetadata.java269 public Builder setDataOrigin(@NonNull DataOrigin dataOrigin) { in setDataOrigin() method in Metadata.Builder
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreE2ETest.java158 metadataBuilder.setDataOrigin(dataOrigin); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly()
324 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteActiveCaloriesBurnedRecord()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DMigrationEntityParcelTest.java131 .setDataOrigin(new DataOrigin.Builder().setPackageName(packageName).build()) in getMetadata()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/seed/
DSeedData.kt171 return Metadata.Builder().setDevice(device).setDataOrigin(dataOrigin).build() in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DRecordInternal.java287 .setDataOrigin(new DataOrigin.Builder().setPackageName(getPackageName()).build()) in buildMetaData()

123