HomeSort by relevance Sort by last modified time
    Searched refs:isScreenOn (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPowerManager.java 14 private boolean isScreenOn = true;
22 public boolean isScreenOn() {
23 return isScreenOn;
27 isScreenOn = screenOn;
  /frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
InstrumentationUiAutomatorBridge.java 51 public boolean isScreenOn() {
54 return pm.isScreenOn();
  /external/chromium_org/content/shell/android/javatests/src/org/chromium/content_shell_apk/
ContentShellPreconditionsTest.java 23 assertTrue("Many tests will fail if the screen is not on.", pm.isScreenOn());
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
PowerManagerTest.java 30 assertTrue(powerManager.isScreenOn());
32 assertFalse(powerManager.isScreenOn());
  /frameworks/base/core/java/android/os/
IPowerManager.aidl 41 boolean isScreenOn();
PowerManager.java 578 * boolean isScreenOn = pm.isScreenOn();
584 public boolean isScreenOn() {
586 return mService.isScreenOn();
  /frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/
ShellUiAutomatorBridge.java 110 public boolean isScreenOn() {
115 ret = pm.isScreenOn();
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgePowerManager.java 31 public boolean isScreenOn() throws RemoteException {
  /packages/apps/InCallUI/src/com/android/incallui/
ProximitySensor.java 150 } else if (mPowerManager.isScreenOn()) {
162 return !mPowerManager.isScreenOn();
  /frameworks/base/policy/src/com/android/internal/policy/impl/
ImmersiveModeConfirmation.java 135 public void onPowerKeyDown(boolean isScreenOn, long time, boolean inImmersiveMode) {
136 if (mPanicPackage != null && !isScreenOn && (time - mPanicTime < mPanicThresholdMs)) {
140 if (isScreenOn && inImmersiveMode) {
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiAutomatorBridge.java 88 public abstract boolean isScreenOn();
InteractionController.java 624 if(!isScreenOn()) {
638 if(isScreenOn()) {
650 public boolean isScreenOn() throws RemoteException {
651 return mUiAutomatorBridge.isScreenOn();
UiDevice.java 736 public boolean isScreenOn() throws RemoteException {
738 return getAutomatorBridge().getInteractionController().isScreenOn();
  /packages/apps/Email/tests/src/com/android/email/
TestUtils.java 157 if (!pm.isScreenOn()) {
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardFaceUnlockView.java 227 if (!powerManager.isScreenOn() || !isShowing) {
293 } else if (showing && powerManager.isScreenOn() && !wasShowing) {
KeyguardStatusView.java 95 final boolean screenOn = KeyguardUpdateMonitor.getInstance(mContext).isScreenOn();
CarrierText.java 96 final boolean screenOn = KeyguardUpdateMonitor.getInstance(mContext).isScreenOn();
FaceUnlock.java 347 if (powerManager.isScreenOn()) {
KeyguardMessageArea.java 196 final boolean screenOn = KeyguardUpdateMonitor.getInstance(mContext).isScreenOn();
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingRequest.java 68 if (powerManager.isScreenOn() &&
  /frameworks/base/services/java/com/android/server/wm/
InputMonitor.java 356 KeyEvent event, int policyFlags, boolean isScreenOn) {
357 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags, isScreenOn);
  /frameworks/base/services/jni/
com_android_server_input_InputManagerService.cpp 253 bool isScreenOn();
622 return isScreenOn();
736 bool NativeInputManager::isScreenOn() {
784 bool isScreenOn = this->isScreenOn();
793 keyEventObj, policyFlags, isScreenOn);
805 if (!isScreenOn) {
827 if (isScreenOn()) {
    [all...]
  /frameworks/base/core/java/android/view/
WindowManagerPolicy.java 752 * @param isScreenOn True if the screen is already on
757 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn);
    [all...]
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
WifiStressTest.java 260 assertFalse(pm.isScreenOn());
  /frameworks/base/services/java/com/android/server/power/
DisplayPowerState.java 142 public boolean isScreenOn() {

Completed in 479 milliseconds

1 2 3