Home
last modified time | relevance | path

Searched refs:IsUsed (Results 1 - 25 of 48) sorted by relevance

12

/base/powermgr/power_manager/test/unittest/src/scenario_test/running_lock/
H A Drunning_lock_scenario_test.cpp56 EXPECT_TRUE(runningLock->IsUsed()); in HWTEST_F()
59 EXPECT_FALSE(runningLock->IsUsed()); in HWTEST_F()
83 EXPECT_TRUE(runningLock->IsUsed()); in HWTEST_F()
86 EXPECT_FALSE(runningLock->IsUsed()); in HWTEST_F()
89 EXPECT_TRUE(runningLock->IsUsed()); in HWTEST_F()
94 EXPECT_TRUE(runningLock->IsUsed()); in HWTEST_F()
97 EXPECT_FALSE(runningLock->IsUsed()); in HWTEST_F()
124 EXPECT_TRUE(runningLock->IsUsed()); in HWTEST_F()
127 EXPECT_TRUE(runningLock->IsUsed()); in HWTEST_F()
130 EXPECT_TRUE(runningLock->IsUsed()); in HWTEST_F()
[all...]
/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Drunning_lock_test.cpp49 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false"; in HWTEST_F()
51 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true"; in HWTEST_F()
54 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false"; in HWTEST_F()
69 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false"; in HWTEST_F()
71 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() ! in HWTEST_F()
[all...]
H A Dpower_mgr_client_test.cpp361 EXPECT_EQ(runningLock->IsUsed(), true); in HWTEST_F()
366 EXPECT_EQ(runningLock->IsUsed(), false); in HWTEST_F()
390 EXPECT_EQ(runningLock->IsUsed(), true); in HWTEST_F()
393 EXPECT_EQ(runningLock->IsUsed(), false); in HWTEST_F()
419 EXPECT_EQ(runningLock->IsUsed(), true); in HWTEST_F()
425 EXPECT_EQ(runningLock->IsUsed(), false); in HWTEST_F()
450 EXPECT_EQ(runningLock->IsUsed(), true); in HWTEST_F()
456 EXPECT_EQ(runningLock->IsUsed(), false); in HWTEST_F()
481 EXPECT_EQ(runningLock->IsUsed(), true); in HWTEST_F()
487 EXPECT_EQ(runningLock->IsUsed(), fals in HWTEST_F()
[all...]
/base/powermgr/power_manager/test/unittest/src/
H A Dpower_coordination_lock_test.cpp209 EXPECT_FALSE(runninglock->IsUsed()); in HWTEST_F()
216 EXPECT_TRUE(runninglock->IsUsed()); in HWTEST_F()
218 EXPECT_FALSE(runninglock->IsUsed()); in HWTEST_F()
222 EXPECT_TRUE(runninglock->IsUsed()); in HWTEST_F()
225 EXPECT_FALSE(runninglock->IsUsed()); in HWTEST_F()
251 EXPECT_TRUE(runninglock->IsUsed()); in HWTEST_F()
256 EXPECT_TRUE(runninglock->IsUsed()); in HWTEST_F()
258 EXPECT_FALSE(runninglock->IsUsed()); in HWTEST_F()
260 EXPECT_TRUE(runninglock->IsUsed()); in HWTEST_F()
289 EXPECT_TRUE(runninglock->IsUsed()); in HWTEST_F()
[all...]
H A Drunning_lock_timer_handler_test.cpp81 EXPECT_TRUE(!runningLock1->IsUsed()); in HWTEST_F()
82 EXPECT_TRUE(!runningLock2->IsUsed()); in HWTEST_F()
85 EXPECT_TRUE(!runningLock1->IsUsed()); in HWTEST_F()
86 EXPECT_TRUE(!runningLock2->IsUsed()); in HWTEST_F()
115 EXPECT_TRUE(!runningLock1->IsUsed()); in HWTEST_F()
116 EXPECT_TRUE(!runningLock2->IsUsed()); in HWTEST_F()
118 EXPECT_TRUE(!runningLock1->IsUsed()); in HWTEST_F()
119 EXPECT_TRUE(!runningLock2->IsUsed()); in HWTEST_F()
/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;
/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;
/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_st_mock_test.cpp160 EXPECT_EQ(pms->IsUsed(token), true); in HWTEST_F()
162 EXPECT_EQ(pms->IsUsed(token), false); in HWTEST_F()
190 EXPECT_EQ(pms->IsUsed(token), true); in HWTEST_F()
194 EXPECT_EQ(pms->IsUsed(token), false); in HWTEST_F()
245 EXPECT_EQ(pms->IsUsed(token), true); in HWTEST_F()
251 EXPECT_EQ(pms->IsUsed(token), false); in HWTEST_F()
294 EXPECT_EQ(pms->IsUsed(token), true); in HWTEST_F()
297 EXPECT_EQ(pms->IsUsed(token), false); in HWTEST_F()
334 EXPECT_EQ(pms->IsUsed(token), true); in HWTEST_F()
336 EXPECT_EQ(pms->IsUsed(toke in HWTEST_F()
[all...]
H A Dpower_mgr_st_suspend_test.cpp104 EXPECT_EQ(pms->IsUsed(token), true); in HWTEST_F()
108 EXPECT_EQ(pms->IsUsed(token), false); in HWTEST_F()
137 EXPECT_EQ(pms->IsUsed(token), true); in HWTEST_F()
147 EXPECT_EQ(pms->IsUsed(token), false); in HWTEST_F()
H A Dpower_mgr_mock_system_test.cpp85 EXPECT_EQ(pms->IsUsed(token), true); in HWTEST_F()
/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()
/base/web/webview/test/unittest/power_mgr_client_adapter_impl_test/
H A Dpower_mgr_client_adapter_impl_test.cpp59 EXPECT_FALSE(runLockAdapter->IsUsed()); in HWTEST_F()
81 EXPECT_FALSE(runLockAdapter->IsUsed()); in HWTEST_F()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_power_mgr_client_adapter.h29 virtual bool IsUsed() = 0;
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/isused_fuzzer/
H A Disused_fuzzer.cpp33 runningLockAdapter.IsUsed(); in IsUsedFuzzTest()
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dpower_mgr_client_adapter.h31 virtual bool IsUsed() = 0;
/base/web/webview/ohos_adapter/power_mgr_adapter/include/
H A Dpower_mgr_client_adapter_impl.h28 bool IsUsed() override;
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Drunning_lock.h37 bool IsUsed();
/base/powermgr/power_manager/frameworks/napi/runninglock/
H A Drunninglock_interface.h47 static napi_value IsUsed(napi_env env, napi_callback_info info);
H A Drunninglock_module.cpp61 DECLARE_NAPI_FUNCTION("isUsed", RunningLockInterface::IsUsed), in CreateRunningLockClass()
/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()
/base/powermgr/power_manager/frameworks/cj/runninglock/src/
H A Dcj_running_lock_ffi.cpp47 bool result = runningLock->IsUsed(); in FfiOHOSRunningLockIsHolding()
/base/powermgr/power_manager/test/unittest/src/mock/
H A Dpower_mock_object_test.cpp77 EXPECT_FALSE(sptrProxy->IsUsed(token)); in HWTEST_F()
131 EXPECT_FALSE(sptrProxy->IsUsed(token)); in HWTEST_F()
/base/powermgr/power_manager/test/unittest/src/servicetest/
H A Dpowermgr_service_native_test.cpp301 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true); in HWTEST_F()
306 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false); in HWTEST_F()
334 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true); in HWTEST_F()
340 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false); in HWTEST_F()
368 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true); in HWTEST_F()
374 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false); in HWTEST_F()

Completed in 9 milliseconds

12