Searched refs:alwaysOnEnabled (Results 1 – 17 of 17) sorted by relevance
104 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 …]
63 doReturn(true).when(mConfig).alwaysOnEnabled(anyInt()); in setUp()106 doReturn(false).when(mConfig).alwaysOnEnabled(anyInt()); in onEvent_noneWhileDisabledAod_requestsDozeState()
55 assertEquals(defaultValue, mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)); in alwaysOn_followsConfigByDefault()
55 when(config.alwaysOnEnabled(anyInt())).thenReturn(false); in createMockConfig()
97 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in setUp()
50 || alwaysOnEnabled(user) in enabled()156 public boolean alwaysOnEnabled(int user) { in alwaysOnEnabled() method in AmbientDisplayConfiguration
131 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare()136 mFrontAlpha = (alwaysOnEnabled || isDocked) ? mAodFrontScrimAlpha : 1f; in prepare()
212 mDozeAlwaysOn = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT); in onTuningChanged()
377 boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in startWakeAndUnlock()378 boolean delayWakeUp = mode == MODE_WAKE_AND_UNLOCK && alwaysOnEnabled && mWakeUpDelay > 0; in startWakeAndUnlock()
95 nextState = mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT) ? State.DOZE_AOD in onEvent()
564 && mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)) {572 if (mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT) && !suppressed) {
388 } else if (mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)) { in resolveIntermediateState()
117 boolean alwaysOn = mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT); in DozeSensors()
540 when(mAmbientDisplayConfigurationMock.alwaysOnEnabled(UserHandle.USER_CURRENT)) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
1246 mAlwaysOnEnabled = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT);
1232 method public boolean alwaysOnEnabled(int);
9681 HSPLandroid/hardware/display/AmbientDisplayConfiguration;->alwaysOnEnabled(I)Z