Home
last modified time | relevance | path

Searched refs:IsUsed (Results 1 – 25 of 47) sorted by relevance

12

/ohos5.0/base/powermgr/power_manager/test/unittest/src/scenario_test/running_lock/
H A Drunning_lock_scenario_test.cpp56 EXPECT_TRUE(runningLock->IsUsed());
59 EXPECT_FALSE(runningLock->IsUsed());
83 EXPECT_TRUE(runningLock->IsUsed());
86 EXPECT_FALSE(runningLock->IsUsed());
89 EXPECT_TRUE(runningLock->IsUsed());
94 EXPECT_TRUE(runningLock->IsUsed());
124 EXPECT_TRUE(runningLock->IsUsed());
127 EXPECT_TRUE(runningLock->IsUsed());
130 EXPECT_TRUE(runningLock->IsUsed());
136 EXPECT_TRUE(runningLock->IsUsed());
[all …]
/ohos5.0/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Drunning_lock_test.cpp180 EXPECT_FALSE(runningLock->IsUsed());
202 EXPECT_TRUE(runningLock->IsUsed());
205 EXPECT_FALSE(runningLock->IsUsed());
208 EXPECT_TRUE(runningLock->IsUsed());
230 EXPECT_TRUE(runningLock->IsUsed());
233 EXPECT_FALSE(runningLock->IsUsed());
237 EXPECT_FALSE(runningLock->IsUsed());
423 EXPECT_FALSE(runningLock->IsUsed());
425 EXPECT_TRUE(runningLock->IsUsed());
449 EXPECT_FALSE(runningLock->IsUsed());
[all …]
H A Dpower_mgr_client_test.cpp362 EXPECT_EQ(runningLock->IsUsed(), true);
367 EXPECT_EQ(runningLock->IsUsed(), false);
391 EXPECT_EQ(runningLock->IsUsed(), true);
394 EXPECT_EQ(runningLock->IsUsed(), false);
420 EXPECT_EQ(runningLock->IsUsed(), true);
451 EXPECT_EQ(runningLock->IsUsed(), true);
482 EXPECT_EQ(runningLock->IsUsed(), true);
1205 ASSERT_TRUE(!testLock->IsUsed());
1207 ASSERT_TRUE(testLock->IsUsed());
1211 ASSERT_TRUE(!testLock->IsUsed());
[all …]
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Dpower_coordination_lock_test.cpp210 EXPECT_FALSE(runninglock->IsUsed());
217 EXPECT_TRUE(runninglock->IsUsed());
219 EXPECT_FALSE(runninglock->IsUsed());
223 EXPECT_TRUE(runninglock->IsUsed());
252 EXPECT_TRUE(runninglock->IsUsed());
257 EXPECT_TRUE(runninglock->IsUsed());
261 EXPECT_TRUE(runninglock->IsUsed());
290 EXPECT_TRUE(runninglock->IsUsed());
295 EXPECT_TRUE(runninglock->IsUsed());
327 EXPECT_TRUE(runninglock->IsUsed());
[all …]
H A Drunning_lock_timer_handler_test.cpp77 EXPECT_TRUE(!runningLock1->IsUsed());
78 EXPECT_TRUE(!runningLock2->IsUsed());
81 EXPECT_TRUE(!runningLock1->IsUsed());
82 EXPECT_TRUE(!runningLock2->IsUsed());
109 EXPECT_TRUE(!runningLock1->IsUsed());
110 EXPECT_TRUE(!runningLock2->IsUsed());
112 EXPECT_TRUE(!runningLock1->IsUsed());
113 EXPECT_TRUE(!runningLock2->IsUsed());
H A Drunning_lock_native_test.cpp71 EXPECT_FALSE(runningLockMgr->IsUsed(remoteObj));
77 EXPECT_TRUE(runningLockMgr->IsUsed(remoteObj));
79 EXPECT_FALSE(runningLockMgr->IsUsed(token));
375 runningLockMgr->IsUsed(remoteObject);
609 EXPECT_FALSE(runningLockMgr->IsUsed(remoteObj));
H A Dnative_power_state_machine_test.cpp330 EXPECT_EQ(pmsTest->IsUsed(token), true);
334 EXPECT_EQ(pmsTest->IsUsed(token), false);
337 EXPECT_EQ(pmsTest->IsUsed(token), false);
/ohos5.0/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_st_mock_test.cpp159 EXPECT_EQ(pms->IsUsed(token), true);
161 EXPECT_EQ(pms->IsUsed(token), false);
189 EXPECT_EQ(pms->IsUsed(token), true);
193 EXPECT_EQ(pms->IsUsed(token), false);
244 EXPECT_EQ(pms->IsUsed(token), true);
250 EXPECT_EQ(pms->IsUsed(token), false);
293 EXPECT_EQ(pms->IsUsed(token), true);
333 EXPECT_EQ(pms->IsUsed(token), true);
363 EXPECT_EQ(pms->IsUsed(token), true);
392 EXPECT_EQ(pms->IsUsed(token), true);
[all …]
H A Dpower_mgr_st_suspend_test.cpp104 EXPECT_EQ(pms->IsUsed(token), true);
108 EXPECT_EQ(pms->IsUsed(token), false);
137 EXPECT_EQ(pms->IsUsed(token), true);
147 EXPECT_EQ(pms->IsUsed(token), false);
H A Dpower_mgr_mock_system_test.cpp84 EXPECT_EQ(pms->IsUsed(token), true);
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_running_lock_adapter_wrapper.cpp22 bool ArkRunningLockAdapterWrapper::IsUsed() in IsUsed() function in OHOS::ArkWeb::ArkRunningLockAdapterWrapper
24 return ctocpp_->IsUsed(); in IsUsed()
H A Dark_running_lock_adapter_wrapper.h29 bool IsUsed() override;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_running_lock_adapter_impl.cpp25 bool ArkRunningLockAdapterImpl::IsUsed() in IsUsed() function in OHOS::ArkWeb::ArkRunningLockAdapterImpl
27 return real_->IsUsed(); in IsUsed()
H A Dark_running_lock_adapter_impl.h29 bool IsUsed() override;
/ohos5.0/base/web/webview/ohos_adapter/power_mgr_adapter/src/
H A Dpower_mgr_client_adapter_impl.cpp49 bool RunningLockAdapterImpl::IsUsed() in IsUsed() function in OHOS::NWeb::RunningLockAdapterImpl
52 return lock_->IsUsed(); in IsUsed()
/ohos5.0/base/web/webview/test/unittest/power_mgr_client_adapter_impl_test/
H A Dpower_mgr_client_adapter_impl_test.cpp59 EXPECT_FALSE(runLockAdapter->IsUsed());
81 EXPECT_FALSE(runLockAdapter->IsUsed());
/ohos5.0/base/powermgr/power_manager/frameworks/native/
H A Drunning_lock.cpp133 bool RunningLock::IsUsed() in IsUsed() function in OHOS::PowerMgr::RunningLock
140 bool ret = proxy->IsUsed(token_); in IsUsed()
/ohos5.0/base/powermgr/power_manager/test/unittest/src/servicetest/
H A Dpowermgr_service_native_test.cpp301 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true);
306 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false);
334 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true);
340 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false);
368 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true);
374 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false);
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/isused_fuzzer/
H A Disused_fuzzer.cpp33 runningLockAdapter.IsUsed(); in IsUsedFuzzTest()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_power_mgr_client_adapter.h29 virtual bool IsUsed() = 0;
/ohos5.0/base/powermgr/power_manager/test/unittest/src/mock/
H A Dpower_mock_object_test.cpp77 EXPECT_FALSE(sptrProxy->IsUsed(token));
131 EXPECT_FALSE(sptrProxy->IsUsed(token));
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dpower_mgr_client_adapter.h31 virtual bool IsUsed() = 0;
/ohos5.0/base/web/webview/ohos_adapter/power_mgr_adapter/include/
H A Dpower_mgr_client_adapter_impl.h28 bool IsUsed() override;
/ohos5.0/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Drunning_lock.h37 bool IsUsed();
/ohos5.0/base/powermgr/power_manager/frameworks/napi/runninglock/
H A Drunninglock_interface.h47 static napi_value IsUsed(napi_env env, napi_callback_info info);

12