Home
last modified time | relevance | path

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

/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DAlarmImpl.java42 WakeUpController.getController().getWakeLock().acquire(); in prepare()
59 WakeUpController.getController().getWakeLock().release(); in setAlarmAndWait()
73 WakeUpController.getController().getWakeLock().release(); in done()
DWakeUpCall.java34 WakeUpController.getController().getWakeLock().acquire(); in onReceive()
DWakeUpController.java46 public WakeLock getWakeLock() { in getWakeLock() method in WakeUpController
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java160 getWakeLock().release(); in onHotplug()
196 getWakeLock().acquire(); in setActiveSource()
198 getWakeLock().release(); in setActiveSource()
203 private ActiveWakeLock getWakeLock() { in getWakeLock() method in HdmiCecLocalDevicePlayback
227 return !getWakeLock().isHeld(); in canGoToStandby()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java157 while (mCdmaInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown()
161 assertFalse(mCdmaInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java704 assertEquals(true, mPhoneUT.getWakeLock().isHeld()); in testEmergencyCallbackMessages()
750 assertEquals(false, mPhoneUT.getWakeLock().isHeld()); in testEmergencyCallbackMessages()
792 assertEquals(true, mPhoneUT.getWakeLock().isHeld()); in testModemResetInEmergencyCallbackMessages()
838 assertEquals(false, mPhoneUT.getWakeLock().isHeld()); in testModemResetInEmergencyCallbackMessages()
DRILTest.java1019 assertTrue(mRILInstance.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in testWakeLockTimeout()
1024 assertFalse(mRILInstance.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in testWakeLockTimeout()
1056 assertTrue(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILResponse()
1060 assertFalse(ril.getWakeLock(RIL.FOR_WAKELOCK).isHeld()); in verifyRILResponse()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java566 assertEquals(true, mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
601 assertEquals(false, mImsPhoneUT.getWakeLock().isHeld()); in testEcbm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java184 while (mGsmInboundSmsHandler.getWakeLock().isHeld() && i < 100) { in tearDown()
188 assertFalse(mGsmInboundSmsHandler.getWakeLock().isHeld()); in tearDown()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1556 public PowerManager.WakeLock getWakeLock() { in getWakeLock() method in InboundSmsHandler
DGsmCdmaPhone.java3637 public PowerManager.WakeLock getWakeLock() { in getWakeLock() method in GsmCdmaPhone
DRIL.java4322 public WakeLock getWakeLock(int wakeLockType) { in getWakeLock() method in RIL
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1799 public PowerManager.WakeLock getWakeLock() { in getWakeLock() method in ImsPhone