Searched refs:batteryCallback (Results 1 – 4 of 4) sorted by relevance
27 val batteryCallback = in BatteryController() constant37 addCallback(batteryCallback) in BatteryController()38 awaitClose { removeCallback(batteryCallback) } in BatteryController()45 val batteryCallback = in isBatteryPowerSaveEnabled() constant51 addCallback(batteryCallback) in isBatteryPowerSaveEnabled()52 awaitClose { removeCallback(batteryCallback) } in isBatteryPowerSaveEnabled()59 val batteryCallback = in getBatteryLevel() constant69 addCallback(batteryCallback) in getBatteryLevel()70 awaitClose { removeCallback(batteryCallback) } in getBatteryLevel()77 val batteryCallback = in isExtremePowerSaverEnabled() constant[all …]
33 val batteryCallback = in <lambda>() constant43 batteryControllerLazy.get().addCallback(batteryCallback) in <lambda>()47 awaitClose { batteryControllerLazy.get().removeCallback(batteryCallback) } in <lambda>()
65 val batteryCallback = in tileData() constant71 batteryController.addCallback(batteryCallback) in tileData()83 batteryController.removeCallback(batteryCallback) in tileData()
314 private val batteryCallback = in <lambda>() constant in com.android.keyguard.ClockEventController430 batteryController.addCallback(batteryCallback) in <lambda>()466 batteryController.removeCallback(batteryCallback) in <lambda>()