Home
last modified time | relevance | path

Searched refs:WorkPolicyManager (Results 1 - 23 of 23) 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() function in OHOS::WorkScheduler::WorkPolicyManager
66 bool WorkPolicyManager::Init(const std::shared_ptr<AppExecFwk::EventRunner>& runner) in Init()
83 void WorkPolicyManager::AddPolicyFilter(shared_ptr<IPolicyFilter> filter) in AddPolicyFilter()
88 void WorkPolicyManager::AddAppDataClearListener(std::shared_ptr<AppDataClearListener> listener) in AddAppDataClearListener()
95 std::string WorkPolicyManager::GetConditionString(const shared_ptr<WorkStatus> workStatus) in GetConditionString()
129 int32_t WorkPolicyManager::AddWork(shared_ptr<WorkStatus> workStatus, int32_t uid) in AddWork()
164 bool WorkPolicyManager::RemoveWork(shared_ptr<WorkStatus> workStatus, int32_t uid) in RemoveWork()
179 shared_ptr<WorkStatus> WorkPolicyManager::FindWorkStatus(WorkInfo& workInfo, int32_t uid) in FindWorkStatus()
189 void WorkPolicyManager
[all...]
H A Dwatchdog.cpp26 Watchdog::Watchdog(const std::shared_ptr<WorkPolicyManager>& service, in Watchdog()
H A Dwork_scheduler_service.cpp456 workPolicyManager_ = make_shared<WorkPolicyManager>(instance); in WorkPolicyManagerInit()
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwatchdog.h25 class WorkPolicyManager;
28 explicit Watchdog(const std::shared_ptr<WorkPolicyManager>& service,
53 std::shared_ptr<WorkPolicyManager> service_;
H A Dwork_scheduler_service.h42 class WorkPolicyManager;
218 std::shared_ptr<WorkPolicyManager> GetWorkPolicyManager() in GetWorkPolicyManager()
326 std::shared_ptr<WorkPolicyManager> workPolicyManager_;
H A Dwork_policy_manager.h36 class WorkPolicyManager { class
38 explicit WorkPolicyManager(const std::shared_ptr<WorkSchedulerService>& wss);
39 ~WorkPolicyManager() = default;
/foundation/resourceschedule/work_scheduler/services/native/include/policy/
H A Dapp_data_clear_listener.h25 class WorkPolicyManager;
28 explicit AppDataClearListener(std::shared_ptr<WorkPolicyManager> workPolicyManager);
51 std::shared_ptr<WorkPolicyManager> workPolicyManager_;
H A Dthermal_policy.h26 explicit ThermalPolicy(std::shared_ptr<WorkPolicyManager> workPolicyManager);
42 std::shared_ptr<WorkPolicyManager> workPolicyManager_;
H A Dpower_mode_policy.h25 explicit PowerModePolicy(std::shared_ptr<WorkPolicyManager> workPolicyManager);
41 std::shared_ptr<WorkPolicyManager> workPolicyManager_;
H A Dmemory_policy.h27 explicit MemoryPolicy(std::shared_ptr<WorkPolicyManager> workPolicyManager);
44 std::shared_ptr<WorkPolicyManager> workPolicyManager_;
H A Dcpu_policy.h25 explicit CpuPolicy(std::shared_ptr<WorkPolicyManager> workPolicyManager);
42 std::shared_ptr<WorkPolicyManager> workPolicyManager_;
/foundation/resourceschedule/work_scheduler/services/test/src/policy/
H A Dmemory_policy_test.cpp33 static std::shared_ptr<WorkPolicyManager> workPolicyManager_;
38 std::shared_ptr<WorkPolicyManager> MemoryPolicyTest::workPolicyManager_ = nullptr;
44 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()
H A Dpower_mode_policy_test.cpp43 static std::shared_ptr<WorkPolicyManager> workPolicyManager_;
48 std::shared_ptr<WorkPolicyManager> PowerModePolicyTest::workPolicyManager_ = nullptr;
54 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()
H A Dthermal_policy_test.cpp48 static std::shared_ptr<WorkPolicyManager> workPolicyManager_;
53 std::shared_ptr<WorkPolicyManager> ThermalPolicyTest::workPolicyManager_ = nullptr;
59 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()
H A Dapp_data_clear_listener_test.cpp35 static std::shared_ptr<WorkPolicyManager> workPolicyManager_;
39 std::shared_ptr<WorkPolicyManager> AppDataClearListenerTest::workPolicyManager_ = nullptr;
45 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()
H A Dcpu_policy_test.cpp34 static std::shared_ptr<WorkPolicyManager> workPolicyManager_;
39 std::shared_ptr<WorkPolicyManager> CpuPolicyTest::workPolicyManager_ = nullptr;
44 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()
/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dpower_mode_policy.cpp30 PowerModePolicy::PowerModePolicy(shared_ptr<WorkPolicyManager> workPolicyManager) in PowerModePolicy()
H A Dthermal_policy.cpp30 ThermalPolicy::ThermalPolicy(shared_ptr<WorkPolicyManager> workPolicyManager) in ThermalPolicy()
H A Dmemory_policy.cpp34 MemoryPolicy::MemoryPolicy(shared_ptr<WorkPolicyManager> workPolicyManager) in MemoryPolicy()
H A Dcpu_policy.cpp34 CpuPolicy::CpuPolicy(shared_ptr<WorkPolicyManager> workPolicyManager) in CpuPolicy()
H A Dapp_data_clear_listener.cpp66 AppDataClearListener::AppDataClearListener(std::shared_ptr<WorkPolicyManager> workPolicyManager) in AppDataClearListener()
/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dwatchdog_test.cpp109 std::shared_ptr<WorkPolicyManager> service; in HWTEST_F()
H A Dwork_policy_manager_test.cpp37 static std::shared_ptr<WorkPolicyManager> workPolicyManager_;
40 std::shared_ptr<WorkPolicyManager> WorkPolicyManagerTest::workPolicyManager_ = nullptr;
45 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()

Completed in 11 milliseconds