Home
last modified time | relevance | path

Searched refs:wss_ (Results 1 - 4 of 4) sorted by relevance

/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_policy_manager.cpp56 WorkPolicyManager::WorkPolicyManager(const std::shared_ptr<WorkSchedulerService>& wss) : wss_(wss) in WorkPolicyManager()
69 if (wss_.expired()) { in Init()
70 WS_HILOGE("wss_ expired"); in Init()
74 handler_ = wss_.lock()->GetHandler(); in Init()
79 watchdog_ = std::make_shared<Watchdog>(wss_.lock()->GetWorkPolicyManager(), runner); in Init()
319 if (wss_.expired()) { in OnPolicyChanged()
320 WS_HILOGE("wss_ expired"); in OnPolicyChanged()
323 auto service = wss_.lock(); in OnPolicyChanged()
402 if (wss_.expired()) { in RealStartWork()
403 WS_HILOGE("wss_ expire in RealStartWork()
[all...]
H A Dwork_queue_manager.cpp30 WorkQueueManager::WorkQueueManager(const std::shared_ptr<WorkSchedulerService>& wss) : wss_(wss) in WorkQueueManager()
173 if (wss_.expired()) { in OnConditionChanged()
174 WS_HILOGE("wss_ expired"); in OnConditionChanged()
177 wss_.lock()->OnConditionReady(make_shared<vector<shared_ptr<WorkStatus>>>(readyWorkVector)); in OnConditionChanged()
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_queue_manager.h127 const std::weak_ptr<WorkSchedulerService> wss_; member in OHOS::WorkScheduler::WorkQueueManager
H A Dwork_policy_manager.h299 const std::weak_ptr<WorkSchedulerService> wss_; member in OHOS::WorkScheduler::WorkPolicyManager

Completed in 3 milliseconds