/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_st_mock_test.cpp | 157 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 …]
|
D | power_mgr_mock_system_test.cpp | 84 EXPECT_EQ(pms->IsUsed(token), true);
|
/base/powermgr/power_manager/services/native/test/unittest/src/ |
D | running_lock_test.cpp | 46 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 …]
|
D | power_mgr_client_test.cpp | 340 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 …]
|
D | power_mgr_mock_test.cpp | 927 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 …]
|
D | power_mgr_service_test.cpp | 100 ASSERT_TRUE(runningLock1->IsUsed()) << "runningLock1->IsUsed() != true";
|
/base/web/webview/ohos_adapter/power_mgr_adapter/src/ |
D | power_mgr_client_adapter_impl.cpp | 49 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/ |
D | power_mgr_client_adapter_impl_test.cpp | 59 EXPECT_FALSE(runLockAdapter->IsUsed()); 81 EXPECT_FALSE(runLockAdapter->IsUsed());
|
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/isused_fuzzer/ |
D | isused_fuzzer.cpp | 33 runningLockAdapter.IsUsed(); in DoSomethingInterestingWithMyAPI()
|
/base/web/webview/ohos_adapter/interfaces/ |
D | power_mgr_client_adapter.h | 35 virtual bool IsUsed() = 0;
|
/base/powermgr/power_manager/frameworks/native/ |
D | running_lock.cpp | 94 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/ |
D | power_mgr_client_adapter_impl.h | 28 bool IsUsed() override;
|
/base/powermgr/power_manager/interfaces/innerkits/native/include/ |
D | running_lock.h | 36 bool IsUsed();
|
D | ipower_mgr.h | 75 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) = 0;
|
/base/powermgr/power_manager/frameworks/napi/runninglock/ |
D | runninglock_interface.h | 47 static napi_value IsUsed(napi_env env, napi_callback_info info);
|
D | runninglock_module.cpp | 61 DECLARE_NAPI_FUNCTION("isUsed", RunningLockInterface::IsUsed), in CreateRunningLockClass()
|
D | runninglock_interface.cpp | 156 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()
|
D | runninglock_napi.cpp | 112 bool isUsed = runningLock->IsUsed(); in IsHolding()
|
/base/powermgr/power_manager/services/native/test/unittest/src/mock/ |
D | power_mock_object_test.cpp | 81 EXPECT_FALSE(sptrProxy->IsUsed(token)); 158 EXPECT_FALSE(runningLock->IsUsed());
|
D | power_mock_proxy_test.cpp | 73 EXPECT_FALSE(sptrProxy->IsUsed(token));
|
D | power_mock_peer_test.cpp | 116 EXPECT_FALSE(sptrProxy->IsUsed(token));
|
D | power_mock_parcel_test.cpp | 159 EXPECT_FALSE(sptrProxy->IsUsed(token));
|
/base/powermgr/power_manager/services/zidl/include/ |
D | power_mgr_proxy.h | 56 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) override;
|
/base/powermgr/power_manager/services/native/include/ |
D | running_lock_mgr.h | 74 bool IsUsed(const sptr<IRemoteObject>& remoteObj);
|
D | power_mgr_service.h | 67 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) override;
|