/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 98 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/ |
D | WakeLockStateMachine.java | 94 while (mWakeLock.isHeld()) { in onQuitting() 163 if (mWakeLock.isHeld()) { in processMessage() 198 if (!mWakeLock.isHeld()) { in processMessage()
|
D | GsmCdmaConnection.java | 800 if (mPartialWakeLock.isHeld()) { in finalize() 910 if (mPartialWakeLock.isHeld()) { in setPostDialState() 941 if (mPartialWakeLock.isHeld()) { in releaseWakeLock() 951 while (mPartialWakeLock.isHeld()) { in releaseAllWakeLocks()
|
D | InboundSmsHandler.java | 272 while (mWakeLock.isHeld()) { in onQuitting() 377 if (mWakeLock.isHeld()) { in processMessage() 455 if (!mWakeLock.isHeld()) { in processMessage()
|
D | ProxyController.java | 589 if (mWakeLock.isHeld()) { in clearTransaction()
|
D | GsmCdmaPhone.java | 389 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/ |
D | HdmiCecLocalDevicePlayback.java | 217 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/ |
D | SipWakeLock.java | 57 if (!mWakeLock.isHeld()) mWakeLock.acquire(); in acquire() 64 && mWakeLock.isHeld()) { in release()
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
D | BatteryWaster.java | 88 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/ |
D | CdmaInboundSmsHandlerTest.java | 139 while (mCdmaInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown() 143 assertFalse(mCdmaInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfActivity.java | 246 if (mPartialWakeLock.isHeld()) { in onDestroy() 453 if (!mPartialWakeLock.isHeld()) { in updateWakeLock() 458 if (mPartialWakeLock.isHeld()) { in updateWakeLock()
|
/frameworks/base/core/java/android/os/ |
D | UpdateLock.java | 93 public boolean isHeld() { in isHeld() method in UpdateLock
|
D | PowerManager.java | 1290 public boolean isHeld() { in isHeld() method in PowerManager.WakeLock
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 294 return mWakeLock != null && mWakeLock.isHeld(); in holdsWakeLock()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 532 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/ |
D | GsmCdmaPhoneTest.java | 594 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/ |
D | GsmInboundSmsHandlerTest.java | 351 while (mGsmInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown() 355 assertFalse(mGsmInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 2277 public boolean isHeld() { 2530 public boolean isHeld() {
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 1281 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/ |
D | UiModeManagerService.java | 535 if (keepScreenOn != mWakeLock.isHeld()) { in updateLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeService.java | 105 pw.print(" mWakeLock: held="); pw.println(mWakeLock.isHeld()); in dumpOnHandler()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 567 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()
|
D | ImsPhone.java | 1274 if (mWakeLock.isHeld()) { in exitEmergencyCallbackMode() 1324 if (mWakeLock.isHeld()) { in handleExitEmergencyCallbackMode()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStackSupervisor.java | 1633 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/ |
D | GeofenceHardwareImpl.java | 126 if (mWakeLock.isHeld()) mWakeLock.release(); in releaseWakeLock()
|