Home
last modified time | relevance | path

Searched refs:runningLockMgr_ (Results 1 – 4 of 4) sorted by relevance

/base/powermgr/power_manager/test/unittest/include/
Drunning_lock_test.h36 auto lockMap = runningLockMgr_->GetRunningLockMap(); in TestRunningLockInnerExisit()
47 auto lockMap = runningLockMgr_->GetRunningLockMap(); in TestRunningLockInnerNoExisit()
57 static std::shared_ptr<RunningLockMgr> runningLockMgr_; variable
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp91 if (!runningLockMgr_) { in Init()
92 runningLockMgr_ = std::make_shared<RunningLockMgr>(pms); in Init()
94 if (!runningLockMgr_->Init()) { in Init()
363 runningLockMgr_->ResetRunningLocks(); in OnRemoveSystemAbility()
576 runningLockMgr_->CreateRunningLock(remoteObj, runningLockParam); in CreateRunningLock()
588 result = runningLockMgr_->ReleaseLock(remoteObj); in ReleaseRunningLock()
616 runningLockMgr_->Lock(remoteObj, timeOutMS); in Lock()
626 runningLockMgr_->UnLock(remoteObj); in UnLock()
633 runningLockMgr_->UnLock(remoteObj); in ForceUnLock()
634 runningLockMgr_->ReleaseLock(remoteObj); in ForceUnLock()
[all …]
/base/powermgr/power_manager/services/native/include/
Dpower_mgr_service.h102 return runningLockMgr_; in GetRunningLockMgr()
144 runningLockMgr_->EnableMock(lockAction); in EnableMock()
151 runningLockMgr_->SetProximity(status); in MockProximity()
208 std::shared_ptr<RunningLockMgr> runningLockMgr_; variable
/base/powermgr/power_manager/test/unittest/src/
Dpower_getcontroller_mock_test.cpp117 return runningLockMgr_; in GetRunningLockMgr()
155 runningLockMgr_->EnableMock(lockAction); in EnableMock()
162 runningLockMgr_->SetProximity(status); in MockProximity()
220 std::shared_ptr<RunningLockMgr> runningLockMgr_; member in OHOS::PowerMgr::PowerMgrService