/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | SettableWakeLockTest.java | 49 assertTrue(mFake.isHeld()); in setAcquire_true_acquires() 50 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_true_acquires() 57 assertFalse(mFake.isHeld()); in setAcquire_false_releases() 58 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_false_releases() 67 assertFalse(mFake.isHeld()); in setAcquire_true_multipleTimes_isIdempotent() 68 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_true_multipleTimes_isIdempotent() 76 assertFalse(mFake.isHeld()); in setAcquire_false_multipleTimes_idempotent() 77 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_false_multipleTimes_idempotent() 86 assertTrue(mFake.isHeld()); in setAcquire_false_multipleTimes_idempotent_again() 87 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_false_multipleTimes_idempotent_again()
|
D | WakeLockTest.java | 56 assertFalse(mInner.isHeld()); in createPartialInner_notHeldYet() 62 assertTrue(mInner.isHeld()); in wakeLock_acquire() 69 assertFalse(mInner.isHeld()); in wakeLock_release() 77 assertTrue(mInner.isHeld()); in wakeLock_refCounted() 88 assertTrue(mInner.isHeld()); in wakeLock_wrap() 94 assertFalse(mInner.isHeld()); in wakeLock_wrap()
|
D | WakeLockFake.java | 48 public boolean isHeld() {
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeMachineTest.java | 156 assertTrue(mWakeLockFake.isHeld()); in testWakeLock_heldInTransition() 168 assertTrue(mWakeLockFake.isHeld()); in testWakeLock_heldInPulseStates() 171 assertTrue(mWakeLockFake.isHeld()); in testWakeLock_heldInPulseStates() 179 assertFalse(mWakeLockFake.isHeld()); in testWakeLock_notHeldInDozeStates() 182 assertFalse(mWakeLockFake.isHeld()); in testWakeLock_notHeldInDozeStates() 194 assertFalse(mWakeLockFake.isHeld()); in testWakeLock_releasedAfterPulse()
|
/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 | 814 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) { in finalize() 924 if (mPartialWakeLock.isHeld()) { in setPostDialState() 957 if (mPartialWakeLock.isHeld()) { in releaseWakeLock() 968 while (mPartialWakeLock.isHeld()) { in releaseAllWakeLocks()
|
D | InboundSmsHandler.java | 278 while (mWakeLock.isHeld()) { in onQuitting() 383 if (mWakeLock.isHeld()) { in processMessage() 461 if (!mWakeLock.isHeld()) { in processMessage()
|
D | ProxyController.java | 589 if (mWakeLock.isHeld()) { in clearTransaction()
|
/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/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 217 public boolean isHeld() { return false; } in getWakeLock() 227 return !getWakeLock().isHeld(); in canGoToStandby() 397 boolean isHeld(); in isHeld() method 420 public boolean isHeld() { in isHeld() method in HdmiCecLocalDevicePlayback.SystemWakeLock 421 return mWakeLock.isHeld(); in isHeld()
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 161 assertTrue(mWakeLock.isHeld()); in transientIndication_holdsWakeLock_whenDozing() 172 assertFalse(mWakeLock.isHeld()); in transientIndication_releasesWakeLock_afterHiding() 188 held[0] = mWakeLock.isHeld(); in transientIndication_releasesWakeLock_afterHidingDelayed()
|
/frameworks/base/core/java/android/os/ |
D | UpdateLock.java | 93 public boolean isHeld() { in isHeld() method in UpdateLock
|
D | PowerManager.java | 1400 public boolean isHeld() { in isHeld() method in PowerManager.WakeLock
|
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 155 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/ |
D | Playback.java | 120 if (mWifiLock.isHeld()) { in stop() 452 if (mWifiLock.isHeld()) { in relaxResources()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AnyMotionDetector.java | 183 if (mWakeLock.isHeld()) { in stop() 233 if (mWakeLock.isHeld()) { in stopOrientationMeasurementLocked()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 541 assertEquals(true, mImsPhoneUT.getWakeLock().isHeld()); in testEcbm() 576 assertEquals(false, mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 606 assertEquals(true, mPhoneUT.getWakeLock().isHeld()); in testEmergencyCallbackMessages() 651 assertEquals(false, mPhoneUT.getWakeLock().isHeld()); in testEmergencyCallbackMessages()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 183 while (mGsmInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown() 187 assertFalse(mGsmInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 3048 public boolean isHeld() { 3301 public boolean isHeld() {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 280 if (mDexoptWakeLock.isHeld()) { in releaseWakeLockLI()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareImpl.java | 126 if (mWakeLock.isHeld()) mWakeLock.release(); in releaseWakeLock()
|