Searched refs:getLastPowerSaverStartView (Results 1 – 5 of 5) sorted by relevance
178 Assert.assertNull(mBatteryController.getLastPowerSaverStartView()); in testSaveViewReferenceWhenSettingPowerSaveMode()182 Assert.assertSame(mView, mBatteryController.getLastPowerSaverStartView().get()); in testSaveViewReferenceWhenSettingPowerSaveMode()190 Assert.assertNull(mBatteryController.getLastPowerSaverStartView()); in testClearViewReference()
224 when(mBatteryController.getLastPowerSaverStartView()) in testDialogStartedFromLauncher_viewVisible()240 when(mBatteryController.getLastPowerSaverStartView()) in testDialogStartedNotFromLauncher_viewNotVisible()257 when(mBatteryController.getLastPowerSaverStartView()).thenReturn(null); in testDialogShownNotFromLauncher()
57 default WeakReference<View> getLastPowerSaverStartView() { in getLastPowerSaverStartView() method
176 public WeakReference<View> getLastPowerSaverStartView() { in getLastPowerSaverStartView() method in BatteryControllerImpl
715 WeakReference<View> ref = mBatteryControllerLazy.get().getLastPowerSaverStartView(); in showStartSaverConfirmation()