/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
D | InstrumentationUiAutomatorBridge.java | 51 public boolean isScreenOn() { in isScreenOn() method in InstrumentationUiAutomatorBridge 54 return pm.isScreenOn(); in isScreenOn()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/ |
D | DeviceFoldStateProvider.kt | 78 private var isScreenOn = false variable 266 isScreenOn = true in cancelAnimation() 271 isScreenOn = false in cancelAnimation() 283 if (isScreenOn && !isFolded) { in updateHingeAngleProviderState()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | ViewMediatorCallback.java | 81 boolean isScreenOn(); in isScreenOn() method
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamManagerInternal.java | 60 public abstract boolean canStartDreaming(boolean isScreenOn); in canStartDreaming() argument
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerInternal.java | 67 public abstract void onScreenStateChanged(boolean isScreenOn); in onScreenStateChanged() argument
|
D | VrManagerService.java | 252 private void setScreenOn(boolean isScreenOn) { in setScreenOn() argument 253 setSystemState(FLAG_SCREEN_ON, isScreenOn); in setScreenOn() 715 public void onScreenStateChanged(boolean isScreenOn) { in onScreenStateChanged() argument 716 VrManagerService.this.setScreenOn(isScreenOn); in onScreenStateChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImplTest.java | 150 when(mPowerManager.isScreenOn()).thenReturn(true); in ensureStateForHeadsUpWhenAwake() 346 when(mPowerManager.isScreenOn()).thenReturn(false); in testShouldNotHeadsUp_deviceNotInUse() 743 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldNotFullScreen_willHun() 760 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldFullScreen_packageSnoozed() 779 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldNotFullScreen_snoozed_occluding_withStrictRules() 800 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_snoozed_occluding_withStrictRules() 825 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldNotFullScreen_snoozed_lockedShade_withStrictRules() 846 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_snoozed_lockedShade_withStrictRules() 871 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldNotFullScreen_snoozed_unlocked_withStrictRules() 892 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_snoozed_unlocked_withStrictRules()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 622 if(!isScreenOn()) { 636 if(isScreenOn()) { 648 public boolean isScreenOn() throws RemoteException { 649 return mUiAutomatorBridge.isScreenOn();
|
D | UiAutomatorBridge.java | 88 public abstract boolean isScreenOn(); in isScreenOn() method in UiAutomatorBridge
|
D | UiDevice.java | 739 public boolean isScreenOn() throws RemoteException { in isScreenOn() method in UiDevice 741 return getAutomatorBridge().getInteractionController().isScreenOn(); in isScreenOn()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 364 assertFalse(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 369 assertFalse(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 374 assertTrue(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 379 assertTrue(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 384 assertFalse(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 2300 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() 2309 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() 2320 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() 2328 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() 2339 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ImmersiveModeConfirmation.java | 190 boolean onPowerKeyDown(boolean isScreenOn, long time, boolean inImmersiveMode, in onPowerKeyDown() argument 192 if (!isScreenOn && (time - mPanicTime < mPanicThresholdMs)) { in onPowerKeyDown() 196 if (isScreenOn && inImmersiveMode && !navBarEmpty) { in onPowerKeyDown()
|
/frameworks/base/tests/TrustTests/src/android/trust/test/lib/ |
D | ScreenLockRule.kt | 68 if (!uiDevice.isScreenOn) { in <lambda>()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 217 boolean screenOn = isScreenOn(); 279 mIsScreenOn = isScreenOn(); in DeviceStateMonitor() 712 private boolean isScreenOn() { in isScreenOn() method in DeviceStateMonitor
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 117 public boolean isScreenOn() { in isScreenOn() method in ShellUiAutomatorBridge
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 328 void onPowerKeyDown(boolean isScreenOn); in onPowerKeyDown() argument 849 public boolean isScreenOn(); in isScreenOn() method
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TestWindowManagerPolicy.java | 154 public boolean isScreenOn() { in isScreenOn() method in TestWindowManagerPolicy
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 374 private boolean canStartDreamingInternal(boolean isScreenOn) { in canStartDreamingInternal() argument 377 if (isScreenOn && isDreamingInternal()) { in canStartDreamingInternal() 1041 public boolean canStartDreaming(boolean isScreenOn) { in canStartDreaming() argument 1042 return canStartDreamingInternal(isScreenOn); in canStartDreaming()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | LinkBandwidthEstimator.java | 265 obtainMessage(MSG_SCREEN_STATE_CHANGED, isScreenOn()).sendToTarget(); 307 handleScreenStateChanged(isScreenOn()); in LinkBandwidthEstimator() 402 private boolean isScreenOn() { in isScreenOn() method in LinkBandwidthEstimator
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImplTest.java | 721 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_nonSuppressedGroupSummary() 744 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_suppressedGroupSummary() 767 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_suppressedHeadsUp() 788 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_noSuppressedHeadsUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/ |
D | TemporaryViewDisplayController.kt | 217 val newWakeLock = if (!powerManager.isScreenOn) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImpl.java | 450 boolean inUse = mPowerManager.isScreenOn() && !mStatusBarStateController.isDreaming(); in shouldHeadsUpWhenAwake()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarView.java | 555 public void onScreenStateChanged(boolean isScreenOn) { in onScreenStateChanged() argument 556 mScreenOn = isScreenOn; in onScreenStateChanged()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 394 if (sInstance.mPowerManager.isScreenOn()) { in beginShutdownSequence()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 156 mScreenOffTime = mPowerManager.isScreenOn() ? -1 : SystemClock.elapsedRealtime(); in start()
|