Home
last modified time | relevance | path

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

12

/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_test.cpp45 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
47 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
50 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
64 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
66 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
68 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
74 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
77 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
80 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
96 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
[all …]
Dpower_mgr_client_test.cpp341 EXPECT_EQ(runningLock->IsUsed(), true);
346 EXPECT_EQ(runningLock->IsUsed(), false);
367 EXPECT_EQ(runningLock->IsUsed(), true);
370 EXPECT_EQ(runningLock->IsUsed(), false);
393 EXPECT_EQ(runningLock->IsUsed(), true);
399 EXPECT_EQ(runningLock->IsUsed(), false);
421 EXPECT_EQ(runningLock->IsUsed(), true);
427 EXPECT_EQ(runningLock->IsUsed(), false);
451 EXPECT_EQ(runningLock->IsUsed(), true);
457 EXPECT_EQ(runningLock->IsUsed(), false);
Dnative_power_state_machine_test.cpp301 EXPECT_EQ(pmsTest->IsUsed(token), true);
306 EXPECT_EQ(pmsTest->IsUsed(token), false);
309 EXPECT_EQ(pmsTest->IsUsed(token), false);
Drunning_lock_native_test.cpp67 EXPECT_FALSE(runningLockMgr->IsUsed(remoteObj));
73 EXPECT_TRUE(runningLockMgr->IsUsed(remoteObj));
75 EXPECT_FALSE(runningLockMgr->IsUsed(token));
417 runningLockMgr->IsUsed(remoteObject);
/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_st_mock_test.cpp160 EXPECT_EQ(pms->IsUsed(token), true);
162 EXPECT_EQ(pms->IsUsed(token), false);
197 EXPECT_EQ(pms->IsUsed(token), true);
208 EXPECT_EQ(pms->IsUsed(token), false);
263 EXPECT_EQ(pms->IsUsed(token), true);
270 EXPECT_EQ(pms->IsUsed(token), false);
313 EXPECT_EQ(pms->IsUsed(token), true);
317 EXPECT_EQ(pms->IsUsed(token), false);
355 EXPECT_EQ(pms->IsUsed(token), true);
358 EXPECT_EQ(pms->IsUsed(token), false);
[all …]
Dpower_mgr_st_suspend_test.cpp101 EXPECT_EQ(pms->IsUsed(token), true);
105 EXPECT_EQ(pms->IsUsed(token), false);
133 EXPECT_EQ(pms->IsUsed(token), true);
143 EXPECT_EQ(pms->IsUsed(token), false);
168 EXPECT_EQ(pms->IsUsed(token), true);
Dpower_mgr_mock_system_test.cpp84 EXPECT_EQ(pms->IsUsed(token), true);
/base/web/webview/ohos_adapter/power_mgr_adapter/src/
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/
Dpower_mgr_client_adapter_impl_test.cpp59 EXPECT_FALSE(runLockAdapter->IsUsed());
81 EXPECT_FALSE(runLockAdapter->IsUsed());
/base/powermgr/power_manager/frameworks/native/
Drunning_lock.cpp91 bool ret = proxy->IsUsed(token_); in CheckUsedNoLock()
97 bool RunningLock::IsUsed() in IsUsed() function in OHOS::PowerMgr::RunningLock
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/isused_fuzzer/
Disused_fuzzer.cpp33 runningLockAdapter.IsUsed(); in DoSomethingInterestingWithMyAPI()
/base/web/webview/ohos_adapter/interfaces/
Dpower_mgr_client_adapter.h35 virtual bool IsUsed() = 0;
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Drunning_lock.h36 bool IsUsed();
Dipower_mgr.h42 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) = 0;
/base/web/webview/ohos_adapter/power_mgr_adapter/include/
Dpower_mgr_client_adapter_impl.h28 bool IsUsed() override;
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.h47 static napi_value IsUsed(napi_env env, napi_callback_info info);
Drunninglock_module.cpp61 DECLARE_NAPI_FUNCTION("isUsed", RunningLockInterface::IsUsed), in CreateRunningLockClass()
Drunninglock_interface.cpp162 napi_value RunningLockInterface::IsUsed(napi_env env, napi_callback_info info) in IsUsed() function in OHOS::PowerMgr::RunningLockInterface
181 bool isUsed = entity->runningLock->IsUsed(); in IsUsed()
/base/powermgr/power_manager/test/unittest/src/servicetest/
Dpowermgr_service_native_test.cpp283 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true);
288 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false);
314 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true);
320 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false);
346 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true);
352 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false);
/base/powermgr/power_manager/test/unittest/include/servicetest/
Dpowermgr_service_test_proxy.h50 bool IsUsed(const sptr<IRemoteObject>& remoteObj);
/base/powermgr/power_manager/test/unittest/src/mock/
Dpower_mock_object_test.cpp71 EXPECT_FALSE(sptrProxy->IsUsed(token));
Dpower_mock_proxy_test.cpp66 EXPECT_FALSE(sptrProxy->IsUsed(token));
Dpower_mock_peer_test.cpp102 EXPECT_FALSE(sptrProxy->IsUsed(token));
/base/powermgr/power_manager/services/zidl/include/
Dpower_mgr_proxy.h55 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) override;
/base/powermgr/power_manager/test/unittest/src/servicetest/mock/
Dpowermgr_service_mock_parcel_test.cpp86 EXPECT_FALSE(g_powerMgrServiceProxy->IsUsed(token));

12