Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/
DKeyboardRepository.kt93 var connectedDevices = inputManager.inputDeviceIds.toSet() in <lambda>() variable
97 connectedDevices = connectedDevices + deviceId in <lambda>()
98 sendWithLogging(connectedDevices to DeviceAdded(deviceId)) in <lambda>()
104 connectedDevices = connectedDevices - deviceId in <lambda>()
105 sendWithLogging(connectedDevices to DeviceRemoved) in <lambda>()
108 sendWithLogging(connectedDevices to FreshStart) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/bluetooth/
DBluetoothRepository.kt85 val connectedDevices = currentDevices.filter { it.isConnected } in fetchConnectionStatusInBackground() constant
88 connectedDevices.isEmpty() && maxConnectionState == BluetoothAdapter.STATE_CONNECTED in fetchConnectionStatusInBackground()
95 ConnectionStatusModel(maxConnectionState, connectedDevices) in fetchConnectionStatusInBackground()
104 val connectedDevices: List<CachedBluetoothDevice>, constant in com.android.systemui.statusbar.policy.bluetooth.ConnectionStatusModel
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/bluetooth/
DBluetoothRepositoryImplTest.kt163 assertThat(status.connectedDevices).isEmpty() in <lambda>()
173 assertThat(status.connectedDevices).isEmpty() in <lambda>()
183 assertThat(status.connectedDevices).isEqualTo(listOf(device)) in <lambda>()
200 assertThat(status.connectedDevices).isEqualTo(listOf(device1Connected, device3Connected)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java250 List<CachedBluetoothDevice> connectedDevices = mController.getConnectedDevices(); in getSecondaryLabel() local
251 if (enabled && connected && !connectedDevices.isEmpty()) { in getSecondaryLabel()
252 if (connectedDevices.size() > 1) { in getSecondaryLabel()
256 connectedDevices.size()); in getSecondaryLabel()
259 CachedBluetoothDevice device = connectedDevices.get(0); in getSecondaryLabel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DPhoneMediaDevice.java175 List<HdmiDeviceInfo> connectedDevices = hdmiControlManager.getConnectedDevices(); in getHdmiOutDeviceName() local
176 for (HdmiDeviceInfo deviceInfo : connectedDevices) { in getHdmiOutDeviceName()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.kt462 connectedDevices: Int in <lambda>()
469 arguments["count"] = connectedDevices in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DBluetoothTileTest.kt318 whenever(bluetoothController.connectedDevices).thenReturn(listOf(device)) in addConnectedDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothLeBroadcast.java1134 List<BluetoothDevice> connectedDevices = mServiceBroadcastAssistant.getConnectedDevices(); in updateFallbackActiveDeviceIfNeeded() local
1136 connectedDevices.stream() in updateFallbackActiveDeviceIfNeeded()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1669 AudioDeviceInfo[] connectedDevices = AudioManager.getDevicesStatic(
1683 AudioDeviceInfo device = Stream.of(connectedDevices)