Home
last modified time | relevance | path

Searched refs:WorkQueueManager (Results 1 – 25 of 31) sorted by relevance

12

/foundation/resourceschedule/work_scheduler/services/native/src/
Dwork_queue_manager.cpp30 WorkQueueManager::WorkQueueManager(const std::shared_ptr<WorkSchedulerService>& wss) : wss_(wss) in WorkQueueManager() function in OHOS::WorkScheduler::WorkQueueManager
35 bool WorkQueueManager::Init() in Init()
40 bool WorkQueueManager::AddListener(WorkCondition::Type type, shared_ptr<IConditionListener> listene… in AddListener()
50 bool WorkQueueManager::AddWork(shared_ptr<WorkStatus> workStatus) in AddWork()
75 bool WorkQueueManager::RemoveWork(shared_ptr<WorkStatus> workStatus) in RemoveWork()
91 bool WorkQueueManager::CancelWork(shared_ptr<WorkStatus> workStatus) in CancelWork()
112 vector<shared_ptr<WorkStatus>> WorkQueueManager::GetReayQueue(WorkCondition::Type conditionType, in GetReayQueue()
149 void WorkQueueManager::PrintWorkStatus(WorkCondition::Type conditionType) in PrintWorkStatus()
164 void WorkQueueManager::PrintAllWorkStatus(WorkCondition::Type conditionType) in PrintAllWorkStatus()
180 void WorkQueueManager::PushWork(vector<shared_ptr<WorkStatus>> &works, vector<shared_ptr<WorkStatus… in PushWork()
[all …]
Dwork_queue_event_handler.cpp25 shared_ptr<WorkQueueManager> manager) : AppExecFwk::EventHandler(runner) in WorkQueueEventHandler()
Dwork_bundle_group_change_callback.cpp25 WorkBundleGroupChangeCallback::WorkBundleGroupChangeCallback(std::shared_ptr<WorkQueueManager> in WorkBundleGroupChangeCallback()
Dwork_standby_state_change_callback.cpp26 WorkStandbyStateChangeCallback::WorkStandbyStateChangeCallback(std::shared_ptr<WorkQueueManager> in WorkStandbyStateChangeCallback()
/foundation/resourceschedule/work_scheduler/services/native/include/
Dwork_bundle_group_change_callback.h26 class WorkQueueManager; variable
29 explicit WorkBundleGroupChangeCallback(std::shared_ptr<WorkQueueManager> workQueueManager);
38 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dwork_queue_manager.h31 class WorkQueueManager : public std::enable_shared_from_this<WorkQueueManager> {
33 explicit WorkQueueManager(const std::shared_ptr<WorkSchedulerService>& wss);
34 ~WorkQueueManager() = default;
Dwork_queue_event_handler.h33 std::shared_ptr<WorkQueueManager> manager);
43 std::shared_ptr<WorkQueueManager> manager_;
Dwork_standby_state_change_callback.h26 explicit WorkStandbyStateChangeCallback(std::shared_ptr<WorkQueueManager> workQueueManager);
47 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dwork_scheduler_service.h41 class WorkQueueManager; variable
208 std::shared_ptr<WorkQueueManager> GetWorkQueueManager() in GetWorkQueueManager()
300 std::shared_ptr<WorkQueueManager> workQueueManager_;
/foundation/resourceschedule/work_scheduler/services/native/include/conditions/
Dstorage_listener.h26 class WorkQueueManager; variable
43 explicit StorageListener(std::shared_ptr<WorkQueueManager> workQueueManager);
67 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dbattery_status_listener.h27 class WorkQueueManager; variable
30 explicit BatteryStatusListener(std::shared_ptr<WorkQueueManager> workQueueManager);
54 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dcharger_listener.h26 class WorkQueueManager; variable
29 explicit ChargerListener(std::shared_ptr<WorkQueueManager> workQueueManager);
53 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dbattery_level_listener.h29 class WorkQueueManager; variable
32 explicit BatteryLevelListener(std::shared_ptr<WorkQueueManager> workQueueManager,
57 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dscreen_listener.h28 class WorkQueueManager; variable
31 explicit ScreenListener(std::shared_ptr<WorkQueueManager> workQueueManager,
58 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dcondition_checker.h25 explicit ConditionChecker(const std::shared_ptr<WorkQueueManager> workQueueManager);
33 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dgroup_listener.h30 explicit GroupListener(std::shared_ptr<WorkQueueManager> workQueueManager,
54 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dtimer_listener.h30 explicit TimerListener(std::shared_ptr<WorkQueueManager> workQueueManager,
54 std::shared_ptr<WorkQueueManager> workQueueManager_;
Dnetwork_listener.h28 explicit NetworkListener(std::shared_ptr<WorkQueueManager> workQueueManager);
51 std::shared_ptr<WorkQueueManager> workQueueManager_;
/foundation/resourceschedule/work_scheduler/services/test/src/conditions/
Dscreen_listener_test.cpp36 static std::shared_ptr<WorkQueueManager> workQueueManager_;
41 std::shared_ptr<WorkQueueManager> ScreenListenerTest::workQueueManager_ = nullptr;
48 workQueueManager_ = std::make_shared<WorkQueueManager>(workSchedulerService_); in SetUpTestCase()
Dnetwork_listener_test.cpp43 static std::shared_ptr<WorkQueueManager> workQueueManager_;
47 std::shared_ptr<WorkQueueManager> NetworkListenerTest::workQueueManager_ = nullptr;
53 workQueueManager_ = std::make_shared<WorkQueueManager>(workSchedulerService_); in SetUpTestCase()
/foundation/resourceschedule/work_scheduler/services/native/src/conditions/
Dgroup_listener.cpp22 GroupListener::GroupListener(std::shared_ptr<WorkQueueManager> workQueueManager, in GroupListener()
Dtimer_listener.cpp23 TimerListener::TimerListener(std::shared_ptr<WorkQueueManager> workQueueManager, in TimerListener()
Dbattery_level_listener.cpp62 BatteryLevelListener::BatteryLevelListener(std::shared_ptr<WorkQueueManager> workQueueManager, in BatteryLevelListener()
Dstorage_listener.cpp55 StorageListener::StorageListener(std::shared_ptr<WorkQueueManager> workQueueManager) in StorageListener()
Dbattery_status_listener.cpp56 BatteryStatusListener::BatteryStatusListener(std::shared_ptr<WorkQueueManager> workQueueManager) in BatteryStatusListener()

12