Home
last modified time | relevance | path

Searched refs:deviceAddress (Results 1 – 10 of 10) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
DCompanionDeviceServiceTestActivity.java117 private void disassociate(String deviceAddress) { in disassociate() argument
118 mCompanionDeviceManager.stopObservingDevicePresence(deviceAddress); in disassociate()
119 mCompanionDeviceManager.disassociate(deviceAddress); in disassociate()
122 if (associations.contains(deviceAddress)) { in disassociate()
123 fail("Disassociating device " + deviceAddress in disassociate()
130 private void isGoneTest(String deviceAddress) { in isGoneTest() argument
133 v -> isPresentTest(deviceAddress)); in isGoneTest()
136 disassociate(deviceAddress); in isGoneTest()
137 fail("Device " + deviceAddress + " should be gone"); in isGoneTest()
141 private void isPresentTest(String deviceAddress) { in isPresentTest() argument
[all …]
DCompanionDeviceTestActivity.java133 String deviceAddress = associatedDevice.getAddress(); in onActivityResult() local
134 if (!newAssociations.contains(deviceAddress)) { in onActivityResult()
141 if (associations.contains(deviceAddress)) { in onActivityResult()
142 fail("Disassociating device " + deviceAddress in onActivityResult()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothDeviceTest.java67 String deviceAddress = "00:11:22:AA:BB:CC"; in test_setAlias_getAlias() local
69 BluetoothDevice device = mAdapter.getRemoteDevice(deviceAddress); in test_setAlias_getAlias()
85 "cmd companiondevice associate %d %s %s", userId, packageName, deviceAddress)); in test_setAlias_getAlias()
88 assertTrue("Device address missing from output", output.contains(deviceAddress)); in test_setAlias_getAlias()
103 "cmd companiondevice disassociate %d %s %s", userId, packageName, deviceAddress)); in test_setAlias_getAlias()
/cts/tests/tests/wifi/src/android/net/wifi/p2p/cts/
DWifiP2pConfigTest.java42 assertEquals(copiedConfig.deviceAddress, TEST_DEVICE_ADDRESS); in testWifiP2pConfigCopyConstructor()
58 assertEquals(config.deviceAddress, TEST_DEVICE_ADDRESS); in testWifiP2pConfigBuilderForPersist()
74 assertEquals(config.deviceAddress, TEST_DEVICE_ADDRESS); in testWifiP2pConfigBuilderForNonPersist()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DUPnPServiceResponseListenerTest.java60 Log.d(TAG, uniqueServiceNames + " received from " + srcDevice.deviceAddress); in onUpnpServiceAvailable()
66 if (srcDevice.deviceAddress.equalsIgnoreCase(mTargetAddr)) { in onUpnpServiceAvailable()
DDnsSdResponseListenerTest.java64 " received from " + srcDevice.deviceAddress); in onDnsSdServiceAvailable()
70 if (srcDevice.deviceAddress.equalsIgnoreCase(mTargetAddr)) { in onDnsSdServiceAvailable()
DConnectReqTestCase.java127 config.deviceAddress = dev.deviceAddress; in connectTest()
227 setTargetAddress(group.getOwner().deviceAddress); in connectTest()
DDnsSdTxtRecordListenerTest.java66 + srcDevice.deviceAddress); in onDnsSdTxtRecordAvailable()
72 if (srcDevice.deviceAddress.equalsIgnoreCase(mTargetAddr)) { in onDnsSdTxtRecordAvailable()
/cts/tests/tests/os/src/android/os/cts/
DCompanionDeviceManagerTest.kt196 val deviceAddress = getAssociatedDevices(packageName).last() in <lambda>() constant
198 runShellCommandOrThrow("cmd companiondevice simulate_connect $deviceAddress") in <lambda>()
201 runShellCommandOrThrow("cmd companiondevice simulate_disconnect $deviceAddress") in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DRequesterTestActivity.java301 sTargetAddr = dev.deviceAddress; in showSelectTargetDialog()