Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothManagerTest.java78 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testIsBluetoothAvailableWithNoDevices()
85 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testIsBluetoothAvailable()
92 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testIsAudioConnectedWithNoDevices()
99 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testIsAudioConnectedWhenAudioNotOn()
107 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testIsAudioConnectedWhenAudioOn()
115 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testShouldBePendingAfterConnectAudio()
139 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testConnectServiceWhenUninitialized1()
148 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testConnectServiceWhenUninitialized2()
158 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testConnectServiceWhenUninitialized3()
169 when(mHeadsetProxy.getConnectedDevices()).thenReturn( in testReceiveAudioDisconnectWhenConnected()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamingStateMachine.java178 if (avrcpService != null && avrcpService.getConnectedDevices().size() == 1) { in startAvrcpUpdates()
192 if (avrcpService != null && avrcpService.getConnectedDevices().size() == 1) { in stopAvrcpUpdates()
206 if (avrcpService != null && avrcpService.getConnectedDevices().size() == 1) { in sendAvrcpPause()
211 avrcpService.getConnectedDevices().get(0), in sendAvrcpPause()
215 avrcpService.getConnectedDevices().get(0), in sendAvrcpPause()
230 if (avrcpService != null && avrcpService.getConnectedDevices().size() == 1) { in sendAvrcpPlay()
235 avrcpService.getConnectedDevices().get(0), in sendAvrcpPlay()
239 avrcpService.getConnectedDevices().get(0), in sendAvrcpPlay()
DA2dpSinkService.java146 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in A2dpSinkService
148 return mStateMachine.getConnectedDevices(); in getConnectedDevices()
272 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in A2dpSinkService.BluetoothA2dpSinkBinder
275 return service.getConnectedDevices(); in getConnectedDevices()
DA2dpSinkStateMachine.java682 List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in A2dpSinkStateMachine
838 (avrcpCtrlService.getConnectedDevices().contains(mDevice))){ in SendPassThruPlay()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java165 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in A2dpService
167 return mStateMachine.getConnectedDevices(); in getConnectedDevices()
267 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in A2dpService.BluetoothA2dpBinder
270 return service.getConnectedDevices(); in getConnectedDevices()
DA2dpStateMachine.java651 List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in A2dpStateMachine
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java158 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in HeadsetService.BluetoothHeadsetBinder
161 return service.getConnectedDevices(); in getConnectedDevices()
379 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in HeadsetService
381 return mStateMachine.getConnectedDevices(); in getConnectedDevices()
560 for (BluetoothDevice device: getConnectedDevices()) { in enableWBS()
576 for (BluetoothDevice device: getConnectedDevices()) { in disableWBS()
/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothHeadsetProxy.java51 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in BluetoothHeadsetProxy
52 return mBluetoothHeadset.getConnectedDevices(); in getConnectedDevices()
DBluetoothManager.java210 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in isBluetoothAvailable()
235 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in isBluetoothAudioConnected()
361 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in dump()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java121 List<BluetoothDevice> DevList = getConnectedDevices(); in cleanup()
245 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in PanService.BluetoothPanBinder
248 return service.getConnectedDevices(); in getConnectedDevices()
308 List<BluetoothDevice> DevList = getConnectedDevices(); in setBluetoothTethering()
314 List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in PanService
DBluetoothTetheringNetworkFactory.java164 for (BluetoothDevice device : mPanService.getConnectedDevices()) { in onCancelRequest()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java174 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in PbapClientService.BluetoothPbapClientBinder
179 return service.getConnectedDevices(); in getConnectedDevices()
280 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in PbapClientService
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java189 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in HeadsetClientService.BluetoothHeadsetClientBinder
194 return service.getConnectedDevices(); in getConnectedDevices()
511 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in HeadsetClientService
513 return mStateMachine.getConnectedDevices(); in getConnectedDevices()
DHeadsetClientStateMachine.java2421 List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in HeadsetClientStateMachine
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java195 if (mInput.getConnectedDevices().contains(mDevice)) { in nextStepInit()
203 if (mA2dp.getConnectedDevices().contains(mDevice) || in nextStepInit()
204 mHeadset.getConnectedDevices().contains(mDevice)) { in nextStepInit()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
DA2dpMediaBrowserService.java164 List<BluetoothDevice> devices = proxy.getConnectedDevices();
304 List<BluetoothDevice> devices = mAvrcpProfile.getConnectedDevices(); in refreshInitialPlayingState()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java511 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in SapService
840 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in SapService.SapBinder
844 return service.getConnectedDevices(); in getConnectedDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpControllerService.java180 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in AvrcpControllerService
408 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in AvrcpControllerService.BluetoothAvrcpControllerBinder
411 return service.getConnectedDevices(); in getConnectedDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java532 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in BluetoothMapService
1231 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in BluetoothMapService.BluetoothMapBinder
1235 return service.getConnectedDevices(); in getConnectedDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java290 Set<String> getConnectedDevices() { in getConnectedDevices() method in ContextMap
DGattService.java1260 connectedDevices.addAll(mClientMap.getConnectedDevices()); in getDevicesMatchingConnectionStates()
1261 connectedDevices.addAll(mServerMap.getConnectedDevices()); in getDevicesMatchingConnectionStates()
1430 List<String> getConnectedDevices() { in getConnectedDevices() method in GattService
1434 connectedDevAddress.addAll(mClientMap.getConnectedDevices()); in getConnectedDevices()
1435 connectedDevAddress.addAll(mServerMap.getConnectedDevices()); in getConnectedDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionService.java429 List<BluetoothDevice> devices = mHeadsetProfile.getConnectedDevices();
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java470 int bluetoothTethered = bluetoothPan.getConnectedDevices().size(); in updateBluetoothState()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1755 List<BluetoothDevice> a2dpConnDevList= a2dpService.getConnectedDevices(); in processConnectOtherProfiles()
1756 List<BluetoothDevice> hfConnDevList= hsService.getConnectedDevices(); in processConnectOtherProfiles()
1830 List<BluetoothDevice> deviceList = hsService.getConnectedDevices(); in setProfileAutoConnectionPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java336 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() method in HidService.BluetoothInputDeviceBinder

12