Searched refs:monitorMap_ (Results 1 – 6 of 6) sorted by relevance
93 monitorMap_.emplace(monitor->GetReason(), monitor); in Init()109 if (monitorMap_.find(reason) != monitorMap_.end()) { in ExecSuspendMonitorByReason()110 auto monitor = monitorMap_[reason]; in ExecSuspendMonitorByReason()144 monitorMap_.emplace(monitor->GetReason(), monitor); in RegisterSettingsObserver()161 for (auto monitor = monitorMap_.begin(); monitor != monitorMap_.end(); monitor++) { in Cancel()164 monitorMap_.clear(); in Cancel()181 … auto timeoutSuspendMonitor = monitorMap_.find(SuspendDeviceType::SUSPEND_DEVICE_REASON_TIMEOUT); in HandleEvent()182 if (timeoutSuspendMonitor == monitorMap_.end()) { in HandleEvent()
74 std::map<SuspendDeviceType, std::shared_ptr<SuspendMonitor>> monitorMap_; variable
89 monitorMap_.emplace(monitor->GetReason(), monitor); in Init()107 for (auto monitor = monitorMap_.begin(); monitor != monitorMap_.end(); monitor++) { in Cancel()110 monitorMap_.clear(); in Cancel()135 monitorMap_.emplace(monitor->GetReason(), monitor); in RegisterSettingsObserver()146 if (monitorMap_.find(reason) != monitorMap_.end()) { in ExecWakeupMonitorByReason()147 auto monitor = monitorMap_[reason]; in ExecWakeupMonitorByReason()
62 std::map<WakeupDeviceType, std::shared_ptr<WakeupMonitor>> monitorMap_; variable
87 …auto monitor = pmsTest_->wakeupController_->monitorMap_[WakeupDeviceType ::WAKEUP_DEVICE_POWER_BUT…220 EXPECT_TRUE(pmsTest_->wakeupController_->monitorMap_.size() == 0);
120 …auto monitor = pmsTest_->suspendController_->monitorMap_[SuspendDeviceType ::SUSPEND_DEVICE_REASON…