Home
last modified time | relevance | path

Searched refs:testDevice (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
H A DPhonePolicyTest.java402 testDevices[i] = testDevice; in testAutoConnectMultipleDevices()
413 hsConnectedDevices.add(testDevice); in testAutoConnectMultipleDevices()
416 a2dpConnectedDevices.add(testDevice); in testAutoConnectMultipleDevices()
470 testDevices[i] = testDevice; in testSetConnectionPolicyMultipleDevices()
475 hsConnectedDevices.add(testDevice); in testSetConnectionPolicyMultipleDevices()
476 a2dpConnectedDevices.add(testDevice); in testSetConnectionPolicyMultipleDevices()
483 hsConnectedDevices.add(testDevice); in testSetConnectionPolicyMultipleDevices()
486 when(mA2dpService.getConnectionPolicy(testDevice)) in testSetConnectionPolicyMultipleDevices()
490 a2dpConnectedDevices.add(testDevice); in testSetConnectionPolicyMultipleDevices()
493 when(mA2dpService.getConnectionPolicy(testDevice)) in testSetConnectionPolicyMultipleDevices()
[all …]
/aosp12/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
H A DMemoryTest.java44 public void setDevice(ITestDevice testDevice) { in setDevice() argument
45 mTestDevice = testDevice; in setDevice()
46 Device device = new Device(testDevice); in setDevice()
/aosp12/frameworks/base/tools/preload-check/src/com/android/preload/check/
H A DPreloadCheck.java38 public void setDevice(ITestDevice testDevice) { in setDevice() argument
39 mTestDevice = testDevice; in setDevice()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
H A DTestUtils.java195 BluetoothDevice testDevice = in getTestDevice() local
197 Assert.assertNotNull(testDevice); in getTestDevice()
198 return testDevice; in getTestDevice()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
H A DA2dpServiceTest.java464 BluetoothDevice testDevice = TestUtils.getTestDevice(mAdapter, i); in testMaxConnectDevices() local
465 testDevices[i] = testDevice; in testMaxConnectDevices()
466 when(mDatabaseManager.getProfileConnectionPolicy(testDevice, BluetoothProfile.A2DP)) in testMaxConnectDevices()
469 Assert.assertTrue("Connect failed", mA2dpService.connect(testDevice)); in testMaxConnectDevices()
471 verifyConnectionStateIntent(TIMEOUT_MS, testDevice, BluetoothProfile.STATE_CONNECTING, in testMaxConnectDevices()
474 mA2dpService.getConnectionState(testDevice)); in testMaxConnectDevices()
478 connCompletedEvent.device = testDevice; in testMaxConnectDevices()
483 verifyConnectionStateIntent(TIMEOUT_MS, testDevice, BluetoothProfile.STATE_CONNECTED, in testMaxConnectDevices()
486 mA2dpService.getConnectionState(testDevice)); in testMaxConnectDevices()
488 Assert.assertTrue(mA2dpService.getConnectedDevices().contains(testDevice)); in testMaxConnectDevices()
/aosp12/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/
H A DBootImageProfileTest.java36 public void setDevice(ITestDevice testDevice) { in setDevice() argument
37 mTestDevice = testDevice; in setDevice()