Home
last modified time | relevance | path

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

12

/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
DInteractionController.java463 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()
DUiDevice.java573 public boolean isScreenOn() throws RemoteException { in isScreenOn() method in UiDevice
574 return getAutomatorBridge().getInteractionController().isScreenOn(); in isScreenOn()
/frameworks/base/core/java/android/os/
DLocalPowerManager.java44 boolean isScreenOn(); in isScreenOn() method
DPowerManager.java537 public boolean isScreenOn() in isScreenOn() method in PowerManager
540 return mService.isScreenOn(); in isScreenOn()
DIPowerManager.aidl41 boolean isScreenOn(); in isScreenOn() method
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java31 public boolean isScreenOn() throws RemoteException { in isScreenOn() method in BridgePowerManager
/frameworks/base/services/jni/
Dcom_android_server_input_InputManagerService.cpp255 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/
DInputMonitor.java289 KeyEvent event, int policyFlags, boolean isScreenOn) { in interceptKeyBeforeQueueing() argument
290 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags, isScreenOn); in interceptKeyBeforeQueueing()
DWindowManagerService.java6842 boolean on = mPowerManager.isScreenOn(); in sendScreenStatusToClientsLocked()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java708 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn); in interceptKeyBeforeQueueing() argument
DViewRootImpl.java403 mAttachInfo.mScreenOn = powerManager.isScreenOn(); in ViewRootImpl()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java960 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 …]
DLockPatternKeyguardView.java453 mScreenOn = ((PowerManager)context.getSystemService(Context.POWER_SERVICE)).isScreenOn(); in LockPatternKeyguardView()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java267 assertFalse(pm.isScreenOn()); in testWifiReconnectionAfterSleep()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java232 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/
DInputManagerService.java1241 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/
DmissingSinces.txt35 NO DOC BLOCK: android.os.PowerManager Method isScreenOn()
/frameworks/base/services/java/com/android/server/pm/
DShutdownThread.java236 if (sInstance.mPowerManager.isScreenOn()) { in beginShutdownSequence()
/frameworks/base/services/java/com/android/server/
DPowerManagerService.java1688 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/
DWallpaperService.java760 mScreenOn = ((PowerManager)getSystemService(Context.POWER_SERVICE)).isScreenOn(); in attach()
/frameworks/base/core/java/android/bluetooth/
DBluetoothDeviceProfileState.java1097 if (!mPowerManager.isScreenOn()) mWakeLock.acquire(); in sendConnectionAccessIntent()
/frameworks/base/services/java/com/android/server/net/
DNetworkPolicyManagerService.java1670 mScreenOn = mPowerManager.isScreenOn(); in updateScreenOn()
/frameworks/base/media/java/android/media/
DAudioService.java4085 if (!isLocked && pm.isScreenOn()) { in startVoiceBasedInteractions()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4203 public boolean isScreenOn() { in isScreenOn() method in BatteryStatsImpl
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java14508 if (stats.isScreenOn()) { in checkExcessivePowerUsageLocked()

12