/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
D | InteractionController.java | 463 if(!isScreenOn()) { in wakeDevice() 477 if(isScreenOn()) { in sleepDevice() 489 public boolean isScreenOn() throws RemoteException { in isScreenOn() method in InteractionController 492 return pm.isScreenOn(); in isScreenOn()
|
D | UiDevice.java | 573 public boolean isScreenOn() throws RemoteException { in isScreenOn() method in UiDevice 574 return getAutomatorBridge().getInteractionController().isScreenOn(); in isScreenOn()
|
/frameworks/base/core/java/android/os/ |
D | LocalPowerManager.java | 44 boolean isScreenOn(); in isScreenOn() method
|
D | PowerManager.java | 537 public boolean isScreenOn() in isScreenOn() method in PowerManager 540 return mService.isScreenOn(); in isScreenOn()
|
D | IPowerManager.aidl | 41 boolean isScreenOn(); in isScreenOn() method
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 31 public boolean isScreenOn() throws RemoteException { in isScreenOn() method in BridgePowerManager
|
/frameworks/base/services/jni/ |
D | com_android_server_input_InputManagerService.cpp | 255 bool isScreenOn(); 664 return isScreenOn(); in isKeyRepeatEnabled() 778 bool NativeInputManager::isScreenOn() { in isScreenOn() function in android::NativeInputManager 826 bool isScreenOn = this->isScreenOn(); in interceptKeyBeforeQueueing() local 835 keyEventObj, policyFlags, isScreenOn); in interceptKeyBeforeQueueing() 847 if (!isScreenOn) { in interceptKeyBeforeQueueing() 869 if (isScreenOn()) { in interceptMotionBeforeQueueing()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | InputMonitor.java | 289 KeyEvent event, int policyFlags, boolean isScreenOn) { in interceptKeyBeforeQueueing() argument 290 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags, isScreenOn); in interceptKeyBeforeQueueing()
|
D | WindowManagerService.java | 6842 boolean on = mPowerManager.isScreenOn(); in sendScreenStatusToClientsLocked()
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerPolicy.java | 708 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn); in interceptKeyBeforeQueueing() argument
|
D | ViewRootImpl.java | 403 mAttachInfo.mScreenOn = powerManager.isScreenOn(); in ViewRootImpl()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindowManager.java | 960 if (mPowerManager.isScreenOn()) { in init() 3204 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn) { in interceptKeyBeforeQueueing() argument 3216 (isScreenOn ? in interceptKeyBeforeQueueing() 3227 + " screenIsOn=" + isScreenOn + " keyguardActive=" + keyguardActive); in interceptKeyBeforeQueueing() 3250 if ((isScreenOn && !mHeadless) || (isInjected && !isWakeKey)) { in interceptKeyBeforeQueueing() 3276 if (isScreenOn && !mVolumeDownKeyTriggered in interceptKeyBeforeQueueing() 3290 if (isScreenOn && !mVolumeUpKeyTriggered in interceptKeyBeforeQueueing() 3358 interceptPowerKeyDown(!isScreenOn || hungUp); in interceptKeyBeforeQueueing() 3379 if (isScreenOn && !mPowerKeyTriggered in interceptKeyBeforeQueueing() 3405 interceptPowerKeyDown(!isScreenOn || hungUp in interceptKeyBeforeQueueing() [all …]
|
D | LockPatternKeyguardView.java | 453 mScreenOn = ((PowerManager)context.getSystemService(Context.POWER_SERVICE)).isScreenOn(); in LockPatternKeyguardView()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 267 assertFalse(pm.isScreenOn()); in testWifiReconnectionAfterSleep()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 232 expect(mPowerManager.isScreenOn()).andReturn(true).atLeastOnce(); in setUp() 352 expect(mPowerManager.isScreenOn()).andReturn(false).atLeastOnce(); in testScreenChangesRules() 362 expect(mPowerManager.isScreenOn()).andReturn(true).atLeastOnce(); in testScreenChangesRules()
|
/frameworks/base/services/java/com/android/server/input/ |
D | InputManagerService.java | 1241 private int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn) { in interceptKeyBeforeQueueing() argument 1243 event, policyFlags, isScreenOn); in interceptKeyBeforeQueueing() 1408 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn); in interceptKeyBeforeQueueing() argument
|
/frameworks/base/docs/html/sdk/api_diff/7/ |
D | missingSinces.txt | 35 NO DOC BLOCK: android.os.PowerManager Method isScreenOn()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | ShutdownThread.java | 236 if (sInstance.mPowerManager.isScreenOn()) { in beginShutdownSequence()
|
/frameworks/base/services/java/com/android/server/ |
D | PowerManagerService.java | 1688 if (isScreenOn()) { in setScreenBrightnessOverride() 1702 if (isScreenOn()) { in setButtonBrightnessOverride() 2447 public boolean isScreenOn() { in isScreenOn() method 2925 enableLightSensorLocked(mAutoBrightessEnabled && isScreenOn()); in setScreenBrightnessMode()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 760 mScreenOn = ((PowerManager)getSystemService(Context.POWER_SERVICE)).isScreenOn(); in attach()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothDeviceProfileState.java | 1097 if (!mPowerManager.isScreenOn()) mWakeLock.acquire(); in sendConnectionAccessIntent()
|
/frameworks/base/services/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1670 mScreenOn = mPowerManager.isScreenOn(); in updateScreenOn()
|
/frameworks/base/media/java/android/media/ |
D | AudioService.java | 4085 if (!isLocked && pm.isScreenOn()) { in startVoiceBasedInteractions()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4203 public boolean isScreenOn() { in isScreenOn() method in BatteryStatsImpl
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityManagerService.java | 14508 if (stats.isScreenOn()) { in checkExcessivePowerUsageLocked()
|