Searched refs:holdsWakeLock (Results 1 – 2 of 2) sorted by relevance
105 assertTrue(mService.holdsWakeLock()); in testHoldsWakeLockWhileWorking()111 assertTrue(mService.holdsWakeLock()); in testReleasesWakeLock_AfterSuccess()113 assertFalse(mService.holdsWakeLock()); in testReleasesWakeLock_AfterSuccess()119 assertTrue(mService.holdsWakeLock()); in testReleasesWakeLock_AfterFailure()121 assertFalse(mService.holdsWakeLock()); in testReleasesWakeLock_AfterFailure()
293 boolean holdsWakeLock() { in holdsWakeLock() method in FileOperationService