Searched refs:alwaysOnEnabled (Results 1 – 15 of 15) sorted by relevance
87 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()
55 assertEquals(defaultValue, mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)); in alwaysOn_followsConfigByDefault()
54 when(config.alwaysOnEnabled(anyInt())).thenReturn(false); in createMockConfig()
73 doReturn(false).when(mConfig).alwaysOnEnabled(anyInt()); in setUp()145 doReturn(true).when(mConfig).alwaysOnEnabled(anyInt()); in testOnEvent_undockedWhenDozeAndEnabledAoD_requestDozeAoD()
90 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in setUp()
50 || alwaysOnEnabled(user) in enabled()149 public boolean alwaysOnEnabled(int user) { in alwaysOnEnabled() method in AmbientDisplayConfiguration
102 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare()104 mCurrentInFrontAlpha = alwaysOnEnabled ? mAodFrontScrimAlpha : 1f; in prepare()
282 boolean alwaysOnEnabled = DozeParameters.getInstance(mContext).getAlwaysOn(); in startWakeAndUnlock()283 boolean delayWakeUp = mode == MODE_WAKE_AND_UNLOCK && alwaysOnEnabled && mWakeUpDelay > 0; in startWakeAndUnlock()
251 mDozeAlwaysOn = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT); in onTuningChanged()
123 && mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)) { in onEvent()
337 transitionTo(mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT) in resolveIntermediateState()
93 boolean alwaysOn = mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT); in DozeSensors()
429 when(mAmbientDisplayConfigurationMock.alwaysOnEnabled(UserHandle.USER_CURRENT)) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
1012 mAlwaysOnEnabled = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT); in updateSettingsLocked()
914 method public boolean alwaysOnEnabled(int);