Home
last modified time | relevance | path

Searched refs:isHeld (Results 1 – 25 of 40) 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.java813 if (mPartialWakeLock.isHeld()) { in finalize()
923 if (mPartialWakeLock.isHeld()) { in setPostDialState()
954 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()
964 while (mPartialWakeLock.isHeld()) { in releaseAllWakeLocks()
DInboundSmsHandler.java288 while (mWakeLock.isHeld()) { in onQuitting()
393 if (mWakeLock.isHeld()) { in processMessage()
471 if (!mWakeLock.isHeld()) { in processMessage()
DProxyController.java589 if (mWakeLock.isHeld()) { in clearTransaction()
/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/base/core/java/android/os/
DUpdateLock.java93 public boolean isHeld() { in isHeld() method in UpdateLock
DPowerManager.java1310 public boolean isHeld() { in isHeld() method in PowerManager.WakeLock
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java155 while (mCdmaInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown()
159 assertFalse(mCdmaInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DPlayback.java120 if (mWifiLock.isHeld()) { in stop()
452 if (mWifiLock.isHeld()) { in relaxResources()
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java183 if (mWakeLock.isHeld()) { in stop()
233 if (mWakeLock.isHeld()) { in stopOrientationMeasurementLocked()
DUiModeManagerService.java544 if (keepScreenOn != mWakeLock.isHeld()) { in updateLocked()
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
DRetailDemoModeService.java165 if (mWakeLock.isHeld()) { in handleMessage()
259 if (mWakeLock.isHeld()) { in onChange()
595 if (!mIsCarrierDemoMode && !mWakeLock.isHeld()) { in onSwitchUser()
/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/
DGsmCdmaPhoneTest.java597 assertEquals(true, mPhoneUT.getWakeLock().isHeld()); in testEmergencyCallbackMessages()
642 assertEquals(false, mPhoneUT.getWakeLock().isHeld()); in testEmergencyCallbackMessages()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java171 while (mGsmInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown()
175 assertFalse(mGsmInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java543 assertEquals(true, mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
578 assertEquals(false, mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java2317 public boolean isHeld() {
2570 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/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java101 pw.print(" mWakeLock: held="); pw.println(mWakeLock.isHeld()); in dumpOnHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1317 if (mWakeLock.isHeld()) { in exitEmergencyCallbackMode()
1373 if (mWakeLock.isHeld()) { in handleExitEmergencyCallbackMode()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java1667 if (mLaunchingActivity.isHeld()) { in activityIdleInternalLocked()
2739 if (!mGoingToSleep.isHeld()) { in goingToSleepLocked()
2741 if (mLaunchingActivity.isHeld()) { in goingToSleepLocked()
2791 if (mGoingToSleep.isHeld()) { in comeOutOfSleepIfNeededLocked()
2859 if (mGoingToSleep.isHeld()) { in checkReadyForSleepLocked()
3904 if (mLaunchingActivity.isHeld()) { in handleMessage()

12