Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java126 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testInitialize_goesToDoze()
136 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_goesToAod()
156 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_afterDockPaused_goesToDoze()
169 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testInitialize_alwaysOnSuppressed_alwaysOnDisabled_goesToDoze()
180 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_alwaysOnSuppressed_alwaysOnEnabled_goesToDoze()
202 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testInitialize_alwaysOnSuppressed_alwaysOnDisabled_afterDockPaused_goesToDoze()
215 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testInitialize_alwaysOnSuppressed_alwaysOnEnabled_afterDockPaused_goesToDoze()
227 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(false); in testPulseDone_goesToDoze()
240 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testPulseDone_goesToAoD()
254 when(mAmbientDisplayConfigMock.alwaysOnEnabled(anyInt())).thenReturn(true); in testPulseDone_alwaysOnSuppressed_goesToSuppressed()
[all …]
DDozeSuppressorTest.java155 when(mConfig.alwaysOnEnabled(anyInt())).thenReturn(false); in testDozeResume_exitCarMode()
170 when(mConfig.alwaysOnEnabled(anyInt())).thenReturn(true); in testDozeAoDResume_exitCarMode()
257 when(mConfig.alwaysOnEnabled(anyInt())).thenReturn(true); in testPowerSaveChanged_notActive()
273 when(mConfig.alwaysOnEnabled(anyInt())).thenReturn(true); in testAlwaysOnSuppressedChanged_nowSuppressed()
288 when(mConfig.alwaysOnEnabled(anyInt())).thenReturn(true); in testAlwaysOnSuppressedChanged_notSuppressed()
DDozeDockHandlerTest.java69 doReturn(true).when(mConfig).alwaysOnEnabled(anyInt()); in setUp()
112 doReturn(false).when(mConfig).alwaysOnEnabled(anyInt()); in onEvent_noneWhileDisabledAod_requestsDozeState()
DDozeConfigurationTest.java55 assertEquals(defaultValue, mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)); in alwaysOn_followsConfigByDefault()
DDozeConfigurationUtil.java58 when(config.alwaysOnEnabled(anyInt())).thenReturn(false); in createMockConfig()
DDozeSensorsTest.java130 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldAodAnimationController.kt67 private var alwaysOnEnabled: Boolean = false in <lambda>() variable in com.android.systemui.unfold.FoldAodAnimationController
102 alwaysOnEnabled && in <lambda>()
161 alwaysOnEnabled && in <lambda>()
228 alwaysOnEnabled = alwaysOn in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSuppressor.java154 mMachine.requestState(mConfig.alwaysOnEnabled(mUserTracker.getUserId()) in handleCarModeExited()
172 && mConfig.alwaysOnEnabled(mUserTracker.getUserId())) {
187 if (mConfig.alwaysOnEnabled(mUserTracker.getUserId()) && !suppressed) {
DDozeDockHandler.java110 nextState = mConfig.alwaysOnEnabled(mUserTracker.getUserId()) ? State.DOZE_AOD in onEvent()
DDozeSensors.java257 && mConfig.alwaysOnEnabled( in DozeSensors()
299 && (mConfig.alwaysOnEnabled(mSelectedUserInteractor.getSelectedUserId(true)) in udfpsLongPressConfigured()
DDozeMachine.java435 } else if (mAmbientDisplayConfig.alwaysOnEnabled(mUserTracker.getUserId())) { in resolveIntermediateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java173 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in testGetAlwaysOn()
182 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in testGetAlwaysOn_whenBatterySaver()
192 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in testGetAlwaysOn_whenBatterySaverCallback()
316 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(enabled); in setAodEnabledForTest()
/frameworks/base/core/java/android/hardware/display/
DAmbientDisplayConfiguration.java77 || alwaysOnEnabled(user) in enabled()
143 && !alwaysOnEnabled(user); in quickPickupSensorEnabled()
225 public boolean alwaysOnEnabled(int user) { in alwaysOnEnabled() method in AmbientDisplayConfiguration
/frameworks/base/packages/SystemUI/tests/utils/src/android/hardware/display/
DFakeAmbientDisplayConfiguration.kt48 override fun alwaysOnEnabled(user: Int) = TODO("Not yet implemented") method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java187 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare()
193 mFrontAlpha = (alwaysOnEnabled || isDocked || quickPickupEnabled) in prepare()
DDozeParameters.java411 mDozeAlwaysOn = mAmbientDisplayConfiguration.alwaysOnEnabled(mUserTracker.getUserId()); in onTuningChanged()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java861 when(mAmbientDisplayConfigurationMock.alwaysOnEnabled(UserHandle.USER_CURRENT)) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1586 mAlwaysOnEnabled = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT);
/frameworks/base/core/api/
Dtest-current.txt1706 method public boolean alwaysOnEnabled(int);
/frameworks/base/boot/
Dboot-image-profile.txt8137 HSPLandroid/hardware/display/AmbientDisplayConfiguration;->alwaysOnEnabled(I)Z
/frameworks/base/config/
Dboot-image-profile.txt8140 HSPLandroid/hardware/display/AmbientDisplayConfiguration;->alwaysOnEnabled(I)Z