Searched refs:processInputDevice (Results 1 – 1 of 1) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | BatteryController.java | 221 private <R> R processInputDevice(int deviceId, R defaultValue, Function<InputDevice, R> func) { in processInputDevice() method in BatteryController 229 return processInputDevice(deviceId, "<none>" /*defaultValue*/, InputDevice::getName); in getInputDeviceName() 233 return processInputDevice(deviceId, false /*defaultValue*/, InputDevice::hasBattery); in hasBattery() 237 return processInputDevice(deviceId, false /*defaultValue*/, in isUsiDevice() 244 processInputDevice(inputDeviceId, null /*defaultValue*/, in getBluetoothDevice()
|