Searched refs:holdsWakeLock (Results 1 – 2 of 2) sorted by relevance
207 assertTrue(mService.holdsWakeLock()); in testHoldsWakeLockWhileWorking()213 assertTrue(mService.holdsWakeLock()); in testReleasesWakeLock_AfterSuccess()215 assertFalse(mService.holdsWakeLock()); in testReleasesWakeLock_AfterSuccess()221 assertTrue(mService.holdsWakeLock()); in testReleasesWakeLock_AfterFailure()223 assertFalse(mService.holdsWakeLock()); in testReleasesWakeLock_AfterFailure()
360 boolean holdsWakeLock() { in holdsWakeLock() method in FileOperationService