/base/powermgr/power_manager/test/unittest/src/ |
D | running_lock_test.cpp | 45 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 …]
|
D | power_mgr_client_test.cpp | 341 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);
|
D | native_power_state_machine_test.cpp | 301 EXPECT_EQ(pmsTest->IsUsed(token), true); 306 EXPECT_EQ(pmsTest->IsUsed(token), false); 309 EXPECT_EQ(pmsTest->IsUsed(token), false);
|
D | running_lock_native_test.cpp | 67 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/ |
D | power_mgr_st_mock_test.cpp | 160 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 …]
|
D | power_mgr_st_suspend_test.cpp | 101 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);
|
D | power_mgr_mock_system_test.cpp | 84 EXPECT_EQ(pms->IsUsed(token), 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/powermgr/power_manager/frameworks/native/ |
D | running_lock.cpp | 91 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/ |
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/interfaces/inner_api/native/include/ |
D | running_lock.h | 36 bool IsUsed();
|
D | ipower_mgr.h | 42 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) = 0;
|
/base/web/webview/ohos_adapter/power_mgr_adapter/include/ |
D | power_mgr_client_adapter_impl.h | 28 bool IsUsed() override;
|
/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 | 162 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/ |
D | powermgr_service_native_test.cpp | 283 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/ |
D | powermgr_service_test_proxy.h | 50 bool IsUsed(const sptr<IRemoteObject>& remoteObj);
|
/base/powermgr/power_manager/test/unittest/src/mock/ |
D | power_mock_object_test.cpp | 71 EXPECT_FALSE(sptrProxy->IsUsed(token));
|
D | power_mock_proxy_test.cpp | 66 EXPECT_FALSE(sptrProxy->IsUsed(token));
|
D | power_mock_peer_test.cpp | 102 EXPECT_FALSE(sptrProxy->IsUsed(token));
|
/base/powermgr/power_manager/services/zidl/include/ |
D | power_mgr_proxy.h | 55 virtual bool IsUsed(const sptr<IRemoteObject>& remoteObj) override;
|
/base/powermgr/power_manager/test/unittest/src/servicetest/mock/ |
D | powermgr_service_mock_parcel_test.cpp | 86 EXPECT_FALSE(g_powerMgrServiceProxy->IsUsed(token));
|