Home
last modified time | relevance | path

Searched refs:getConnectedDevices (Results 1 – 25 of 26) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DHidDeviceActivity.java216 List<BluetoothDevice> connectedDevices = mBluetoothHidDevice.getConnectedDevices(); in getConnectedDevice()
231 if (mBluetoothHidDevice.getConnectedDevices().size() == 0) { in testSendReport()
235 mHidHost = mBluetoothHidDevice.getConnectedDevices().get(0); in testSendReport()
256 if (mBluetoothHidDevice.getConnectedDevices().size() == 0) { in testReplyReport()
260 mHidHost = mBluetoothHidDevice.getConnectedDevices().get(0); in testReplyReport()
277 if (mBluetoothHidDevice.getConnectedDevices().size() == 0) { in testReportError()
281 mHidHost = mBluetoothHidDevice.getConnectedDevices().get(0); in testReportError()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothSapTest.java125 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothSapTest
131 assertNotNull(mBluetoothSap.getConnectedDevices()); in getConnectedDevices()
134 assertThrows(SecurityException.class, () -> mBluetoothSap.getConnectedDevices()); in getConnectedDevices()
DBasicBluetoothGattTest.java122 public void getConnectedDevices() { in getConnectedDevices() method in BasicBluetoothGattTest
124 () -> mBluetoothGatt.getConnectedDevices()); in getConnectedDevices()
DBluetoothA2dpSinkTest.java122 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothA2dpSinkTest
127 assertEquals(mBluetoothA2dpSink.getConnectedDevices(), new ArrayList<BluetoothDevice>()); in getConnectedDevices()
130 assertThrows(SecurityException.class, () -> mBluetoothA2dpSink.getConnectedDevices()); in getConnectedDevices()
DBluetoothGattServerTest.java108 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothGattServerTest
110 () -> mBluetoothGattServer.getConnectedDevices()); in getConnectedDevices()
DBluetoothPbapTest.java128 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothPbapTest
136 List<BluetoothDevice> connectedDevices = mBluetoothPbap.getConnectedDevices(); in getConnectedDevices()
DBluetoothPbapClientTest.java125 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothPbapClientTest
133 List<BluetoothDevice> connectedDevices = mBluetoothPbapClient.getConnectedDevices(); in getConnectedDevices()
DBluetoothPanTest.java124 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothPanTest
132 List<BluetoothDevice> connectedDevices = mBluetoothPan.getConnectedDevices(); in getConnectedDevices()
DBluetoothHidDeviceTest.java199 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothHidDeviceTest
207 List<BluetoothDevice> connectedDevices = mBluetoothHidDevice.getConnectedDevices(); in getConnectedDevices()
DBluetoothMapTest.java128 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothMapTest
136 List<BluetoothDevice> connectedDevices = mBluetoothMap.getConnectedDevices(); in getConnectedDevices()
DBluetoothHeadsetClientTest.java126 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothHeadsetClientTest
134 List<BluetoothDevice> connectedDevices = mBluetoothHeadsetClient.getConnectedDevices(); in getConnectedDevices()
DBluetoothMapClientTest.java140 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothMapClientTest
148 List<BluetoothDevice> connectedDevices = mBluetoothMapClient.getConnectedDevices(); in getConnectedDevices()
DHearingAidProfileTest.java260 public void getConnectedDevices() { in getConnectedDevices() method in HearingAidProfileTest
261 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectedDevices()
DBluetoothHidHostTest.java141 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothHidHostTest
149 List<BluetoothDevice> connectedDevices = mHidHost.getConnectedDevices(); in getConnectedDevices()
DBluetoothCsipSetCoordinatorTest.java190 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothCsipSetCoordinatorTest
197 List<BluetoothDevice> connectedDevices = mBluetoothCsipSetCoordinator.getConnectedDevices(); in getConnectedDevices()
DBluetoothHapClientTest.java114 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothHapClientTest
118 List<BluetoothDevice> connectedDevices = mService.getConnectedDevices(); in getConnectedDevices()
DBluetoothLeBroadcastAssistantTest.java504 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothLeBroadcastAssistantTest
510 mBluetoothLeBroadcastAssistant.getConnectedDevices(); in getConnectedDevices()
517 connectedDevices = mBluetoothLeBroadcastAssistant.getConnectedDevices(); in getConnectedDevices()
DBluetoothHeadsetTest.java126 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothHeadsetTest
131 assertEquals(mBluetoothHeadset.getConnectedDevices(), in getConnectedDevices()
DBluetoothLeAudioTest.java187 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothLeAudioTest
194 List<BluetoothDevice> connectedDevices = mBluetoothLeAudio.getConnectedDevices(); in getConnectedDevices()
DBluetoothA2dpTest.java154 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothA2dpTest
159 assertEquals(mBluetoothA2dp.getConnectedDevices(), in getConnectedDevices()
DBluetoothVolumeControlTest.java215 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothVolumeControlTest
223 List<BluetoothDevice> connectedDevices = mBluetoothVolumeControl.getConnectedDevices(); in getConnectedDevices()
DBluetoothLeBroadcastTest.java268 public void getConnectedDevices() { in getConnectedDevices() method in BluetoothLeBroadcastTest
274 () -> mBluetoothLeBroadcast.getConnectedDevices()); in getConnectedDevices()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dbluetooth-current.txt6 ….BLUETOOTH_CONNECT) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
518 method @NonNull public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
607 … method @Deprecated public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
745 method public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
793 ….BLUETOOTH_CONNECT) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
823 ….BLUETOOTH_CONNECT) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
859 ….BLUETOOTH_CONNECT) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
868 ….BLUETOOTH_CONNECT) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
944 ….BLUETOOTH_CONNECT) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
1031 …UETOOTH_CONNECT) public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(int);
[all …]
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java435 assertThat(testAppInstance.bluetoothManager().getConnectedDevices(/* profile= */ 7)) in bluetoothManager_returnsUsableInstance()
/cts/tests/tests/hardware/src/android/hardware/hdmi/cts/
DHdmiControlManagerTest.java96 mHdmiControlManager.getConnectedDevices(); in testHdmiCecPermissionRequired()

12