Home
last modified time | relevance | path

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

12

/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/opt/telephony/src/java/com/android/internal/telephony/
DWakeLockStateMachine.java94 while (mWakeLock.isHeld()) { in onQuitting()
163 if (mWakeLock.isHeld()) { in processMessage()
198 if (!mWakeLock.isHeld()) { in processMessage()
DGsmCdmaConnection.java800 if (mPartialWakeLock.isHeld()) { in finalize()
910 if (mPartialWakeLock.isHeld()) { in setPostDialState()
941 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()
951 while (mPartialWakeLock.isHeld()) { in releaseAllWakeLocks()
DInboundSmsHandler.java272 while (mWakeLock.isHeld()) { in onQuitting()
377 if (mWakeLock.isHeld()) { in processMessage()
455 if (!mWakeLock.isHeld()) { in processMessage()
DProxyController.java589 if (mWakeLock.isHeld()) { in clearTransaction()
DGsmCdmaPhone.java389 if (mWakeLock.isHeld()) { in finalize()
2662 if (mWakeLock.isHeld()) { in exitEmergencyCallbackMode()
2709 if (mWakeLock.isHeld()) { in handleExitEmergencyCallbackMode()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java217 public boolean isHeld() { return false; } in getWakeLock()
227 return !getWakeLock().isHeld(); in canGoToStandby()
392 boolean isHeld(); in isHeld() method
415 public boolean isHeld() { in isHeld() method in HdmiCecLocalDevicePlayback.SystemWakeLock
416 return mWakeLock.isHeld(); in isHeld()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeLock.java57 if (!mWakeLock.isHeld()) mWakeLock.acquire(); in acquire()
64 && 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java139 while (mCdmaInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown()
143 assertFalse(mCdmaInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfActivity.java246 if (mPartialWakeLock.isHeld()) { in onDestroy()
453 if (!mPartialWakeLock.isHeld()) { in updateWakeLock()
458 if (mPartialWakeLock.isHeld()) { in updateWakeLock()
/frameworks/base/core/java/android/os/
DUpdateLock.java93 public boolean isHeld() { in isHeld() method in UpdateLock
DPowerManager.java1290 public boolean isHeld() { in isHeld() method in PowerManager.WakeLock
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java294 return mWakeLock != null && mWakeLock.isHeld(); in holdsWakeLock()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java532 assertEquals(true, mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
567 assertEquals(false, mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java594 assertEquals(true, mPhoneUT.getWakeLock().isHeld()); in testEmergencyCallbackMessages()
639 assertEquals(false, mPhoneUT.getWakeLock().isHeld()); in testEmergencyCallbackMessages()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java351 while (mGsmInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown()
355 assertFalse(mGsmInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java2277 public boolean isHeld() {
2530 public boolean isHeld() {
/frameworks/base/media/java/android/media/
DMediaPlayer.java1281 if (mWakeLock.isHeld()) { in setWakeMode()
1318 if (awake && !mWakeLock.isHeld()) { in stayAwake()
1320 } else if (!awake && mWakeLock.isHeld()) { in stayAwake()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java535 if (keepScreenOn != mWakeLock.isHeld()) { in updateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java105 pw.print(" mWakeLock: held="); pw.println(mWakeLock.isHeld()); in dumpOnHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java567 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()
DImsPhone.java1274 if (mWakeLock.isHeld()) { in exitEmergencyCallbackMode()
1324 if (mWakeLock.isHeld()) { in handleExitEmergencyCallbackMode()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java1633 if (mLaunchingActivity.isHeld()) { in activityIdleInternalLocked()
2659 if (!mGoingToSleep.isHeld()) { in goingToSleepLocked()
2661 if (mLaunchingActivity.isHeld()) { in goingToSleepLocked()
2711 if (mGoingToSleep.isHeld()) { in comeOutOfSleepIfNeededLocked()
2776 if (mGoingToSleep.isHeld()) { in checkReadyForSleepLocked()
3812 if (mLaunchingActivity.isHeld()) { in handleMessage()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareImpl.java126 if (mWakeLock.isHeld()) mWakeLock.release(); in releaseWakeLock()

12