Home
last modified time | relevance | path

Searched refs:uEventManager (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/Input/src/com/android/server/input/
DBatteryControllerTests.kt193 private lateinit var uEventManager: UEventManager variable in com.android.server.input.BatteryControllerTests
217 batteryController = BatteryController(context, native, testLooper.looper, uEventManager, in setup()
335 verify(uEventManager) in testListenersNotifiedOnUEventNotification()
352 verify(uEventManager).removeListener(uEventListener.capture()) in testListenersNotifiedOnUEventNotification()
365 verify(uEventManager).addListener(uEventListener.capture(), eq("DEVPATH=/test/device1")) in testBatteryPresenceChanged()
373 verify(uEventManager).removeListener(uEventListener.value) in testBatteryPresenceChanged()
381 verify(uEventManager, times(2)) in testBatteryPresenceChanged()
478 verify(uEventManager) in testUsiDeviceIsMonitoredPersistently()
487 verify(uEventManager, never()).removeListener(uEventListener.value) in testUsiDeviceIsMonitoredPersistently()
519 verify(uEventManager) in testExpectedFlowForUsiBattery()
[all …]
DInputManagerServiceTests.kt88 private lateinit var uEventManager: UEventManager variable in com.android.server.input.InputManagerServiceTests
106 context, testLooper.looper, uEventManager) { in setup()
DKeyboardBacklightControllerTests.kt109 private lateinit var uEventManager: UEventManager in createKeyboard() variable in com.android.server.input.KeyboardBacklightControllerTests
136 testLooper.looper, FakeAnimatorFactory(), uEventManager) in createKeyboard()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardBacklightController.java127 PersistentDataStore dataStore, Looper looper, UEventManager uEventManager) { in KeyboardBacklightController() argument
128 this(context, nativeService, dataStore, looper, ValueAnimator::ofInt, uEventManager); in KeyboardBacklightController()
134 UEventManager uEventManager) { in KeyboardBacklightController() argument
141 mUEventManager = uEventManager; in KeyboardBacklightController()
DBatteryController.java105 UEventManager uEventManager) { in BatteryController() argument
106 this(context, nativeService, looper, uEventManager, in BatteryController()
112 UEventManager uEventManager, BluetoothBatteryManager bbm) { in BatteryController() argument
116 mUEventManager = uEventManager; in BatteryController()
DInputManagerService.java410 Injector(Context context, Looper looper, UEventManager uEventManager) { in Injector() argument
413 mUEventManager = uEventManager; in Injector()