Home
last modified time | relevance | path

Searched refs:lockInner (Results 1 – 3 of 3) sorted by relevance

/base/powermgr/power_manager/services/native/src/
Drunning_lock_mgr.cpp200 auto lockInner = RunningLockInner::CreateRunningLockInner(runningLockParam); in CreateRunningLock() local
201 if (lockInner == nullptr) { in CreateRunningLock()
208 runningLocks_.emplace(remoteObj, lockInner); in CreateRunningLock()
209 runninglockProxy_->AddRunningLock(lockInner->GetPid(), lockInner->GetUid(), remoteObj); in CreateRunningLock()
212 return lockInner; in CreateRunningLock()
218 auto lockInner = GetRunningLockInner(remoteObj); in ReleaseLock() local
219 if (lockInner == nullptr) { in ReleaseLock()
227 runninglockProxy_->RemoveRunningLock(lockInner->GetPid(), lockInner->GetUid(), remoteObj); in ReleaseLock()
257 auto lockInner = GetRunningLockInner(remoteObj); in Lock() local
258 if (lockInner == nullptr) { in Lock()
[all …]
/base/powermgr/power_manager/services/native/include/
Drunning_lock_mgr.h103 std::shared_ptr<RunningLockInner>& lockInner);
105 std::shared_ptr<RunningLockInner>& lockInner);
163 …ckInnerByProxy(const sptr<IRemoteObject>& remoteObj, std::shared_ptr<RunningLockInner>& lockInner);
164 …ckInnerByProxy(const sptr<IRemoteObject>& remoteObj, std::shared_ptr<RunningLockInner>& lockInner);
185 …ningLockChanged(const sptr<IRemoteObject>& remoteObj, std::shared_ptr<RunningLockInner>& lockInner,
188 …void NotifyHiViewRunningLockInfo(const RunningLockInner& lockInner, RunningLockChangedType changeT…
189 void NotifyHiView(RunningLockChangedType changeType, const RunningLockInner& lockInner) const;
/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_native_test.cpp260 auto lockInner = RunningLockInner::CreateRunningLockInner(runningLockParam); variable
261 runningLockMgr->NotifyRunningLockChanged(remoteObj, lockInner, type);
263 runningLockMgr->NotifyRunningLockChanged(remoteObj, lockInner, type);
265 runningLockMgr->NotifyRunningLockChanged(remoteObj, lockInner, type);
486 auto lockInner = RunningLockInner::CreateRunningLockInner(runningLockParam); variable
487 runningLockMgr->NotifyRunningLockChanged(remoteObj, lockInner, type);
489 runningLockMgr->NotifyRunningLockChanged(remoteObj, lockInner, type);
491 runningLockMgr->NotifyRunningLockChanged(remoteObj, lockInner, type);
493 runningLockMgr->NotifyRunningLockChanged(remoteObj, lockInner, type);
622 auto lockInner = RunningLockInner::CreateRunningLockInner(runningLockParam); variable
[all …]