Home
last modified time | relevance | path

Searched refs:getAlwaysOn (Results 1 – 24 of 24) 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.java96 when(mDozeParameters.getAlwaysOn()).thenReturn(true); 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()
437 pw.print("getAlwaysOn(): "); pw.println(getAlwaysOn()); in dump()
454 mScreenOffAnimationController.onAlwaysOnChanged(getAlwaysOn()); in dispatchAlwaysOnEvent()
455 mDozeInteractor.setAodAvailable(getAlwaysOn()); in dispatchAlwaysOnEvent()
DLegacyNotificationIconAreaControllerImpl.java510 boolean animate = mDozeParameters.getAlwaysOn() in onDozingChanged()
598 animate = mDozeParameters.getAlwaysOn() && !mDozeParameters.getDisplayNeedsBlanking(); in onFullyHiddenChanged()
DScrimState.java187 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare()
DScrimController.java642 && (!mDozeParameters.getAlwaysOn() || mState == ScrimState.UNLOCKED)) in internalTransitionTo()
662 && (mDozeParameters.getAlwaysOn() || mDockManager.isDocked())) { in shouldFadeAwayWallpaper()
1200 && (mDozeParameters.getAlwaysOn() || mDockManager.isDocked())) { in shouldUpdateFrontScrimAlpha()
DCentralSurfacesImpl.java2573 mShouldDelayLockscreenTransitionFromAod = mDozeParameters.getAlwaysOn()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java176 assertThat(mDozeParameters.getAlwaysOn()).isTrue(); in testGetAlwaysOn()
186 assertThat(mDozeParameters.getAlwaysOn()).isFalse(); in testGetAlwaysOn_whenBatterySaver()
201 assertThat(mDozeParameters.getAlwaysOn()).isFalse(); in testGetAlwaysOn_whenBatterySaverCallback()
210 assertThat(mDozeParameters.getAlwaysOn()).isTrue(); in testGetAlwaysOn_whenBatterySaverCallback()
DCentralSurfacesImplTest.java370 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in setup()
DScrimControllerTest.java258 when(mDozeParameters.getAlwaysOn()).thenAnswer(invocation -> mAlwaysOnEnabled); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeUi.java173 mHost.setAnimateWakeup(mCanAnimateTransition && mDozeParameters.getAlwaysOn()); in updateAnimateWakeup()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardStatusViewControllerTest.java252 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in statusAreaHeightChange_animatesHeightOutputChange()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java153 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in onBindSlice_readsMedia_withBypass_notDozing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java242 && mKeyguardBypassController.getBypassEnabled() && mDozeParameters.getAlwaysOn(); in needsMediaLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java864 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in clockSize_mediaShowing_inSplitShade_onAod_isLarge()
879 when(mDozeParameters.getAlwaysOn()).thenReturn(false); in clockSize_mediaShowing_inSplitShade_screenOff_notAod_isSmall()
DNotificationPanelViewControllerBaseTest.java930 when(mDozeParameters.getAlwaysOn()).thenReturn(dozingAlwaysOn); in setDozing()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusViewController.java133 if (!mDozeParameters.getAlwaysOn()) {
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java138 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in setUp()
/frameworks/base/services/core/java/com/android/server/
DVpnManagerService.java821 return vpn != null && vpn.getAlwaysOn(); in isCallerCurrentAlwaysOnVpnApp()
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java554 assertFalse(vpn.getAlwaysOn()); in testGetAlwaysAndOnGetLockDown()
559 assertTrue(vpn.getAlwaysOn()); in testGetAlwaysAndOnGetLockDown()
564 assertTrue(vpn.getAlwaysOn()); in testGetAlwaysAndOnGetLockDown()
569 assertFalse(vpn.getAlwaysOn()); in testGetAlwaysAndOnGetLockDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java358 || (state.dozing && mDozeParameters.getAlwaysOn()); in applyKeyguardFlags()
DNotificationPanelViewController.java1843 return mDozing && mDozeParameters.getAlwaysOn(); in isOnAod()
3279 !mDozeParameters.getDisplayNeedsBlanking() && mDozeParameters.getAlwaysOn();
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java773 public synchronized boolean getAlwaysOn() { in getAlwaysOn() method in Vpn