/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/src/com/android/keyguard/ |
D | ViewMediatorCallback.java | 87 boolean isScreenOn(); in isScreenOn() method
|
D | KeyguardHostView.java | 80 if (mViewMediatorCallback.isScreenOn() && (bouncerVisible || dismissKeyguard)) {
|
/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 | 250 private void setScreenOn(boolean isScreenOn) { in setScreenOn() argument 251 setSystemState(FLAG_SCREEN_ON, isScreenOn); in setScreenOn() 713 public void onScreenStateChanged(boolean isScreenOn) { in onScreenStateChanged() argument 714 VrManagerService.this.setScreenOn(isScreenOn); in onScreenStateChanged()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 343 assertFalse(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 348 assertFalse(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 353 assertTrue(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 358 assertTrue(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 363 assertFalse(mDeviceIdleController.isScreenOn()); in testUpdateInteractivityLocked() 1996 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() 2005 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() 2016 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() 2024 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() 2035 assertFalse(mDeviceIdleController.isScreenOn() in verifyStateConditions() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ImmersiveModeConfirmation.java | 153 boolean onPowerKeyDown(boolean isScreenOn, long time, boolean inImmersiveMode, in onPowerKeyDown() argument 155 if (!isScreenOn && (time - mPanicTime < mPanicThresholdMs)) { in onPowerKeyDown() 159 if (isScreenOn && inImmersiveMode && !navBarEmpty) { in onPowerKeyDown()
|
D | TaskSnapshotController.java | 271 if (!mService.mPolicy.isScreenOn()) { in snapshotTask()
|
/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/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 211 boolean screenOn = isScreenOn(); 281 mIsScreenOn = isScreenOn(); in DeviceStateMonitor() 704 private boolean isScreenOn() { in isScreenOn() method in DeviceStateMonitor
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 114 public boolean isScreenOn() { in isScreenOn() method in ShellUiAutomatorBridge
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInterruptionStateProviderTest.java | 143 when(mPowerManager.isScreenOn()).thenReturn(true); in ensureStateForHeadsUpWhenAwake() 412 when(mPowerManager.isScreenOn()).thenReturn(false); in testShouldHeadsUp_false_deviceNotInUse()
|
D | KeyguardIndicationControllerTest.java | 130 when(mKeyguardUpdateMonitor.isScreenOn()).thenReturn(true); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 601 } else if (mKeyguardUpdateMonitor.isScreenOn()) { in showSwipeUpToUnlock() 695 } else if (mKeyguardUpdateMonitor.isScreenOn()) { in onBiometricHelp() 720 } else if (mKeyguardUpdateMonitor.isScreenOn()) { in onBiometricError()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 640 void onPowerKeyDown(boolean isScreenOn); in onPowerKeyDown() argument 1150 public boolean isScreenOn(); in isScreenOn() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 411 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_nonSuppressedGroupSummary() 432 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_suppressedGroupSummary() 453 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_suppressedHeadsUp() 471 when(mPowerManager.isScreenOn()).thenReturn(true); in testShouldHeadsUp_noSuppressedHeadsUp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TestWindowManagerPolicy.java | 220 public boolean isScreenOn() {
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 239 if (mService.isPowerStandbyOrTransient() || !mService.getPowerManager().isScreenOn()) { in wakeUpIfActiveSource()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationInterruptionStateProvider.java | 266 boolean inUse = mPowerManager.isScreenOn() && !isDreaming; in shouldHeadsUpWhenAwake()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 103 mScreenOffTime = mPowerManager.isScreenOn() ? -1 : SystemClock.elapsedRealtime(); in start()
|
/frameworks/base/cmds/uiautomator/api/ |
D | 16.txt | 24 method public boolean isScreenOn() throws android.os.RemoteException;
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 384 if (sInstance.mPowerManager.isScreenOn()) { in beginShutdownSequence()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 459 if (!mUiDevice.isScreenOn()) { in turnScreenOn()
|