Home
last modified time | relevance | path

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

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DFileOperationServiceTest.java105 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()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java293 boolean holdsWakeLock() { in holdsWakeLock() method in FileOperationService