Lines Matching refs:pimpl_
61 pimpl_->suspend_service = ISystemSuspend::getService(); in Initialize()
62 ASSERT_LOG(pimpl_->suspend_service, "Cannot get ISystemSuspend service"); in Initialize()
63 pimpl_->suspend_death_recipient = new Impl::SystemSuspendDeathRecipient(pimpl_.get()); in Initialize()
64 pimpl_->suspend_service->linkToDeath(pimpl_->suspend_death_recipient, 0 /* cookie */); in Initialize()
68 if (!pimpl_->suspend_service) { in Acquire()
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()
104 if (pimpl_->suspend_service) { in CleanUp()
106 pimpl_->suspend_service->unlinkToDeath(pimpl_->suspend_death_recipient); in CleanUp()
107 pimpl_->suspend_death_recipient.clear(); in CleanUp()
108 pimpl_->suspend_service.clear(); in CleanUp()
112 WakelockNative::WakelockNative() : pimpl_(std::make_unique<Impl>()) {} in WakelockNative()