Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java87 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testInitialize_goesToDoze()
97 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_goesToAod()
107 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testPulseDone_goesToDoze()
120 when(mConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testPulseDone_goesToAoD()
DDozeConfigurationTest.java55 assertEquals(defaultValue, mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)); in alwaysOn_followsConfigByDefault()
DDozeConfigurationUtil.java54 when(config.alwaysOnEnabled(anyInt())).thenReturn(false); in createMockConfig()
DDozeDockHandlerTest.java73 doReturn(false).when(mConfig).alwaysOnEnabled(anyInt()); in setUp()
145 doReturn(true).when(mConfig).alwaysOnEnabled(anyInt()); in testOnEvent_undockedWhenDozeAndEnabledAoD_requestDozeAoD()
DDozeSensorsTest.java90 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in setUp()
/frameworks/base/core/java/android/hardware/display/
DAmbientDisplayConfiguration.java50 || alwaysOnEnabled(user) in enabled()
149 public boolean alwaysOnEnabled(int user) { in alwaysOnEnabled() method in AmbientDisplayConfiguration
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java102 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare()
104 mCurrentInFrontAlpha = alwaysOnEnabled ? mAodFrontScrimAlpha : 1f; in prepare()
DBiometricUnlockController.java282 boolean alwaysOnEnabled = DozeParameters.getInstance(mContext).getAlwaysOn(); in startWakeAndUnlock()
283 boolean delayWakeUp = mode == MODE_WAKE_AND_UNLOCK && alwaysOnEnabled && mWakeUpDelay > 0; in startWakeAndUnlock()
DDozeParameters.java251 mDozeAlwaysOn = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT); in onTuningChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java123 && mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)) { in onEvent()
DDozeMachine.java337 transitionTo(mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT) in resolveIntermediateState()
DDozeSensors.java93 boolean alwaysOn = mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT); in DozeSensors()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java429 when(mAmbientDisplayConfigurationMock.alwaysOnEnabled(UserHandle.USER_CURRENT)) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1012 mAlwaysOnEnabled = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT); in updateSettingsLocked()
/frameworks/base/api/
Dtest-current.txt914 method public boolean alwaysOnEnabled(int);