Home
last modified time | relevance | path

Searched refs:mAmbientDisplayConfiguration (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java89 private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in DozeSensorsTest
127 when(mAmbientDisplayConfiguration.tapSensorTypeMapping()) in setUp()
129 when(mAmbientDisplayConfiguration.getWakeLockScreenDebounce()).thenReturn(5000L); in setUp()
130 when(mAmbientDisplayConfiguration.alwaysOnEnabled(anyInt())).thenReturn(true); in setUp()
131 when(mAmbientDisplayConfiguration.enabled(ActivityManager.getCurrentUser())).thenReturn( in setUp()
213 when(mAmbientDisplayConfiguration.enabled(anyInt())).thenReturn(true); in testDozeSensorSetListening()
234 when(mAmbientDisplayConfiguration.enabled(anyInt())).thenReturn(true); in testDozeSensorSettingDisabled()
255 when(mAmbientDisplayConfiguration.enabled(anyInt())).thenReturn(true); in testDozeSensorIgnoreSetting()
279 when(mAmbientDisplayConfiguration.enabled(anyInt())).thenReturn(true); in testUpdateListeningAfterAlreadyRegistered()
437 mAmbientDisplayConfiguration, mWakeLock, mCallback, mProxCallback, mDozeLog, in testGesturesAllInitiallyRespectSettings()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java74 @Mock private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in DozeParametersTest
120 mAmbientDisplayConfiguration, in setup()
173 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()
DCentralSurfacesImplTest.java273 @Mock private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in CentralSurfacesImplTest
382 mAmbientDisplayConfiguration, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java78 private final AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in DozeParameters
135 mAmbientDisplayConfiguration = ambientDisplayConfiguration; in DozeParameters()
176 mAmbientDisplayConfiguration.quickPickupSensorEnabled(mUserTracker.getUserId()); in updateQuickPickupEnabled()
411 mDozeAlwaysOn = mAmbientDisplayConfiguration.alwaysOnEnabled(mUserTracker.getUserId()); in onTuningChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java76 private final AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in NotificationInterruptStateProviderImpl
142 mAmbientDisplayConfiguration = ambientDisplayConfiguration; in NotificationInterruptStateProviderImpl()
507 if (!mAmbientDisplayConfiguration.pulseOnNotificationEnabled(mUserTracker.getUserId())) { in shouldHeadsUpWhenDozing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java107 AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in NotificationInterruptStateProviderImplTest
154 mAmbientDisplayConfiguration, in setup()
193 when(mAmbientDisplayConfiguration.pulseOnNotificationEnabled(anyInt())).thenReturn(true); in ensureStateForHeadsUpWhenDozing()
276 when(mAmbientDisplayConfiguration.pulseOnNotificationEnabled(anyInt())).thenReturn(false); in testShouldNotHeadsUpWhenDozing_pulseDisabled()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java319 private final AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in PowerManagerService
1185 mAmbientDisplayConfiguration = mInjector.createAmbientDisplayConfiguration(context);
1586 mAlwaysOnEnabled = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT);
6800 return mAmbientDisplayConfiguration.ambientDisplayAvailable();