Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java98 assertTrue(wl.isHeld()); in doTestWakeLock()
100 assertFalse(wl.isHeld()); in doTestWakeLock()
105 assertTrue(wl.isHeld()); in doTestWakeLock()
107 assertTrue(wl.isHeld()); in doTestWakeLock()
109 assertTrue(wl.isHeld()); in doTestWakeLock()
111 assertFalse(wl.isHeld()); in doTestWakeLock()
116 assertTrue(wl.isHeld()); in doTestWakeLock()
118 assertTrue(wl.isHeld()); in doTestWakeLock()
120 assertFalse(wl.isHeld()); in doTestWakeLock()
/frameworks/base/voip/java/com/android/server/sip/
DSipWakeLock.java57 if (!mWakeLock.isHeld()) mWakeLock.acquire(); in acquire()
65 && mWakeLock.isHeld()) { in release()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java88 if (mPartialWakeLock.isHeld()) { in onDestroy()
150 if (!mPartialWakeLock.isHeld()) { in updateWakeLock()
154 if (mPartialWakeLock.isHeld()) { in updateWakeLock()
/frameworks/base/core/java/android/bluetooth/
DHeadsetBase.java280 if (!mWakeLock.isHeld()) { in acquireWakeLock()
286 if (mWakeLock.isHeld()) { in releaseWakeLock()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaConnection.java682 if (mPartialWakeLock.isHeld()) { in finalize()
788 if (mPartialWakeLock.isHeld()) { in setPostDialState()
815 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()
DCDMAPhone.java273 if (mWakeLock.isHeld()) { in finalize()
869 if (mWakeLock.isHeld()) { in exitEmergencyCallbackMode()
/frameworks/base/media/java/android/media/
DMediaPlayer.java961 if (mWakeLock.isHeld()) { in setWakeMode()
998 if (awake && !mWakeLock.isHeld()) { in stayAwake()
1000 } else if (!awake && mWakeLock.isHeld()) { in stayAwake()
/frameworks/base/core/java/android/os/
DPowerManager.java330 public boolean isHeld() in isHeld() method in PowerManager.WakeLock
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1332 public boolean isHeld() { in isHeld() method in WifiManager.WifiLock
1578 public boolean isHeld() { in isHeld() method in WifiManager.MulticastLock
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmConnection.java591 if (mPartialWakeLock.isHeld()) { in finalize()
720 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardViewMediator.java1135 if (mWakeAndHandOff.isHeld()) { in handleHide()
1239 if (!mWakeLock.isHeld()) { in handleWakeWhenReady()
/frameworks/base/services/java/com/android/server/
DConnectivityService.java1693 if (mNetTransitionWakeLock.isHeld()) { in handleConnect()
2200 (mNetTransitionWakeLock.isHeld() ? "" : "not ") + "held."); in dump()
2280 mNetTransitionWakeLock.isHeld()) { in handleMessage()
2469 if (mNetTransitionWakeLock.isHeld()) return; in requestNetworkTransitionWakelock()
DPowerManagerService.java349 public boolean isHeld() in isHeld() method in PowerManagerService.UnsynchronizedWakeLock
2451 if (mProximityPartialLock.isHeld()) {
2978 if (mProximityPartialLock.isHeld()) { in disableProximityLockLocked()
3096 boolean held = mProximityPartialLock.isHeld();
DUiModeManagerService.java552 if (keepScreenOn != mWakeLock.isHeld()) { in updateLocked()
DLocationManagerService.java2011 if (mWakeLock.isHeld()) { in decrementPendingBroadcasts()
/frameworks/base/services/java/com/android/server/am/
DActivityStack.java336 if (mLaunchingActivity.isHeld()) {
718 if (!mGoingToSleep.isHeld()) { in stopIfSleepingLocked()
720 if (mLaunchingActivity.isHeld()) { in stopIfSleepingLocked()
735 if (mGoingToSleep.isHeld()) { in awakeFromSleepingLocked()
800 if (mGoingToSleep.isHeld()) { in checkReadyForSleepLocked()
3205 if (mResumedActivity == r && mLaunchingActivity.isHeld()) { in activityIdleInternal()
/frameworks/base/telephony/java/com/android/internal/telephony/
DRIL.java377 if (mWakeLock.isHeld()) { in handleMessage()
2028 if (mWakeLock.isHeld() && in releaseWakeLockIfDone()
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java8770 boolean state = mHoldingScreenWakeLock.isHeld();
/frameworks/base/api/
Dcurrent.txt12421 method public boolean isHeld();
12428 method public boolean isHeld();
15045 method public boolean isHeld();
D14.txt12421 method public boolean isHeld();
12428 method public boolean isHeld();
15045 method public boolean isHeld();