Home
last modified time | relevance | path

Searched refs:deviceList (Results 1 – 13 of 13) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothManager.java141 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in isBluetoothAvailable() local
143 if (deviceList.size() > 0) { in isBluetoothAvailable()
145 for (int i = 0; i < deviceList.size(); i++) { in isBluetoothAvailable()
146 BluetoothDevice device = deviceList.get(i); in isBluetoothAvailable()
165 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in isBluetoothAudioConnected() local
167 if (deviceList.isEmpty()) { in isBluetoothAudioConnected()
170 for (int i = 0; i < deviceList.size(); i++) { in isBluetoothAudioConnected()
171 BluetoothDevice device = deviceList.get(i); in isBluetoothAudioConnected()
261 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in dump() local
263 if (deviceList.size() > 0) { in dump()
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DMapProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
67 while (!deviceList.isEmpty()) { in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
121 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect()
122 if (!deviceList.isEmpty() && deviceList.get(0).equals(device)) { in disconnect()
134 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus()
137 return !deviceList.isEmpty() && deviceList.get(0).equals(device) in getConnectionStatus()
DHeadsetProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
67 while (!deviceList.isEmpty()) { in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
126 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect()
127 if (!deviceList.isEmpty()) { in disconnect()
128 for (BluetoothDevice dev : deviceList) { in disconnect()
145 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus()
146 if (!deviceList.isEmpty()){ in getConnectionStatus()
147 for (BluetoothDevice dev : deviceList) { in getConnectionStatus()
DHidProfile.java58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
59 while (!deviceList.isEmpty()) { in onServiceConnected()
60 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
115 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus() local
117 return !deviceList.isEmpty() && deviceList.get(0).equals(device) in getConnectionStatus()
DA2dpProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java654 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
666 deviceList.add(device); in getDevicesMatchingConnectionStates()
670 return deviceList; in getDevicesMatchingConnectionStates()
DA2dpSinkStateMachine.java660 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
672 deviceList.add(device); in getDevicesMatchingConnectionStates()
676 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerActivity.java421 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
423 if (deviceList.size() > 0) {
424 mBluetoothDevice = deviceList.get(0);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java485 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
497 deviceList.add(device); in getDevicesMatchingConnectionStates()
502 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java2354 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
2366 deviceList.add(device); in getDevicesMatchingConnectionStates()
2371 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1296 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
1301 deviceList.add(entry.getKey()); in getDevicesMatchingConnectionStates()
1306 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java2243 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
2255 deviceList.add(device); in getDevicesMatchingConnectionStates()
2260 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1432 List<BluetoothDevice> deviceList = hsService.getConnectedDevices(); in setProfileAutoConnectionPriority() local
1435 adjustOtherHeadsetPriorities(hsService, deviceList); in setProfileAutoConnectionPriority()