/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeMachineTest.java | 126 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 …]
|
D | DozeSuppressorTest.java | 155 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()
|
D | DozeDockHandlerTest.java | 68 doReturn(true).when(mConfig).alwaysOnEnabled(anyInt()); in setUp() 111 doReturn(false).when(mConfig).alwaysOnEnabled(anyInt()); in onEvent_noneWhileDisabledAod_requestsDozeState()
|
D | DozeConfigurationTest.java | 55 assertEquals(defaultValue, mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)); in alwaysOn_followsConfigByDefault()
|
D | DozeConfigurationUtil.java | 58 when(config.alwaysOnEnabled(anyInt())).thenReturn(false); in createMockConfig()
|
D | DozeSensorsTest.java | 127 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | FoldAodAnimationController.kt | 69 private var alwaysOnEnabled: Boolean = false in <lambda>() variable in com.android.systemui.unfold.FoldAodAnimationController 105 alwaysOnEnabled && in <lambda>() 152 } else if (isFolded && !isFoldHandled && alwaysOnEnabled && isDozing) { in <lambda>() 214 alwaysOnEnabled = alwaysOn in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeSuppressor.java | 154 mMachine.requestState(mConfig.alwaysOnEnabled(mUserTracker.getUserId()) in handleCarModeExited() 172 && mConfig.alwaysOnEnabled(mUserTracker.getUserId())) { 187 if (mConfig.alwaysOnEnabled(mUserTracker.getUserId()) && !suppressed) {
|
D | DozeDockHandler.java | 106 nextState = mConfig.alwaysOnEnabled(mUserTracker.getUserId()) ? State.DOZE_AOD in onEvent()
|
D | DozeSensors.java | 255 && mConfig.alwaysOnEnabled(mUserTracker.getUserId()), in DozeSensors() 296 && (mConfig.alwaysOnEnabled(mUserTracker.getUserId()) || mScreenOffUdfpsEnabled); in udfpsLongPressConfigured()
|
D | DozeMachine.java | 435 } else if (mAmbientDisplayConfig.alwaysOnEnabled(mUserTracker.getUserId())) { in resolveIntermediateState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | DozeParametersTest.java | 171 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in testGetAlwaysOn() 180 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/ |
D | AmbientDisplayConfiguration.java | 77 || alwaysOnEnabled(user) in enabled() 143 && !alwaysOnEnabled(user); in quickPickupSensorEnabled() 225 public boolean alwaysOnEnabled(int user) { in alwaysOnEnabled() method in AmbientDisplayConfiguration
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimState.java | 174 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare() 180 mFrontAlpha = (alwaysOnEnabled || isDocked || quickPickupEnabled) in prepare()
|
D | DozeParameters.java | 425 mDozeAlwaysOn = mAmbientDisplayConfiguration.alwaysOnEnabled(mUserTracker.getUserId()); in onTuningChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/ |
D | BiometricContextProviderTest.java | 75 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in setup() 95 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(false); in testIsAod()
|
/frameworks/base/services/core/java/com/android/server/biometrics/log/ |
D | BiometricContextProvider.java | 108 return mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT); in BiometricContextProvider()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 728 when(mAmbientDisplayConfigurationMock.alwaysOnEnabled(UserHandle.USER_CURRENT)) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1462 mAlwaysOnEnabled = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT);
|
/frameworks/base/core/api/ |
D | test-current.txt | 1202 method public boolean alwaysOnEnabled(int);
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 8065 HSPLandroid/hardware/display/AmbientDisplayConfiguration;->alwaysOnEnabled(I)Z
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 8067 HSPLandroid/hardware/display/AmbientDisplayConfiguration;->alwaysOnEnabled(I)Z
|