Searched refs:mAmbientDisplayConfiguration (Results 1 – 7 of 7) sorted by relevance
89 private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in DozeSensorsTest127 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 …]
74 @Mock private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in DozeParametersTest120 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()
273 @Mock private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in CentralSurfacesImplTest382 mAmbientDisplayConfiguration, in setup()
78 private final AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in DozeParameters135 mAmbientDisplayConfiguration = ambientDisplayConfiguration; in DozeParameters()176 mAmbientDisplayConfiguration.quickPickupSensorEnabled(mUserTracker.getUserId()); in updateQuickPickupEnabled()411 mDozeAlwaysOn = mAmbientDisplayConfiguration.alwaysOnEnabled(mUserTracker.getUserId()); in onTuningChanged()
76 private final AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in NotificationInterruptStateProviderImpl142 mAmbientDisplayConfiguration = ambientDisplayConfiguration; in NotificationInterruptStateProviderImpl()507 if (!mAmbientDisplayConfiguration.pulseOnNotificationEnabled(mUserTracker.getUserId())) { in shouldHeadsUpWhenDozing()
107 AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in NotificationInterruptStateProviderImplTest154 mAmbientDisplayConfiguration, in setup()193 when(mAmbientDisplayConfiguration.pulseOnNotificationEnabled(anyInt())).thenReturn(true); in ensureStateForHeadsUpWhenDozing()276 when(mAmbientDisplayConfiguration.pulseOnNotificationEnabled(anyInt())).thenReturn(false); in testShouldNotHeadsUpWhenDozing_pulseDisabled()
319 private final AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in PowerManagerService1185 mAmbientDisplayConfiguration = mInjector.createAmbientDisplayConfiguration(context);1586 mAlwaysOnEnabled = mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT);6800 return mAmbientDisplayConfiguration.ambientDisplayAvailable();