Home
last modified time | relevance | path

Searched refs:connectedDevices (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothManager.java116 List<BluetoothDevice> connectedDevices = getConnectedDevices(profile); in getConnectionState() local
117 for (BluetoothDevice connectedDevice : connectedDevices) { in getConnectionState()
146 List<BluetoothDevice> connectedDevices = new ArrayList<BluetoothDevice>(); in getConnectedDevices() local
151 if (iGatt == null) return connectedDevices; in getConnectedDevices()
153 connectedDevices = iGatt.getDevicesMatchingConnectionStates( in getConnectedDevices()
159 return connectedDevices; in getConnectedDevices()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java189 List<CachedBluetoothDevice> connectedDevices = mController.getConnectedDevices(); in getSecondaryLabel() local
190 if (enabled && connected && !connectedDevices.isEmpty()) { in getSecondaryLabel()
191 if (connectedDevices.size() > 1) { in getSecondaryLabel()
195 connectedDevices.size(), in getSecondaryLabel()
196 connectedDevices.size()); in getSecondaryLabel()
199 CachedBluetoothDevice lastDevice = connectedDevices.get(0); in getSecondaryLabel()
383 int connectedDevices = 0; in updateItems() local
404 items.add(connectedDevices, item); in updateItems()
405 connectedDevices++; in updateItems()
409 items.add(connectedDevices, item); in updateItems()