Home
last modified time | relevance | path

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

/system/bt/gd/os/android/
Dwakelock_native.cc43 sp<IWakeLock> current_wakelock = nullptr; member
73 if (pimpl_->current_wakelock) { in Acquire()
78 …pimpl_->current_wakelock = pimpl_->suspend_service->acquireWakeLock(WakeLockType::PARTIAL, lock_na… in Acquire()
79 if (!pimpl_->current_wakelock) { in Acquire()
88 if (!pimpl_->current_wakelock) { in Release()
92 pimpl_->current_wakelock->release(); in Release()
93 pimpl_->current_wakelock.clear(); in Release()
99 if (pimpl_->current_wakelock) { in CleanUp()
101 pimpl_->current_wakelock->release(); in CleanUp()
102 pimpl_->current_wakelock.clear(); in CleanUp()