/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_queue_manager.cpp | 30 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> listener) in AddListener() 50 bool WorkQueueManager::AddWork(shared_ptr<WorkStatus> workStatus) in AddWork() 74 bool WorkQueueManager::RemoveWork(shared_ptr<WorkStatus> workStatus) in RemoveWork() 90 bool WorkQueueManager::CancelWork(shared_ptr<WorkStatus> workStatus) in CancelWork() 111 vector<shared_ptr<WorkStatus>> WorkQueueManager::GetReayQueue(WorkCondition::Type conditionType, in GetReayQueue() 147 void WorkQueueManager::PushWork(vector<shared_ptr<WorkStatus>> &works, vector<shared_ptr<WorkStatus>> &result) in PushWork() 163 void WorkQueueManager [all...] |
H A D | work_standby_state_change_callback.cpp | 22 WorkStandbyStateChangeCallback::WorkStandbyStateChangeCallback(std::shared_ptr<WorkQueueManager> in WorkStandbyStateChangeCallback()
|
H A D | work_bundle_group_change_callback.cpp | 22 WorkBundleGroupChangeCallback::WorkBundleGroupChangeCallback(std::shared_ptr<WorkQueueManager> in WorkBundleGroupChangeCallback()
|
H A D | work_queue_event_handler.cpp | 25 shared_ptr<WorkQueueManager> manager) : AppExecFwk::EventHandler(runner) in WorkQueueEventHandler()
|
/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | work_bundle_group_change_callback.h | 26 class WorkQueueManager; 29 explicit WorkBundleGroupChangeCallback(std::shared_ptr<WorkQueueManager> workQueueManager); 38 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | work_queue_manager.h | 31 class WorkQueueManager : std::enable_shared_from_this<WorkQueueManager> { class 33 explicit WorkQueueManager(const std::shared_ptr<WorkSchedulerService>& wss); 34 ~WorkQueueManager() = default;
|
H A D | work_standby_state_change_callback.h | 26 explicit WorkStandbyStateChangeCallback(std::shared_ptr<WorkQueueManager> workQueueManager); 47 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | work_queue_event_handler.h | 33 std::shared_ptr<WorkQueueManager> manager); 43 std::shared_ptr<WorkQueueManager> manager_;
|
H A D | work_scheduler_service.h | 41 class WorkQueueManager; 208 std::shared_ptr<WorkQueueManager> GetWorkQueueManager() in GetWorkQueueManager() 325 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
/foundation/resourceschedule/work_scheduler/services/native/include/conditions/ |
H A D | battery_level_listener.h | 29 class WorkQueueManager; 32 explicit BatteryLevelListener(std::shared_ptr<WorkQueueManager> workQueueManager, 57 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | battery_status_listener.h | 27 class WorkQueueManager; 30 explicit BatteryStatusListener(std::shared_ptr<WorkQueueManager> workQueueManager); 54 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | charger_listener.h | 26 class WorkQueueManager; 29 explicit ChargerListener(std::shared_ptr<WorkQueueManager> workQueueManager); 53 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | screen_listener.h | 28 class WorkQueueManager; 31 explicit ScreenListener(std::shared_ptr<WorkQueueManager> workQueueManager, 58 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | storage_listener.h | 26 class WorkQueueManager; 43 explicit StorageListener(std::shared_ptr<WorkQueueManager> workQueueManager); 67 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | condition_checker.h | 25 explicit ConditionChecker(const std::shared_ptr<WorkQueueManager> workQueueManager); 33 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | group_listener.h | 30 explicit GroupListener(std::shared_ptr<WorkQueueManager> workQueueManager, 54 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | timer_listener.h | 30 explicit TimerListener(std::shared_ptr<WorkQueueManager> workQueueManager, 54 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
H A D | network_listener.h | 28 explicit NetworkListener(std::shared_ptr<WorkQueueManager> workQueueManager); 51 std::shared_ptr<WorkQueueManager> workQueueManager_;
|
/foundation/resourceschedule/work_scheduler/services/test/src/conditions/ |
H A D | screen_listener_test.cpp | 36 static std::shared_ptr<WorkQueueManager> workQueueManager_; 41 std::shared_ptr<WorkQueueManager> ScreenListenerTest::workQueueManager_ = nullptr; 48 workQueueManager_ = std::make_shared<WorkQueueManager>(workSchedulerService_); in SetUpTestCase()
|
H A D | network_listener_test.cpp | 43 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/ |
H A D | group_listener.cpp | 22 GroupListener::GroupListener(std::shared_ptr<WorkQueueManager> workQueueManager, in GroupListener()
|
H A D | timer_listener.cpp | 22 TimerListener::TimerListener(std::shared_ptr<WorkQueueManager> workQueueManager, in TimerListener()
|
H A D | battery_level_listener.cpp | 61 BatteryLevelListener::BatteryLevelListener(std::shared_ptr<WorkQueueManager> workQueueManager, in BatteryLevelListener()
|
H A D | battery_status_listener.cpp | 56 BatteryStatusListener::BatteryStatusListener(std::shared_ptr<WorkQueueManager> workQueueManager) in BatteryStatusListener()
|
H A D | storage_listener.cpp | 55 StorageListener::StorageListener(std::shared_ptr<WorkQueueManager> workQueueManager) in StorageListener()
|