Searched refs:deviceList (Results 1 – 13 of 13) sorted by relevance
141 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in isBluetoothAvailable() local143 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() local167 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() local263 if (deviceList.size() > 0) { in dump()[all …]
66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local67 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()
66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local67 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()
58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local59 while (!deviceList.isEmpty()) { in onServiceConnected()60 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()115 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus() local117 return !deviceList.isEmpty() && deviceList.get(0).equals(device) in getConnectionStatus()
63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local64 while (!deviceList.isEmpty()) { in onServiceConnected()65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
654 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local666 deviceList.add(device); in getDevicesMatchingConnectionStates()670 return deviceList; in getDevicesMatchingConnectionStates()
660 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local672 deviceList.add(device); in getDevicesMatchingConnectionStates()676 return deviceList; in getDevicesMatchingConnectionStates()
421 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();423 if (deviceList.size() > 0) {424 mBluetoothDevice = deviceList.get(0);
485 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local497 deviceList.add(device); in getDevicesMatchingConnectionStates()502 return deviceList; in getDevicesMatchingConnectionStates()
2354 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local2366 deviceList.add(device); in getDevicesMatchingConnectionStates()2371 return deviceList; in getDevicesMatchingConnectionStates()
1296 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local1301 deviceList.add(entry.getKey()); in getDevicesMatchingConnectionStates()1306 return deviceList; in getDevicesMatchingConnectionStates()
2243 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local2255 deviceList.add(device); in getDevicesMatchingConnectionStates()2260 return deviceList; in getDevicesMatchingConnectionStates()
1432 List<BluetoothDevice> deviceList = hsService.getConnectedDevices(); in setProfileAutoConnectionPriority() local1435 adjustOtherHeadsetPriorities(hsService, deviceList); in setProfileAutoConnectionPriority()