/ohos5.0/base/powermgr/power_manager/test/unittest/src/scenario_test/running_lock/ |
H A D | running_lock_scenario_test.cpp | 56 EXPECT_TRUE(runningLock->IsUsed()); 59 EXPECT_FALSE(runningLock->IsUsed()); 83 EXPECT_TRUE(runningLock->IsUsed()); 86 EXPECT_FALSE(runningLock->IsUsed()); 89 EXPECT_TRUE(runningLock->IsUsed()); 94 EXPECT_TRUE(runningLock->IsUsed()); 124 EXPECT_TRUE(runningLock->IsUsed()); 127 EXPECT_TRUE(runningLock->IsUsed()); 130 EXPECT_TRUE(runningLock->IsUsed()); 136 EXPECT_TRUE(runningLock->IsUsed()); [all …]
|
/ohos5.0/base/powermgr/power_manager/test/unittest/src/interface_test/ |
H A D | running_lock_test.cpp | 180 EXPECT_FALSE(runningLock->IsUsed()); 202 EXPECT_TRUE(runningLock->IsUsed()); 205 EXPECT_FALSE(runningLock->IsUsed()); 208 EXPECT_TRUE(runningLock->IsUsed()); 230 EXPECT_TRUE(runningLock->IsUsed()); 233 EXPECT_FALSE(runningLock->IsUsed()); 237 EXPECT_FALSE(runningLock->IsUsed()); 423 EXPECT_FALSE(runningLock->IsUsed()); 425 EXPECT_TRUE(runningLock->IsUsed()); 449 EXPECT_FALSE(runningLock->IsUsed()); [all …]
|
H A D | power_mgr_client_test.cpp | 362 EXPECT_EQ(runningLock->IsUsed(), true); 367 EXPECT_EQ(runningLock->IsUsed(), false); 391 EXPECT_EQ(runningLock->IsUsed(), true); 394 EXPECT_EQ(runningLock->IsUsed(), false); 420 EXPECT_EQ(runningLock->IsUsed(), true); 451 EXPECT_EQ(runningLock->IsUsed(), true); 482 EXPECT_EQ(runningLock->IsUsed(), true); 1205 ASSERT_TRUE(!testLock->IsUsed()); 1207 ASSERT_TRUE(testLock->IsUsed()); 1211 ASSERT_TRUE(!testLock->IsUsed()); [all …]
|
/ohos5.0/base/powermgr/power_manager/test/unittest/src/ |
H A D | power_coordination_lock_test.cpp | 210 EXPECT_FALSE(runninglock->IsUsed()); 217 EXPECT_TRUE(runninglock->IsUsed()); 219 EXPECT_FALSE(runninglock->IsUsed()); 223 EXPECT_TRUE(runninglock->IsUsed()); 252 EXPECT_TRUE(runninglock->IsUsed()); 257 EXPECT_TRUE(runninglock->IsUsed()); 261 EXPECT_TRUE(runninglock->IsUsed()); 290 EXPECT_TRUE(runninglock->IsUsed()); 295 EXPECT_TRUE(runninglock->IsUsed()); 327 EXPECT_TRUE(runninglock->IsUsed()); [all …]
|
H A D | running_lock_timer_handler_test.cpp | 77 EXPECT_TRUE(!runningLock1->IsUsed()); 78 EXPECT_TRUE(!runningLock2->IsUsed()); 81 EXPECT_TRUE(!runningLock1->IsUsed()); 82 EXPECT_TRUE(!runningLock2->IsUsed()); 109 EXPECT_TRUE(!runningLock1->IsUsed()); 110 EXPECT_TRUE(!runningLock2->IsUsed()); 112 EXPECT_TRUE(!runningLock1->IsUsed()); 113 EXPECT_TRUE(!runningLock2->IsUsed());
|
H A D | running_lock_native_test.cpp | 71 EXPECT_FALSE(runningLockMgr->IsUsed(remoteObj)); 77 EXPECT_TRUE(runningLockMgr->IsUsed(remoteObj)); 79 EXPECT_FALSE(runningLockMgr->IsUsed(token)); 375 runningLockMgr->IsUsed(remoteObject); 609 EXPECT_FALSE(runningLockMgr->IsUsed(remoteObj));
|
H A D | native_power_state_machine_test.cpp | 330 EXPECT_EQ(pmsTest->IsUsed(token), true); 334 EXPECT_EQ(pmsTest->IsUsed(token), false); 337 EXPECT_EQ(pmsTest->IsUsed(token), false);
|
/ohos5.0/base/powermgr/power_manager/test/systemtest/src/ |
H A D | power_mgr_st_mock_test.cpp | 159 EXPECT_EQ(pms->IsUsed(token), true); 161 EXPECT_EQ(pms->IsUsed(token), false); 189 EXPECT_EQ(pms->IsUsed(token), true); 193 EXPECT_EQ(pms->IsUsed(token), false); 244 EXPECT_EQ(pms->IsUsed(token), true); 250 EXPECT_EQ(pms->IsUsed(token), false); 293 EXPECT_EQ(pms->IsUsed(token), true); 333 EXPECT_EQ(pms->IsUsed(token), true); 363 EXPECT_EQ(pms->IsUsed(token), true); 392 EXPECT_EQ(pms->IsUsed(token), true); [all …]
|
H A D | power_mgr_st_suspend_test.cpp | 104 EXPECT_EQ(pms->IsUsed(token), true); 108 EXPECT_EQ(pms->IsUsed(token), false); 137 EXPECT_EQ(pms->IsUsed(token), true); 147 EXPECT_EQ(pms->IsUsed(token), false);
|
H A D | power_mgr_mock_system_test.cpp | 84 EXPECT_EQ(pms->IsUsed(token), true);
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_running_lock_adapter_wrapper.cpp | 22 bool ArkRunningLockAdapterWrapper::IsUsed() in IsUsed() function in OHOS::ArkWeb::ArkRunningLockAdapterWrapper 24 return ctocpp_->IsUsed(); in IsUsed()
|
H A D | ark_running_lock_adapter_wrapper.h | 29 bool IsUsed() override;
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_running_lock_adapter_impl.cpp | 25 bool ArkRunningLockAdapterImpl::IsUsed() in IsUsed() function in OHOS::ArkWeb::ArkRunningLockAdapterImpl 27 return real_->IsUsed(); in IsUsed()
|
H A D | ark_running_lock_adapter_impl.h | 29 bool IsUsed() override;
|
/ohos5.0/base/web/webview/ohos_adapter/power_mgr_adapter/src/ |
H A D | power_mgr_client_adapter_impl.cpp | 49 bool RunningLockAdapterImpl::IsUsed() in IsUsed() function in OHOS::NWeb::RunningLockAdapterImpl 52 return lock_->IsUsed(); in IsUsed()
|
/ohos5.0/base/web/webview/test/unittest/power_mgr_client_adapter_impl_test/ |
H A D | power_mgr_client_adapter_impl_test.cpp | 59 EXPECT_FALSE(runLockAdapter->IsUsed()); 81 EXPECT_FALSE(runLockAdapter->IsUsed());
|
/ohos5.0/base/powermgr/power_manager/frameworks/native/ |
H A D | running_lock.cpp | 133 bool RunningLock::IsUsed() in IsUsed() function in OHOS::PowerMgr::RunningLock 140 bool ret = proxy->IsUsed(token_); in IsUsed()
|
/ohos5.0/base/powermgr/power_manager/test/unittest/src/servicetest/ |
H A D | powermgr_service_native_test.cpp | 301 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true); 306 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false); 334 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true); 340 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false); 368 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), true); 374 EXPECT_EQ(g_powerMgrServiceProxy->IsUsed(token), false);
|
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/isused_fuzzer/ |
H A D | isused_fuzzer.cpp | 33 runningLockAdapter.IsUsed(); in IsUsedFuzzTest()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_power_mgr_client_adapter.h | 29 virtual bool IsUsed() = 0;
|
/ohos5.0/base/powermgr/power_manager/test/unittest/src/mock/ |
H A D | power_mock_object_test.cpp | 77 EXPECT_FALSE(sptrProxy->IsUsed(token)); 131 EXPECT_FALSE(sptrProxy->IsUsed(token));
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | power_mgr_client_adapter.h | 31 virtual bool IsUsed() = 0;
|
/ohos5.0/base/web/webview/ohos_adapter/power_mgr_adapter/include/ |
H A D | power_mgr_client_adapter_impl.h | 28 bool IsUsed() override;
|
/ohos5.0/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
H A D | running_lock.h | 37 bool IsUsed();
|
/ohos5.0/base/powermgr/power_manager/frameworks/napi/runninglock/ |
H A D | runninglock_interface.h | 47 static napi_value IsUsed(napi_env env, napi_callback_info info);
|