Lines Matching refs:acquireWakeLock
164 sp<IWakeLock> acquireWakeLock(const std::string& name = "TestLock") { in acquireWakeLock() function in android::SystemSuspendTest
165 return suspendService->acquireWakeLock(WakeLockType::PARTIAL, name); in acquireWakeLock()
213 sp<IWakeLock> wl = acquireWakeLock(); in TEST_F()
223 sp<IWakeLock> wl = acquireWakeLock(); in TEST_F()
234 sp<IWakeLock> wl1 = acquireWakeLock(); in TEST_F()
239 sp<IWakeLock> wl2 = acquireWakeLock(); in TEST_F()
251 sp<IWakeLock> wl = acquireWakeLock(); in TEST_F()
265 sp<IWakeLock> wl = acquireWakeLock(); in TEST_F()
287 sp<IWakeLock> wl1 = acquireWakeLock(); in TEST_F()
288 sp<IWakeLock> wl2 = acquireWakeLock(); in TEST_F()
389 sp<IWakeLock> acquireWakeLock(const std::string& name = "TestLock") { in acquireWakeLock() function in android::SystemSuspendSameThreadTest
390 return suspendService->acquireWakeLock(WakeLockType::PARTIAL, name); in acquireWakeLock()
602 sp<IWakeLock> fakeLock = acquireWakeLock(fakeWlName); in TEST_F()
700 sp<IWakeLock> fakeLock = acquireWakeLock(fakeNwlName); in TEST_F()
788 acquireWakeLock(fakeWlName1); in TEST_F()
789 acquireWakeLock(fakeWlName2); in TEST_F()