Home
last modified time | relevance | path

Searched refs:getDevicesMatchingConnectionStates (Results 1 – 25 of 102) sorted by relevance

12345

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBleBroadcastAssistantBinderTest.java82 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in BleBroadcastAssistantBinderTest
84 mBinder.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
85 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
87 doThrow(new RuntimeException()).when(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
88 assertThat(mBinder.getDevicesMatchingConnectionStates(states)).isEqualTo( in getDevicesMatchingConnectionStates()
92 assertThat(mBinder.getDevicesMatchingConnectionStates(states)).isEqualTo( in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DBluetoothHidDeviceBinderTest.java163 verify(mService).getDevicesMatchingConnectionStates(any(int[].class)); in getConnectedDevices()
167 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in BluetoothHidDeviceBinderTest
169 mBinder.getDevicesMatchingConnectionStates(states, mAttributionSource, in getDevicesMatchingConnectionStates()
171 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
DHidHostServiceBinderTest.java74 verify(mService).getDevicesMatchingConnectionStates( in getConnectedDevices_callsServiceMethod()
81 mBinder.getDevicesMatchingConnectionStates(states, null, SynchronousResultReceiver.get()); in getDevicesMatchingConnectionStates_callsServiceMethod()
83 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates_callsServiceMethod()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/
DBatteryServiceBinderTest.java85 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in BatteryServiceBinderTest
91 mBinder.getDevicesMatchingConnectionStates(states, source, recv); in getDevicesMatchingConnectionStates()
92 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
DBatteryServiceTest.java251 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in BatteryServiceTest
255 Assert.assertTrue(mService.getDevicesMatchingConnectionStates(states).contains(mDevice)); in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DBluetoothCsisBinderTest.java75 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in BluetoothCsisBinderTest
77 mBinder.getDevicesMatchingConnectionStates(states, mAttributionSource, in getDevicesMatchingConnectionStates()
79 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothManager.java135 return getDevicesMatchingConnectionStates(profile, new int[] { in getConnectedDevices()
161 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int profile, int[] states) { in getDevicesMatchingConnectionStates() method in BluetoothManager
176 iGatt.getDevicesMatchingConnectionStates(states, mAttributionSource, recv); in getDevicesMatchingConnectionStates()
DBluetoothPbap.java214 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() method in BluetoothPbap
223 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
DBluetoothAvrcpController.java164 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() method in BluetoothAvrcpController
175 service.getDevicesMatchingConnectionStates(states, mAttributionSource, recv); in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceBinderTest.java86 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in A2dpSinkServiceBinderTest
92 mBinder.getDevicesMatchingConnectionStates(states, source, recv); in getDevicesMatchingConnectionStates()
93 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DBluetoothHeadsetBinderTest.java71 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in BluetoothHeadsetBinderTest
73 mBinder.getDevicesMatchingConnectionStates(states, mAttributionSource, in getDevicesMatchingConnectionStates()
75 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
DHeadsetServiceAndStateMachineTest.java293 mHeadsetService.getDevicesMatchingConnectionStates( in testConnectFromApi()
308 mHeadsetService.getDevicesMatchingConnectionStates( in testConnectFromApi()
427 Assert.assertThat(mHeadsetService.getDevicesMatchingConnectionStates( in testVirtualCall_normalStartStop()
463 Assert.assertThat(mHeadsetService.getDevicesMatchingConnectionStates( in testVirtualCall_preemptedByTelecomCall()
503 Assert.assertThat(mHeadsetService.getDevicesMatchingConnectionStates( in testVirtualCall_rejectedWhenThereIsTelecomCall()
532 Assert.assertThat(mHeadsetService.getDevicesMatchingConnectionStates( in testDialingOutCall_NormalDialingOut()
611 Assert.assertThat(mHeadsetService.getDevicesMatchingConnectionStates( in testDialingOutCall_DialingOutPreemptVirtualCall()
1109 Assert.assertThat(mHeadsetService.getDevicesMatchingConnectionStates( in testPhoneStateChangedWithIncomingCallState()
1187 mHeadsetService.getDevicesMatchingConnectionStates( in connectTestDevice()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapServiceBinderTest.java70 mBinder.getDevicesMatchingConnectionStates(states, null); in getDevicesMatchingConnectionStates_callsServiceMethod()
72 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates_callsServiceMethod()
DBluetoothPbapServiceTest.java125 assertThat(mService.getDevicesMatchingConnectionStates(null)).isEmpty(); in getDevicesMatchingConnectionStates_whenStatesIsNull_returnsEmptyList()
129 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in BluetoothPbapServiceTest
135 assertThat(mService.getDevicesMatchingConnectionStates(states)).contains(mRemoteDevice); in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerServiceBinderTest.java66 mBinder.getDevicesMatchingConnectionStates(states, null, SynchronousResultReceiver.get()); in getDevicesMatchingConnectionStates_callsServiceMethod()
68 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates_callsServiceMethod()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pan/
DPanServiceBinderTest.java82 mBinder.getDevicesMatchingConnectionStates(states, null, SynchronousResultReceiver.get()); in getDevicesMatchingConnectionStates_callsServiceMethod()
84 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates_callsServiceMethod()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapServiceBinderTest.java72 mBinder.getDevicesMatchingConnectionStates(states, null, SynchronousResultReceiver.get()); in getDevicesMatchingConnectionStates_callsServiceMethod()
74 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates_callsServiceMethod()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientServiceBinderTest.java81 mBinder.getDevicesMatchingConnectionStates(states, null, SynchronousResultReceiver.get()); in getDevicesMatchingConnectionStates_callsServiceMethod()
83 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates_callsServiceMethod()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java266 public void getDevicesMatchingConnectionStates(int[] states, in getDevicesMatchingConnectionStates() method in A2dpSinkService.A2dpSinkServiceBinder
272 result = service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
440 return getDevicesMatchingConnectionStates(new int[]{BluetoothAdapter.STATE_CONNECTED}); in getConnectedDevices()
462 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() method in A2dpSinkService
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceBinderTest.java100 public void getDevicesMatchingConnectionStates() { in getDevicesMatchingConnectionStates() method in A2dpServiceBinderTest
106 mBinder.getDevicesMatchingConnectionStates(states, source, recv); in getDevicesMatchingConnectionStates()
107 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DPanService.java206 getDevicesMatchingConnectionStates(desiredStates); in cleanup()
410 public void getDevicesMatchingConnectionStates(int[] states, in getDevicesMatchingConnectionStates() method in PanService.BluetoothPanBinder
416 defaultValue = service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
570 getDevicesMatchingConnectionStates(new int[]{BluetoothProfile.STATE_CONNECTED}); in getConnectedDevices()
575 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() method in PanService
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientService.java411 public void getDevicesMatchingConnectionStates(int[] states, in getDevicesMatchingConnectionStates() method in PbapClientService.BluetoothPbapClientBinder
417 defaultValue = service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
545 return getDevicesMatchingConnectionStates(desiredStates); in getConnectedDevices()
549 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() method in PbapClientService
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientServiceBinderTest.java79 mBinder.getDevicesMatchingConnectionStates(states, null, SynchronousResultReceiver.get()); in getDevicesMatchingConnectionStates_callsServiceMethod()
81 verify(mService).getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates_callsServiceMethod()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMapClientService.java206 return getDevicesMatchingConnectionStates(new int[]{BluetoothAdapter.STATE_CONNECTED}); in getConnectedDevices()
213 public synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() method in MapClientService
573 public void getDevicesMatchingConnectionStates(int[] states, in getDevicesMatchingConnectionStates() method in MapClientService.Binder
582 devices = service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/system/binder/android/bluetooth/
DIBluetoothPbap.aidl31 …List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states, in AttributionSource att… in getDevicesMatchingConnectionStates() method

12345