Home
last modified time | relevance | path

Searched refs:dozeParameters (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DUnlockedScreenOffAnimationControllerTest.kt62 private lateinit var dozeParameters: DozeParameters variable in com.android.systemui.statusbar.phone.UnlockedScreenOffAnimationControllerTest
101 { dozeParameters }, in setUp()
130 `when`(dozeParameters.canControlUnlockedScreenOff()).thenReturn(true) in testAodUiShownIfNotInteractive()
145 `when`(dozeParameters.canControlUnlockedScreenOff()).thenReturn(true) in testAodUiShowNotInvokedIfWakingUp()
169 `when`(dozeParameters.canControlUnlockedScreenOff()).thenReturn(true) in testAodUiNotShownIfInteractive()
183 `when`(dozeParameters.canControlUnlockedScreenOff()).thenReturn(true) in testAodUiShownIfGloballyInteractiveButDefaultDisplayNotInteractive()
198 `when`(dozeParameters.canControlUnlockedScreenOff()).thenReturn(false) in testNoAnimationPlaying_dozeParamsCanNotControlScreenOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/dagger/
DDozeModule.java63 DozeHost dozeHost, DozeParameters dozeParameters, @UiBackground Executor bgExecutor) { in providesWrappedService() argument
67 wrappedService, dozeParameters, bgExecutor); in providesWrappedService()
69 wrappedService, dozeParameters, bgExecutor); in providesWrappedService()
107 DozeParameters dozeParameters) { in providesBrightnessSensors() argument
108 String[] sensorNames = dozeParameters.brightnessNames(); in providesBrightnessSensors()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardRootViewModelKosmos.kt29 import com.android.systemui.statusbar.phone.dozeParameters
37 dozeParameters = dozeParameters, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardRootViewModelTest.kt49 import com.android.systemui.statusbar.phone.dozeParameters
80 private val dozeParameters by lazy { kosmos.dozeParameters } in <lambda>() constant
217 whenever(dozeParameters.alwaysOn).thenReturn(false) in iconContainer_isVisible_notifsFullyHidden_bypassDisabled_aodDisabled()
232 whenever(dozeParameters.alwaysOn).thenReturn(true) in iconContainer_isVisible_notifsFullyHidden_bypassDisabled_displayNeedsBlanking()
233 whenever(dozeParameters.displayNeedsBlanking).thenReturn(true) in iconContainer_isVisible_notifsFullyHidden_bypassDisabled_displayNeedsBlanking()
248 whenever(dozeParameters.alwaysOn).thenReturn(true) in iconContainer_isVisible_notifsFullyHidden_bypassDisabled()
249 whenever(dozeParameters.displayNeedsBlanking).thenReturn(false) in iconContainer_isVisible_notifsFullyHidden_bypassDisabled()
264 whenever(dozeParameters.alwaysOn).thenReturn(true) in isIconContainerVisible_stopAnimation()
265 whenever(dozeParameters.displayNeedsBlanking).thenReturn(false) in isIconContainerVisible_stopAnimation()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorKosmos.kt30 import com.android.systemui.statusbar.phone.dozeParameters
67 dozeParams = dozeParameters, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/phone/
DDozeParametersKosmos.kt22 var Kosmos.dozeParameters by Kosmos.Fixture { mock<DozeParameters>() } in <lambda>() variable
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImplTest.kt43 import com.android.systemui.statusbar.phone.dozeParameters
75 val dozeParameters by lazy { kosmos.dozeParameters } in <lambda>() constant
394 whenever(dozeParameters.shouldControlScreenOff()).thenReturn(false) in isShadeTouchable_isFalse_whenStartingToSleepAndNotControlScreenOff()
418 whenever(dozeParameters.shouldControlScreenOff()).thenReturn(true) in isShadeTouchable_isTrue_whenStartingToSleepAndControlScreenOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeScrimController.java88 DozeParameters dozeParameters, in DozeScrimController() argument
92 mDozeParameters = dozeParameters; in DozeScrimController()
DUnlockedScreenOffAnimationController.kt68 private val dozeParameters: Lazy<DozeParameters>, constant in com.android.systemui.statusbar.phone.UnlockedScreenOffAnimationController
277 if (dozeParameters.get().canControlUnlockedScreenOff()) { in onFinishedWakingUp()
351 if (!dozeParameters.get().canControlUnlockedScreenOff()) { in shouldPlayUnlockedScreenOffAnimation()
DScrimState.java381 public void init(ScrimView scrimInFront, ScrimView scrimBehind, DozeParameters dozeParameters, in init() argument
387 mDozeParameters = dozeParameters; in init()
389 mDisplayRequiresBlanking = dozeParameters.getDisplayNeedsBlanking(); in init()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchControllerTest.kt66 private lateinit var dozeParameters: DozeParameters variable in com.android.systemui.statusbar.policy.KeyguardQsUserSwitchControllerTest
98 dozeParameters, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java150 DozeParameters dozeParameters, in DozeSensors() argument
171 mSelectivelyRegisterProxSensors = dozeParameters.getSelectivelyRegisterSensorsUsingProx(); in DozeSensors()
187 dozeParameters.getPulseOnSigMotion(), in DozeSensors()
210 dozeParameters.doubleTapReportsTouchCoordinates(), in DozeSensors()
222 dozeParameters.singleTapUsesProx(mDevicePosture) /* requiresProx */, in DozeSensors()
236 dozeParameters.longPressUsesProx() /* requiresProx */, in DozeSensors()
249 dozeParameters.longPressUsesProx(), in DozeSensors()
DDozeScreenBrightness.java113 DozeParameters dozeParameters, in DozeScreenBrightness() argument
124 mDozeParameters = dozeParameters; in DozeScreenBrightness()
DDozeTriggers.java197 DozeParameters dozeParameters, AsyncSensorManager sensorManager, in DozeTriggers() argument
212 mDozeParameters = dozeParameters; in DozeTriggers()
218 mDozeSensors = new DozeSensors(mContext.getResources(), mSensorManager, dozeParameters, in DozeTriggers()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DOverlayPlugin.java36 DozeParameters dozeParameters) { in setup() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java484 DozeParameters dozeParameters = mock(DozeParameters.class); in testDozePulsing_displayRequiresBlanking_screenState() local
485 when(dozeParameters.getDisplayNeedsBlanking()).thenReturn(true); in testDozePulsing_displayRequiresBlanking_screenState()
487 assertEquals(Display.STATE_OFF, DOZE_REQUEST_PULSE.screenState(dozeParameters)); in testDozePulsing_displayRequiresBlanking_screenState()
492 DozeParameters dozeParameters = mock(DozeParameters.class); in testDozePulsing_displayDoesNotRequireBlanking_screenState() local
493 when(dozeParameters.getDisplayNeedsBlanking()).thenReturn(false); in testDozePulsing_displayDoesNotRequireBlanking_screenState()
495 assertEquals(Display.STATE_ON, DOZE_REQUEST_PULSE.screenState(dozeParameters)); in testDozePulsing_displayDoesNotRequireBlanking_screenState()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardVisibilityHelper.java61 DozeParameters dozeParameters, in KeyguardVisibilityHelper() argument
67 mDozeParameters = dozeParameters; in KeyguardVisibilityHelper()
DKeyguardStatusViewController.java174 DozeParameters dozeParameters, in KeyguardStatusViewController() argument
186 mDozeParameters = dozeParameters; in KeyguardStatusViewController()
188 dozeParameters, screenOffAnimationController, /* animateYPos= */ true, in KeyguardStatusViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardRootViewModel.kt81 private val dozeParameters: DozeParameters, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.KeyguardRootViewModel
390 !dozeParameters.alwaysOn -> false in <lambda>()
392 dozeParameters.displayNeedsBlanking -> false in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/dagger/
DKeyguardModule.java144 DozeParameters dozeParameters, in newKeyguardViewMediator() argument
192 dozeParameters, in newKeyguardViewMediator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchController.java148 DozeParameters dozeParameters, in KeyguardQsUserSwitchController() argument
162 keyguardStateController, dozeParameters, in KeyguardQsUserSwitchController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinator.kt64 private val dozeParameters: DozeParameters, constant
637 dozeParameters.alwaysOn && !dozeParameters.displayNeedsBlanking in shouldAnimateVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinatorTest.kt77 private val dozeParameters: DozeParameters = mock() constant in com.android.systemui.statusbar.notification.NotificationWakeUpCoordinatorTest
117 dozeParameters, in setup()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModelTest.kt45 import com.android.systemui.statusbar.phone.dozeParameters
89 private val dozeParams = kosmos.dozeParameters
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt68 private val dozeParameters: DozeParameters, in <lambda>() constant in com.android.systemui.statusbar.NotificationShadeDepthController
268 duration = dozeParameters.wallpaperFadeOutDuration in <lambda>()

12