Home
last modified time | relevance | path

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

/system/bt/gd/os/android/
Dwakelock_native_test.cc45 static const std::string kTestWakelockName = "BtWakelockNativeTestLock"; variable
149 … control_service_->registerWakelockCallback(control_callback, kTestWakelockName, &is_registered); in SetUp()
172 auto status = WakelockNative::Get().Acquire(kTestWakelockName); in TEST_F()
179 auto status = WakelockNative::Get().Release(kTestWakelockName); in TEST_F()
190 auto status = WakelockNative::Get().Acquire(kTestWakelockName); in TEST_F()
197 auto status = WakelockNative::Get().Acquire(kTestWakelockName); in TEST_F()
204 auto status = WakelockNative::Get().Release(kTestWakelockName); in TEST_F()
215 auto status = WakelockNative::Get().Acquire(kTestWakelockName); in TEST_F()
222 auto status = WakelockNative::Get().Release(kTestWakelockName); in TEST_F()
229 auto status = WakelockNative::Get().Release(kTestWakelockName); in TEST_F()
[all …]
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspendAidlTest.cpp31 static const std::string kTestWakelockName("test_lock"); variable
85 kTestWakelockName, &isRegistered); in TEST_F()
95 suspendControlService->registerWakelockCallback(callback, kTestWakelockName, &isRegistered); in TEST_F()
101 suspendControlService->registerWakelockCallback(callback, kTestWakelockName, &isRegistered); in TEST_F()
111 suspendControlService->registerWakelockCallback(callback, kTestWakelockName, &isRegistered); in TEST_F()
127 Status ret = suspendControlService->registerWakelockCallback(callback1, kTestWakelockName, in TEST_F()
133 ret = suspendControlService->registerWakelockCallback(callback2, kTestWakelockName, in TEST_F()