Home
last modified time | relevance | path

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

12

/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_st_mock_test.cpp157 EXPECT_EQ(pms->IsUsed(token), true);
163 EXPECT_EQ(pms->IsUsed(token), false);
192 EXPECT_EQ(pms->IsUsed(token), true);
200 EXPECT_EQ(pms->IsUsed(token), false);
229 EXPECT_EQ(pms->IsUsed(token), true);
236 EXPECT_EQ(pms->IsUsed(token), false);
265 EXPECT_EQ(pms->IsUsed(token), false);
351 EXPECT_EQ(pms->IsUsed(token), true);
362 EXPECT_EQ(pms->IsUsed(token), false);
390 EXPECT_EQ(pms->IsUsed(token), true);
[all …]
Dpower_mgr_mock_system_test.cpp84 EXPECT_EQ(pms->IsUsed(token), true);
/base/powermgr/power_manager/services/native/test/unittest/src/
Drunning_lock_test.cpp46 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
48 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
51 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
134 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
136 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
138 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
144 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
147 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
150 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
207 ASSERT_TRUE(!runningLock1->IsUsed()) << "runningLock1->IsUsed() != false";
[all …]
Dpower_mgr_client_test.cpp340 EXPECT_EQ(runningLock->IsUsed(), true);
345 EXPECT_EQ(runningLock->IsUsed(), false);
366 EXPECT_EQ(runningLock->IsUsed(), true);
369 EXPECT_EQ(runningLock->IsUsed(), false);
392 EXPECT_EQ(runningLock->IsUsed(), true);
398 EXPECT_EQ(runningLock->IsUsed(), false);
420 EXPECT_EQ(runningLock->IsUsed(), true);
426 EXPECT_EQ(runningLock->IsUsed(), false);
450 EXPECT_EQ(runningLock->IsUsed(), true);
456 EXPECT_EQ(runningLock->IsUsed(), false);
[all …]
Dpower_mgr_mock_test.cpp927 EXPECT_EQ(pms->IsUsed(token), true);
933 EXPECT_EQ(pms->IsUsed(token), false);
962 EXPECT_EQ(pms->IsUsed(token), true);
970 EXPECT_EQ(pms->IsUsed(token), false);
1000 EXPECT_EQ(pms->IsUsed(token), true);
1007 EXPECT_EQ(pms->IsUsed(token), false);
1037 EXPECT_EQ(pms->IsUsed(token), false);
1767 EXPECT_EQ(pms->IsUsed(token), true);
1776 EXPECT_EQ(pms->IsUsed(token), false);
1806 EXPECT_EQ(pms->IsUsed(token), true);
[all …]
Dpower_mgr_service_test.cpp100 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != 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/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/frameworks/native/
Drunning_lock.cpp94 bool ret = proxy->IsUsed(token_); in CheckUsedNoLock()
100 bool RunningLock::IsUsed() in IsUsed() function in OHOS::PowerMgr::RunningLock
/base/web/webview/ohos_adapter/power_mgr_adapter/include/
Dpower_mgr_client_adapter_impl.h28 bool IsUsed() override;
/base/powermgr/power_manager/interfaces/innerkits/native/include/
Drunning_lock.h36 bool IsUsed();
Dipower_mgr.h75 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) = 0;
/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.cpp156 napi_value RunningLockInterface::IsUsed(napi_env env, napi_callback_info info) in IsUsed() function in OHOS::PowerMgr::RunningLockInterface
175 bool isUsed = entity->runningLock->IsUsed(); in IsUsed()
Drunninglock_napi.cpp112 bool isUsed = runningLock->IsUsed(); in IsHolding()
/base/powermgr/power_manager/services/native/test/unittest/src/mock/
Dpower_mock_object_test.cpp81 EXPECT_FALSE(sptrProxy->IsUsed(token));
158 EXPECT_FALSE(runningLock->IsUsed());
Dpower_mock_proxy_test.cpp73 EXPECT_FALSE(sptrProxy->IsUsed(token));
Dpower_mock_peer_test.cpp116 EXPECT_FALSE(sptrProxy->IsUsed(token));
Dpower_mock_parcel_test.cpp159 EXPECT_FALSE(sptrProxy->IsUsed(token));
/base/powermgr/power_manager/services/zidl/include/
Dpower_mgr_proxy.h56 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) override;
/base/powermgr/power_manager/services/native/include/
Drunning_lock_mgr.h74 bool IsUsed(const sptr<IRemoteObject>& remoteObj);
Dpower_mgr_service.h67 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) override;

12