Home
last modified time | relevance | path

Searched refs:isScreenOn (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
DInstrumentationUiAutomatorBridge.java51 public boolean isScreenOn() { in isScreenOn() method in InstrumentationUiAutomatorBridge
54 return pm.isScreenOn(); in isScreenOn()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DViewMediatorCallback.java87 boolean isScreenOn(); in isScreenOn() method
DKeyguardHostView.java80 if (mViewMediatorCallback.isScreenOn() && (bouncerVisible || dismissKeyguard)) {
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerInternal.java67 public abstract void onScreenStateChanged(boolean isScreenOn); in onScreenStateChanged() argument
DVrManagerService.java250 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/
DDeviceIdleControllerTest.java343 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/
DImmersiveModeConfirmation.java153 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()
DTaskSnapshotController.java271 if (!mService.mPolicy.isScreenOn()) { in snapshotTask()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java622 if(!isScreenOn()) {
636 if(isScreenOn()) {
648 public boolean isScreenOn() throws RemoteException {
649 return mUiAutomatorBridge.isScreenOn();
DUiAutomatorBridge.java88 public abstract boolean isScreenOn(); in isScreenOn() method in UiAutomatorBridge
DUiDevice.java739 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/
DDeviceStateMonitor.java211 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/
DShellUiAutomatorBridge.java114 public boolean isScreenOn() { in isScreenOn() method in ShellUiAutomatorBridge
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java143 when(mPowerManager.isScreenOn()).thenReturn(true); in ensureStateForHeadsUpWhenAwake()
412 when(mPowerManager.isScreenOn()).thenReturn(false); in testShouldHeadsUp_false_deviceNotInUse()
DKeyguardIndicationControllerTest.java130 when(mKeyguardUpdateMonitor.isScreenOn()).thenReturn(true); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java601 } 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/
DWindowManagerPolicy.java640 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/
DStatusBarTest.java411 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/
DTestWindowManagerPolicy.java220 public boolean isScreenOn() {
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java239 if (mService.isPowerStandbyOrTransient() || !mService.getPowerManager().isScreenOn()) { in wakeUpIfActiveSource()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInterruptionStateProvider.java266 boolean inUse = mPowerManager.isScreenOn() && !isDreaming; in shouldHeadsUpWhenAwake()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java103 mScreenOffTime = mPowerManager.isScreenOn() ? -1 : SystemClock.elapsedRealtime(); in start()
/frameworks/base/cmds/uiautomator/api/
D16.txt24 method public boolean isScreenOn() throws android.os.RemoteException;
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java384 if (sInstance.mPowerManager.isScreenOn()) { in beginShutdownSequence()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java459 if (!mUiDevice.isScreenOn()) { in turnScreenOn()

12