Home
last modified time | relevance | path

Searched refs:getWakeLock (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/location/contexthub/
DContextHubClientBrokerTest.java81 assertThat(broker.getWakeLock().isHeld()).isFalse(); in createFromCallback()
99 assertThat(broker.getWakeLock().isHeld()).isFalse(); in createFromPendingIntent()
110 assertThat(broker.getWakeLock().isHeld()).isTrue(); in testWakeLock_callback_onNanoAppLoaded()
114 assertThat(broker.getWakeLock().isHeld()).isFalse(); in testWakeLock_callback_onNanoAppLoaded()
127 assertThat(broker.getWakeLock().isHeld()).isTrue(); in testWakeLock_callback_multiple()
131 assertThat(broker.getWakeLock().isHeld()).isTrue(); in testWakeLock_callback_multiple()
135 assertThat(broker.getWakeLock().isHeld()).isFalse(); in testWakeLock_callback_multiple()
145 assertThat(broker.getWakeLock().isHeld()).isFalse(); in testWakeLock_callback_binderDied()
161 assertThat(broker.getWakeLock().isHeld()).isTrue(); in testWakeLock_pendingIntent()
175 assertThat(broker.getWakeLock().isHeld()).isFalse(); in testWakeLock_pendingIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java236 getWakeLock().release(); in onHotplug()
389 getWakeLock().acquire(); in setActiveSource()
391 getWakeLock().release(); in setActiveSource()
396 private ActiveWakeLock getWakeLock() { in getWakeLock() method in HdmiCecLocalDevicePlayback
420 return !getWakeLock().isHeld(); in canGoToStandby()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java169 while (mCdmaInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown()
174 assertFalse(mCdmaInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java1432 assertTrue(mRILInstance.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in testWakeLockTimeout()
1438 assertFalse(mRILInstance.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in testWakeLockTimeout()
1471 assertTrue(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILResponse()
1475 assertFalse(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILResponse()
1488 assertTrue(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILResponse_1_6()
1492 assertFalse(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILResponse_1_6()
1504 assertTrue(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILErrorResponse()
1508 assertFalse(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILErrorResponse()
1522 assertTrue(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILUnsupportedResponse()
1529 assertTrue(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILUnsupportedResponse()
DGsmCdmaPhoneTest.java2681 assertTrue(mPhoneUT.getWakeLock().isHeld()); in testEcbm()
2692 assertFalse(mPhoneUT.getWakeLock().isHeld()); in testEcbm()
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowManager.java358 PowerManager.WakeLock getWakeLock() { in getWakeLock() method in RebootEscrowManager.Injector
518 mWakeLock = mInjector.getWakeLock(); in loadRebootEscrowDataIfAvailable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java224 while (mGsmInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown()
229 assertFalse(mGsmInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java1364 virtualDisplayWrapper.getWakeLock().release();
1579 PowerManager.WakeLock getWakeLock() {
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java591 WakeLock getWakeLock() { in getWakeLock() method in ContextHubClientBroker
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java630 assertTrue(mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
644 assertFalse(mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java2062 public PowerManager.WakeLock getWakeLock() { in getWakeLock() method in InboundSmsHandler
DGsmCdmaPhone.java5110 public PowerManager.WakeLock getWakeLock() { in getWakeLock() method in GsmCdmaPhone
DRIL.java5713 public WakeLock getWakeLock(int wakeLockType) { in getWakeLock() method in RIL
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java2432 public PowerManager.WakeLock getWakeLock() { in getWakeLock() method in ImsPhone