Lines Matching refs:acquireWakeLock
201 sp<IWakeLock> acquireWakeLock(const std::string& name = "TestLock") { in acquireWakeLock() function in android::SystemSuspendTest
202 return suspendService->acquireWakeLock(WakeLockType::PARTIAL, name); in acquireWakeLock()
225 sp<IWakeLock> testLock = acquireWakeLock(name); in checkWakelockLoop()
296 sp<IWakeLock> wl = acquireWakeLock(); in TEST_F()
306 sp<IWakeLock> wl = acquireWakeLock(); in TEST_F()
317 sp<IWakeLock> wl1 = acquireWakeLock(); in TEST_F()
322 sp<IWakeLock> wl2 = acquireWakeLock(); in TEST_F()
334 sp<IWakeLock> wl = acquireWakeLock(); in TEST_F()
348 sp<IWakeLock> wl = acquireWakeLock(); in TEST_F()
370 sp<IWakeLock> wl1 = acquireWakeLock(); in TEST_F()
371 sp<IWakeLock> wl2 = acquireWakeLock(); in TEST_F()
677 sp<IWakeLock> testLock = acquireWakeLock("testLock"); in TEST_F()
741 sp<IWakeLock> acquireWakeLock(const std::string& name = "TestLock") { in acquireWakeLock() function in android::SystemSuspendSameThreadTest
742 return suspendService->acquireWakeLock(WakeLockType::PARTIAL, name); in acquireWakeLock()
970 sp<IWakeLock> fakeLock = acquireWakeLock(fakeWlName); in TEST_F()
1068 sp<IWakeLock> fakeLock = acquireWakeLock(fakeNwlName); in TEST_F()
1156 acquireWakeLock(fakeWlName1); in TEST_F()
1157 acquireWakeLock(fakeWlName2); in TEST_F()