Home
last modified time | relevance | path

Searched refs:holdsWakeLock (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DFileOperationServiceTest.java207 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()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java357 boolean holdsWakeLock() { in holdsWakeLock() method in FileOperationService