Searched refs:mBatteryStateChangeCallback (Results 1 – 4 of 4) sorted by relevance
89 @Captor private ArgumentCaptor<BatteryStateChangeCallback> mBatteryStateChangeCallback; field in DozeParametersTest136 verify(mBatteryController).addCallback(mBatteryStateChangeCallback.capture()); in setup()197 mBatteryStateChangeCallback.getValue().onPowerSaveChanged(true); in testGetAlwaysOn_whenBatterySaverCallback()206 mBatteryStateChangeCallback.getValue().onPowerSaveChanged(true); in testGetAlwaysOn_whenBatterySaverCallback()
83 private final BatteryController.BatteryStateChangeCallback mBatteryStateChangeCallback = field in BatteryMeterViewController167 mBatteryController.addCallback(mBatteryStateChangeCallback); in onViewAttached()180 mBatteryController.removeCallback(mBatteryStateChangeCallback); in onViewDetached()
176 private final BatteryController.BatteryStateChangeCallback mBatteryStateChangeCallback = field in KeyguardStatusBarViewController462 mBatteryController.addCallback(mBatteryStateChangeCallback); in setBatteryListening()464 mBatteryController.removeCallback(mBatteryStateChangeCallback); in setBatteryListening()
998 mBatteryController.observe(mLifecycle, mBatteryStateChangeCallback); in start()3187 private final BatteryController.BatteryStateChangeCallback mBatteryStateChangeCallback =