Home
last modified time | relevance | path

Searched refs:standbyRunningLock_ (Results 1 - 2 of 2) sorted by relevance

/foundation/resourceschedule/device_standby/plugins/ext/src/
H A Dbase_state.cpp34 std::shared_ptr<PowerMgr::RunningLock> BaseState::standbyRunningLock_ = nullptr; member in OHOS::DevStandbyMgr::BaseState
174 standbyRunningLock_ = PowerMgr::PowerMgrClient::GetInstance().CreateRunningLock( in InitRunningLock()
185 if (standbyRunningLock_ == nullptr) { in AcquireStandbyRunningLock()
186 standbyRunningLock_ = PowerMgr::PowerMgrClient::GetInstance().CreateRunningLock( in AcquireStandbyRunningLock()
189 if (standbyRunningLock_ != nullptr) { in AcquireStandbyRunningLock()
190 standbyRunningLock_->Lock(RUNNINGLOCK_TIMEOUT); in AcquireStandbyRunningLock()
203 if (standbyRunningLock_ == nullptr) { in ReleaseStandbyRunningLock()
204 STANDBYSERVICE_LOGE("standbyRunningLock_ is nullptr"); in ReleaseStandbyRunningLock()
206 standbyRunningLock_->UnLock(); in ReleaseStandbyRunningLock()
/foundation/resourceschedule/device_standby/plugins/ext/include/
H A Dbase_state.h104 static std::shared_ptr<PowerMgr::RunningLock> standbyRunningLock_; member in OHOS::DevStandbyMgr::BaseState

Completed in 1 milliseconds