Home
last modified time | relevance | path

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

/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dthermal_policy.cpp30 ThermalPolicy::ThermalPolicy(shared_ptr<WorkPolicyManager> workPolicyManager) in ThermalPolicy() function in OHOS::WorkScheduler::ThermalPolicy
35 ThermalPolicy::~ThermalPolicy() in ~ThermalPolicy()
39 int32_t ThermalPolicy::GetPolicyMaxRunning() in GetPolicyMaxRunning()
55 std::string ThermalPolicy::GetPolicyName() in GetPolicyName()
/foundation/resourceschedule/work_scheduler/services/native/include/policy/
H A Dthermal_policy.h24 class ThermalPolicy : public IPolicyFilter { class
26 explicit ThermalPolicy(std::shared_ptr<WorkPolicyManager> workPolicyManager);
27 ~ThermalPolicy() override;
/foundation/resourceschedule/work_scheduler/services/test/src/policy/
H A Dthermal_policy_test.cpp49 static std::shared_ptr<ThermalPolicy> thermalPolicy_;
52 std::shared_ptr<ThermalPolicy> ThermalPolicyTest::thermalPolicy_ = nullptr;
60 thermalPolicy_ = std::make_shared<ThermalPolicy>(workPolicyManager_); in SetUpTestCase()
65 * @tc.desc: Test ThermalPolicy GetPolicyMaxRunning.
78 * @tc.desc: Test ThermalPolicy GetPolicyMaxRunning.
91 * @tc.desc: Test ThermalPolicy GetPolicyMaxRunning.
104 * @tc.desc: Test ThermalPolicy GetPolicyName.
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_scheduler_service.cpp464 auto thermalFilter = make_shared<ThermalPolicy>(workPolicyManager_); in WorkPolicyManagerInit()

Completed in 3 milliseconds