Home
last modified time | relevance | path

Searched refs:runningLockParam (Results 1 – 7 of 7) sorted by relevance

/base/powermgr/power_manager/services/native/src/
Drunning_lock_inner.cpp24 RunningLockInner::RunningLockInner(const RunningLockParam& runningLockParam) in RunningLockInner() argument
26 runningLockParam_ = runningLockParam; in RunningLockInner()
30 …unningLockInner> RunningLockInner::CreateRunningLockInner(const RunningLockParam& runningLockParam) in CreateRunningLockInner() argument
32 …ared_ptr<RunningLockInner> runningLockInner = std::make_shared<RunningLockInner>(runningLockParam); in CreateRunningLockInner()
37 …POWER_HILOGI(FEATURE_RUNNING_LOCK, "name: %{public}s, type: %{public}d", runningLockParam.name.c_s… in CreateRunningLockInner()
38 runningLockParam.type); in CreateRunningLockInner()
Drunning_lock_mgr.cpp198 const RunningLockParam& runningLockParam) in CreateRunningLock() argument
200 auto lockInner = RunningLockInner::CreateRunningLockInner(runningLockParam); in CreateRunningLock()
205 runningLockParam.name.c_str(), runningLockParam.type); in CreateRunningLock()
Dpower_mgr_service.cpp575 RunningLockParam runningLockParam = FillRunningLockParam(runningLockInfo); in CreateRunningLock() local
576 runningLockMgr_->CreateRunningLock(remoteObj, runningLockParam); in CreateRunningLock()
/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_native_test.cpp64 RunningLockParam runningLockParam { variable
66 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr);
107 RunningLockParam runningLockParam { variable
109 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr);
157 RunningLockParam runningLockParam { variable
160 EXPECT_TRUE(runningLockMgr->CreateRunningLock(token, runningLockParam) != nullptr);
189 RunningLockParam runningLockParam { variable
192 EXPECT_TRUE(runningLockMgr->CreateRunningLock(token, runningLockParam) != nullptr);
226 RunningLockParam runningLockParam { variable
228 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr);
[all …]
Dpower_mgr_service_native_test.cpp60 RunningLockParam runningLockParam { in SetUp() local
62 EXPECT_TRUE(runningLockMgr->CreateRunningLock(remoteObj, runningLockParam) != nullptr); in SetUp()
/base/powermgr/power_manager/services/native/include/
Drunning_lock_inner.h36 RunningLockInner(const RunningLockParam& runningLockParam);
39 …std::shared_ptr<RunningLockInner> CreateRunningLockInner(const RunningLockParam& runningLockParam);
Drunning_lock_mgr.h46 const RunningLockParam& runningLockParam);