Home
last modified time | relevance | path

Searched refs:alwaysOnEnabled (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java104 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testInitialize_goesToDoze()
114 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_goesToAod()
134 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_afterDockPaused_goesToDoze()
147 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testInitialize_dozeSuppressed_alwaysOnDisabled_goesToDoze()
158 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_dozeSuppressed_alwaysOnEnabled_goesToDoze()
180 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testInitialize_dozeSuppressed_alwaysOnDisabled_afterDockPaused_goesToDoze()
193 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_dozeSuppressed_alwaysOnEnabled_afterDockPaused_goesToDoze()
205 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testPulseDone_goesToDoze()
218 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testPulseDone_goesToAoD()
232 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testPulseDone_dozeSuppressed_goesToSuppressed()
[all …]
DDozeDockHandlerTest.java63 doReturn(true).when(mConfig).alwaysOnEnabled(anyInt()); in setUp()
106 doReturn(false).when(mConfig).alwaysOnEnabled(anyInt()); in onEvent_noneWhileDisabledAod_requestsDozeState()
DDozeConfigurationTest.java55 assertEquals(defaultValue, mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)); in alwaysOn_followsConfigByDefault()
DDozeConfigurationUtil.java55 when(config.alwaysOnEnabled(anyInt())).thenReturn(false); in createMockConfig()
DDozeSensorsTest.java97 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in setUp()
/frameworks/base/core/java/android/hardware/display/
DAmbientDisplayConfiguration.java50 || alwaysOnEnabled(user) in enabled()
156 public boolean alwaysOnEnabled(int user) { in alwaysOnEnabled() method in AmbientDisplayConfiguration
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java131 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare()
136 mFrontAlpha = (alwaysOnEnabled || isDocked) ? mAodFrontScrimAlpha : 1f; in prepare()
DDozeParameters.java212 mDozeAlwaysOn = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT); in onTuningChanged()
DBiometricUnlockController.java377 boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in startWakeAndUnlock()
378 boolean delayWakeUp = mode == MODE_WAKE_AND_UNLOCK && alwaysOnEnabled && mWakeUpDelay > 0; in startWakeAndUnlock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java95 nextState = mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT) ? State.DOZE_AOD in onEvent()
DDozeTriggers.java564 && mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)) {
572 if (mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT) && !suppressed) {
DDozeMachine.java388 } else if (mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)) { in resolveIntermediateState()
DDozeSensors.java117 boolean alwaysOn = mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT); in DozeSensors()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java540 when(mAmbientDisplayConfigurationMock.alwaysOnEnabled(UserHandle.USER_CURRENT)) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1246 mAlwaysOnEnabled = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT);
/frameworks/base/api/
Dtest-current.txt1232 method public boolean alwaysOnEnabled(int);
/frameworks/base/config/
Dboot-image-profile.txt9681 HSPLandroid/hardware/display/AmbientDisplayConfiguration;->alwaysOnEnabled(I)Z