Searched refs:WakeupSource (Results 1 – 7 of 7) sorted by relevance
29 class WakeupSource {34 …WakeupSource(WakeupDeviceType reason, bool enable, uint32_t click) : reason_(reason), enable_(enab… in WakeupSource() function37 ~WakeupSource() = default;77 void PutSource(WakeupSource& source);78 std::vector<WakeupSource> GetSourceList();81 std::vector<WakeupSource> sourceList_;
61 std::vector<WakeupSource> sourceList_;80 static std::shared_ptr<WakeupMonitor> CreateMonitor(WakeupSource& source);107 explicit WakeupMonitor(WakeupSource& source) in WakeupMonitor()118 explicit PowerkeyWakeupMonitor(WakeupSource& source) : WakeupMonitor(source) {} in PowerkeyWakeupMonitor()129 explicit KeyboardWakeupMonitor(WakeupSource& source) : WakeupMonitor(source) {} in KeyboardWakeupMonitor()137 explicit MousekeyWakeupMonitor(WakeupSource& source) : WakeupMonitor(source) {} in MousekeyWakeupMonitor()145 explicit TouchpadWakeupMonitor(WakeupSource& source) : WakeupMonitor(source) {} in TouchpadWakeupMonitor()153 explicit PenWakeupMonitor(WakeupSource& source) : WakeupMonitor(source) {} in PenWakeupMonitor()161 explicit SingleClickWakeupMonitor(WakeupSource& source) : WakeupMonitor(source) {} in SingleClickWakeupMonitor()169 explicit DoubleClickWakeupMonitor(WakeupSource& source) : WakeupMonitor(source) {} in DoubleClickWakeupMonitor()[all …]
125 Json::Value enableValue = valueObj[WakeupSource::ENABLE_KEY]; in ParseSourcesProc()126 Json::Value clickValue = valueObj[WakeupSource::KEYS_KEY]; in ParseSourcesProc()145 WakeupSource wakeupSource = WakeupSource(wakeupDeviceType, enable, click); in ParseSourcesProc()
78 void WakeupSources::PutSource(WakeupSource& source) in PutSource()84 std::vector<WakeupSource> WakeupSources::GetSourceList() in GetSourceList()
124 std::vector<WakeupSource> updateSourceList = sources->GetSourceList(); in RegisterSettingsObserver()339 std::shared_ptr<WakeupMonitor> WakeupMonitor::CreateMonitor(WakeupSource& source) in CreateMonitor()
61 vector<WakeupSource>::iterator itb = pmsTest_->wakeupController_->sourceList_.begin(); in TestPowerWakeup()62 vector<WakeupSource>::iterator ite = pmsTest_->wakeupController_->sourceList_.end(); in TestPowerWakeup()63 vector<WakeupSource>::iterator it = itb; in TestPowerWakeup()
193 WakeupSource source1(WakeupDeviceType::WAKEUP_DEVICE_SINGLE_CLICK, 1, 0);197 WakeupSource source2(WakeupDeviceType::WAKEUP_DEVICE_MAX, 1, 0);