Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DLocalPowerManager.java44 boolean isScreenOn(); in isScreenOn() method
DPowerManager.java513 public boolean isScreenOn() in isScreenOn() method in PowerManager
516 return mService.isScreenOn(); in isScreenOn()
DIPowerManager.aidl41 boolean isScreenOn(); in isScreenOn() method
/frameworks/base/services/jni/
Dcom_android_server_InputManager.cpp259 bool isScreenOn();
598 return isScreenOn(); in isKeyRepeatEnabled()
712 bool NativeInputManager::isScreenOn() { in isScreenOn() function in android::NativeInputManager
760 bool isScreenOn = this->isScreenOn(); in interceptKeyBeforeQueueing() local
769 keyEventObj, policyFlags, isScreenOn); in interceptKeyBeforeQueueing()
781 if (!isScreenOn) { in interceptKeyBeforeQueueing()
803 if (isScreenOn()) { in interceptMotionBeforeQueueing()
/frameworks/base/services/java/com/android/server/wm/
DInputMonitor.java278 KeyEvent event, int policyFlags, boolean isScreenOn) { in interceptKeyBeforeQueueing() argument
279 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags, isScreenOn); in interceptKeyBeforeQueueing()
DInputManager.java566 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn) { in interceptKeyBeforeQueueing() argument
568 event, policyFlags, isScreenOn); in interceptKeyBeforeQueueing()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java653 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn); in interceptKeyBeforeQueueing() argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java779 if (mPowerManager.isScreenOn()) { in init()
2650 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn) { in interceptKeyBeforeQueueing() argument
2661 final boolean keyguardActive = (isScreenOn ? in interceptKeyBeforeQueueing()
2672 + " screenIsOn=" + isScreenOn + " keyguardActive=" + keyguardActive); in interceptKeyBeforeQueueing()
2689 if (isScreenOn || isInjected) { in interceptKeyBeforeQueueing()
2717 if (isScreenOn && !mVolumeDownKeyTriggered in interceptKeyBeforeQueueing()
2731 if (isScreenOn && !mVolumeUpKeyTriggered in interceptKeyBeforeQueueing()
2799 interceptPowerKeyDown(!isScreenOn || hungUp); in interceptKeyBeforeQueueing()
2820 if (isScreenOn && !mPowerKeyTriggered in interceptKeyBeforeQueueing()
2846 interceptPowerKeyDown(!isScreenOn || hungUp in interceptKeyBeforeQueueing()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java207 expect(mPowerManager.isScreenOn()).andReturn(true).atLeastOnce(); in setUp()
307 expect(mPowerManager.isScreenOn()).andReturn(false).atLeastOnce(); in testScreenChangesRules()
317 expect(mPowerManager.isScreenOn()).andReturn(true).atLeastOnce(); in testScreenChangesRules()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java263 assertFalse(pm.isScreenOn()); in testWifiReconnectionAfterSleep()
/frameworks/base/core/java/com/android/internal/app/
DShutdownThread.java203 if (sInstance.mPowerManager.isScreenOn()) { in beginShutdownSequence()
/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/
DPowerManagerService.java1620 if (isScreenOn()) { in setScreenBrightnessOverride()
1634 if (isScreenOn()) { in setButtonBrightnessOverride()
2285 public boolean isScreenOn() { in isScreenOn() method in PowerManagerService
2711 enableLightSensorLocked(mAutoBrightessEnabled && isScreenOn()); in setScreenBrightnessMode()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java721 mScreenOn = ((PowerManager)getSystemService(Context.POWER_SERVICE)).isScreenOn(); in attach()
/frameworks/base/core/java/android/bluetooth/
DBluetoothDeviceProfileState.java1075 if (!mPowerManager.isScreenOn()) mWakeLock.acquire(); in sendConnectionAccessIntent()
/frameworks/base/services/java/com/android/server/net/
DNetworkPolicyManagerService.java1329 mScreenOn = mPowerManager.isScreenOn(); in updateScreenOn()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4201 public boolean isScreenOn() { in isScreenOn() method in BatteryStatsImpl
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java13543 if (stats.isScreenOn()) { in checkExcessivePowerUsageLocked()
/frameworks/base/api/
Dcurrent.txt15030 method public boolean isScreenOn();
D14.txt15030 method public boolean isScreenOn();