Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/
H A DKeyboardRepository.kt89 var connectedDevices = inputManager.inputDeviceIds.toSet() regex
93 connectedDevices = connectedDevices + deviceId
94 sendWithLogging(connectedDevices to DeviceAdded(deviceId))
100 connectedDevices = connectedDevices - deviceId
101 sendWithLogging(connectedDevices to DeviceRemoved)
104 sendWithLogging(connectedDevices to FreshStart)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/bluetooth/
H A DBluetoothRepository.kt84 val connectedDevices = currentDevices.filter { it.isConnected } regex
87 connectedDevices.isEmpty() && maxConnectionState == BluetoothAdapter.STATE_CONNECTED
94 ConnectionStatusModel(maxConnectionState, connectedDevices)
103 val connectedDevices: List<CachedBluetoothDevice>,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/bluetooth/
H A DBluetoothRepositoryImplTest.kt163 assertThat(status.connectedDevices).isEmpty()
173 assertThat(status.connectedDevices).isEmpty()
183 assertThat(status.connectedDevices).isEqualTo(listOf(device))
200 assertThat(status.connectedDevices).isEqualTo(listOf(device1Connected, device3Connected))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java211 List<CachedBluetoothDevice> connectedDevices = mController.getConnectedDevices(); in getSecondaryLabel() local
212 if (enabled && connected && !connectedDevices.isEmpty()) { in getSecondaryLabel()
213 if (connectedDevices.size() > 1) { in getSecondaryLabel()
217 connectedDevices.size()); in getSecondaryLabel()
220 CachedBluetoothDevice device = connectedDevices.get(0); in getSecondaryLabel()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiUtils.java409 int connectedDevices) { in getWifiTetherSummaryForConnectedDevices() argument
414 arguments.put("count", connectedDevices); in getWifiTetherSummaryForConnectedDevices()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DBluetoothTileTest.kt270 whenever(bluetoothController.connectedDevices).thenReturn(listOf(device))
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceInventory.java1313 AudioDeviceInfo[] connectedDevices = AudioManager.getDevicesStatic(
1327 AudioDeviceInfo device = Stream.of(connectedDevices)