Home
last modified time | relevance | path

Searched refs:mFoldGracePeriodProvider (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java160 private final FoldGracePeriodProvider mFoldGracePeriodProvider; field in LogicalDisplayMapper
235 mFoldGracePeriodProvider = foldGracePeriodProvider; in LogicalDisplayMapper()
1275 && mFoldGracePeriodProvider.isEnabled()); in shouldStayAwakeOnFold()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java236 private FoldGracePeriodProvider mFoldGracePeriodProvider; field in KeyguardUpdateMonitorTest
356 mKeyguardUpdateMonitor.mFoldGracePeriodProvider = mFoldGracePeriodProvider; in setup()
2212 when(mFoldGracePeriodProvider.isEnabled()).thenReturn(false); in forceIsDismissibleKeyguard_foldingGracePeriodNotEnabled()
2220 when(mFoldGracePeriodProvider.isEnabled()).thenReturn(true); in forceIsDismissibleKeyguard()
2228 when(mFoldGracePeriodProvider.isEnabled()).thenReturn(true); in forceIsDismissibleKeyguard_respectsLockdown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java319 private final Lazy<FoldGracePeriodProvider> mFoldGracePeriodProvider = new Lazy<>() {
637 if (SceneContainerFlag.isEnabled() && mFoldGracePeriodProvider.get().isEnabled()) {
DKeyguardViewMediator.java1381 protected FoldGracePeriodProvider mFoldGracePeriodProvider =
2259 if (mFoldGracePeriodProvider.isEnabled()) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java334 mViewMediator.mFoldGracePeriodProvider = mockedFoldGracePeriodProvider; in showKeyguardAfterKeyguardNotEnabled()
359 mViewMediator.mFoldGracePeriodProvider = mockedFoldGracePeriodProvider; in doNotShowKeyguard_deviceNotProvisioned()
386 mViewMediator.mFoldGracePeriodProvider = mockedFoldGracePeriodProvider; in showKeyguardAfterKeyguardNotEnabled_featureNotEnabled()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayMapperTest.java139 @Mock FoldGracePeriodProvider mFoldGracePeriodProvider; field in LogicalDisplayMapperTest
210 mFoldGracePeriodProvider, in setUp()
1149 when(mFoldGracePeriodProvider.isEnabled()).thenReturn(isGracePeriodEnabled); in setGracePeriodAvailability()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java173 @Mock private FoldGracePeriodProvider mFoldGracePeriodProvider; field in PowerManagerServiceTest
372 return mFoldGracePeriodProvider; in createService()
541 when(mFoldGracePeriodProvider.isEnabled()).thenReturn(false); in testWakefulnessSleep_SoftSleepFlag_NoWakelocks()
557 when(mFoldGracePeriodProvider.isEnabled()).thenReturn(true); in testWakefulnessAwakeShowKeyguard_SoftSleepFlag_NoWakelocks()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java373 protected FoldGracePeriodProvider mFoldGracePeriodProvider = field in KeyguardUpdateMonitor
1400 if (mFoldGracePeriodProvider.isEnabled()) { in forceIsDismissibleIsKeepingDeviceUnlocked()
3692 if (!mFoldGracePeriodProvider.isEnabled()) { in setForceIsDismissibleKeyguard()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java318 private final FoldGracePeriodProvider mFoldGracePeriodProvider; field in PowerManagerService
1184 mFoldGracePeriodProvider = injector.createFoldGracePeriodProvider();
7065 if (mFoldGracePeriodProvider.isEnabled()) {