Home
last modified time | relevance | path

Searched refs:getAlwaysOn (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeWallpaperStateTest.java62 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testDreamNotification()
81 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testAnimates_whenSupported()
97 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testDoesNotAnimate_whenNotSupported()
111 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testDoesNotAnimate_whenWakeAndUnlock()
DDozeUiTest.java121 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in transitionSetsAnimateWakeup_alwaysOn()
DDozeScreenStateTest.java93 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java174 assertThat(mDozeParameters.getAlwaysOn()).isTrue(); in testGetAlwaysOn()
184 assertThat(mDozeParameters.getAlwaysOn()).isFalse(); in testGetAlwaysOn_whenBatterySaver()
201 assertThat(mDozeParameters.getAlwaysOn()).isFalse(); in testGetAlwaysOn_whenBatterySaverCallback()
210 assertThat(mDozeParameters.getAlwaysOn()).isTrue(); in testGetAlwaysOn_whenBatterySaverCallback()
DScrimControllerTest.java231 when(mDozeParameters.getAlwaysOn()).thenAnswer(invocation -> mAlwaysOnEnabled); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java266 public boolean getAlwaysOn() { in getAlwaysOn() method in DozeParameters
303 getAlwaysOn() && (mKeyguardVisible || shouldControlUnlockedScreenOff()); in updateControlScreenOff()
313 return getAlwaysOn() && !getDisplayNeedsBlanking(); in canControlUnlockedScreenOff()
451 pw.print("getAlwaysOn(): "); pw.println(getAlwaysOn()); in dump()
471 mScreenOffAnimationController.onAlwaysOnChanged(getAlwaysOn()); in dispatchAlwaysOnEvent()
DScrimState.java174 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare()
DNotificationIconAreaController.java511 boolean animate = mDozeParameters.getAlwaysOn() in onDozingChanged()
593 animate = mDozeParameters.getAlwaysOn() && !mDozeParameters.getDisplayNeedsBlanking(); in onFullyHiddenChanged()
DScrimController.java521 && (!mDozeParameters.getAlwaysOn() || mState == ScrimState.UNLOCKED)) in transitionTo()
541 && (mDozeParameters.getAlwaysOn() || mDockManager.isDocked())) { in shouldFadeAwayWallpaper()
1053 && (mDozeParameters.getAlwaysOn() || mDockManager.isDocked())) { in shouldUpdateFrontScrimAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeUi.java154 mHost.setAnimateWakeup(mCanAnimateTransition && mDozeParameters.getAlwaysOn()); in updateAnimateWakeup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt240 dozeParameters.getAlwaysOn(), in isKeyguardShowing()
250 dozeParameters.getAlwaysOn(), in isKeyguardShowing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepositoryImplTest.kt187 whenever(dozeParameters.getAlwaysOn()).thenReturn(false) in <lambda>()
191 whenever(dozeParameters.getAlwaysOn()).thenReturn(true) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java151 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in onBindSlice_readsMedia_withBypass_notDozing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java647 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in clockSize_mediaShowing_inSplitShade_onAod_isLarge()
661 when(mDozeParameters.getAlwaysOn()).thenReturn(false); in clockSize_mediaShowing_inSplitShade_screenOff_notAod_isSmall()
DNotificationShadeWindowControllerImplTest.java114 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in setUp()
DNotificationPanelViewControllerBaseTest.java720 when(mDozeParameters.getAlwaysOn()).thenReturn(dozingAlwaysOn); in setDozing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java228 && mKeyguardBypassController.getBypassEnabled() && mDozeParameters.getAlwaysOn(); in needsMediaLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java305 || (state.dozing && mDozeParameters.getAlwaysOn()); in applyKeyguardFlags()
DNotificationPanelViewController.java1680 return mDozing && mDozeParameters.getAlwaysOn(); in isOnAod()
3015 !mDozeParameters.getDisplayNeedsBlanking() && mDozeParameters.getAlwaysOn(); in setPulsing()
/frameworks/base/services/core/java/com/android/server/
DVpnManagerService.java812 return vpn != null && vpn.getAlwaysOn(); in isCallerCurrentAlwaysOnVpnApp()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java690 public synchronized boolean getAlwaysOn() { in getAlwaysOn() method in Vpn