Home
last modified time | relevance | path

Searched refs:setDevice (Results 1 – 25 of 87) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java99 setDevice(devices.get(0)); in onCreate()
116 private void setDevice(MtpDevice device) { in setDevice() method in IngestService
125 mIndex.setDevice(mDevice); in setDevice()
129 setDevice(null); in setDevice()
207 setDevice(device); in deviceAdded()
216 setDevice(null); in deviceRemoved()
/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/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java84 .setDevice(device) in BrowseTree()
93 .setDevice(device) in BrowseTree()
175 aid.setDevice(player.getDevice()); in BrowseNode()
189 aid.setDevice(device); in BrowseNode()
DAvrcpControllerNativeInterface.java240 .setDevice(device) in createFromNativeMediaItem()
262 .setDevice(device) in createFromNativeFolderItem()
291 .setDevice(device) in createFromNativePlayerItem()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DGeneralUtils.kt50 .setDevice(device) in <lambda>()
60 return Metadata.Builder().setDevice(device).setDataOrigin(dataOrigin).build() in <lambda>()
/packages/modules/AdServices/adservices/tests/test-util/host-side/com/android/adservices/common/
DAdServicesHostSideDeviceSupportedRule.java30 public void setDevice(ITestDevice device) { in setDevice() method in AdServicesHostSideDeviceSupportedRule
DAdServicesHostSideFlagsSetterRule.java48 public void setDevice(ITestDevice device) { in setDevice() method in AdServicesHostSideFlagsSetterRule
/packages/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/testing/
DHostSideTestCase.java35 public final void setDevice(ITestDevice device) { in setDevice() method in HostSideTestCase
DHostSideSdkLevelSupportRule.java30 public void setDevice(ITestDevice device) { in setDevice() method in HostSideSdkLevelSupportRule
DBackgroundLogReceiver.java181 public Builder setDevice(ITestDevice device) { in setDevice() method in BackgroundLogReceiver.Builder
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java97 .setDevice(buildDevice()) in generateMetadata()
338 .setDevice(device) in getHeartRateRecord()
468 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteStepsRecord()
486 .setDevice(metadata.getDevice()) in getUpdatedStepsRecord()
/packages/modules/AdServices/adservices/tests/cts/hosttests/src/com/android/adservices/cts/
DAdExtServicesFailedToMountHostTest.java54 .setDevice(mDevice) in testLogcatDoesNotContainError()
DAdExtServicesBootCompleteReceiverHostTest.java62 .setDevice(mDevice) in testExtBootCompleteReceiver()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DRecordMigrationPayloadTest.java43 .setDevice(
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/src/com/android/sdksandbox/cts/host/
DSdkSandboxDataIsolationHostTest.java66 .setDevice(getDevice()) in runPhase()
/packages/modules/NetworkStack/tests/hostlib/src/com/android/testutils/host/
DDeflakeHostTestBase.kt109 .setDevice(device) in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMetadata.java255 public Builder setDevice(@NonNull Device device) { in setDevice() method in Metadata.Builder
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItemTest.java78 builder.setDevice(mDevice); in buildAvrcpItem()
436 builder.setDevice(mDevice); in avrcpMediaItem_toMediaMetadata()
495 builder.setDevice(mDevice); in avrcpFolderItem_toMediaMetadata()
/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/
DProcNetTest.java83 public void setDevice(ITestDevice device) { in setDevice() method in ProcNetTest
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattService.java209 /*package*/ void setDevice(BluetoothDevice device) { in setDevice() method in BluetoothGattService
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DTotalCaloriesBurnedRecordTest.java468 .setDevice(metadata.getDevice()) in getTotalCaloriesBurnedRecord_update()
492 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteTotalCaloriesBurnedRecord()
DMenstruationFlowRecordTest.java528 .setDevice(metadata.getDevice()) in getMenstruationFlowRecord_update()
551 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteMenstruationFlowRecord()
DSexualActivityRecordTest.java511 .setDevice(metadata.getDevice()) in getSexualActivityRecord_update()
534 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteSexualActivityRecord()
DWheelchairPushesRecordTest.java506 .setDevice(metadata.getDevice()) in getWheelchairPushesRecord_update()
527 testMetadataBuilder.setDevice(device).setDataOrigin(dataOrigin); in getCompleteWheelchairPushesRecord()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DMigrationEntityParcelTest.java132 .setDevice(new Device.Builder().setManufacturer("Device").setModel("Model").build()) in getMetadata()

1234