Home
last modified time | relevance | path

Searched refs:PowerModePolicy (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/powermgr/power_manager/services/native/src/
H A Dpower_mode_module.cpp47 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in PowerModeModule()
141 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in AutoAdjustBrightnessUpdateFunc()
164 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in WindowRotationUpdateFunc()
187 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in VibrateStateUpdateFunc()
210 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in IntellVoiceUpdateFunc()
381 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in RunAction()
390 int32_t time = DelayedSingleton<PowerModePolicy>::GetInstance() in SetDisplayOffTime()
403 int32_t time = DelayedSingleton<PowerModePolicy>::GetInstance()
418 int32_t value = DelayedSingleton<PowerModePolicy>::GetInstance() in SetAutoAdjustBrightness()
464 int32_t rotation = DelayedSingleton<PowerModePolicy>::GetInstance() in SetWindowRotation()
[all …]
H A Dpower_mode_policy.cpp27 int32_t PowerModePolicy::GetPowerModeValuePolicy(uint32_t type) in GetPowerModeValuePolicy()
37 int32_t PowerModePolicy::GetPolicyFromMap(uint32_t type) in GetPolicyFromMap()
48 void PowerModePolicy::UpdatePowerModePolicy(uint32_t mode) in UpdatePowerModePolicy()
55 void PowerModePolicy::ComparePowerModePolicy() in ComparePowerModePolicy()
68 bool PowerModePolicy::InitRecoverMap() in InitRecoverMap()
89 void PowerModePolicy::ReadPowerModePolicy(uint32_t mode) in ReadPowerModePolicy()
128 case PowerModePolicy::ServiceType::VIBRATORS_STATE: in GetSettingSwitchState()
131 case PowerModePolicy::ServiceType::INTELL_VOICE: in GetSettingSwitchState()
158 void PowerModePolicy::TriggerAllActions(bool isBoot) in TriggerAllActions()
173 bool PowerModePolicy::IsValidType(uint32_t type) in IsValidType()
[all …]
H A Dpower_state_machine.cpp1382 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in WakeupDeviceInner()
1387 policy->RemoveBackupMapSettingSwitch(PowerModePolicy::ServiceType::DISPLAY_OFFTIME); in WakeupDeviceInner()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dpower_mode_policy.cpp34 PowerModePolicy::PowerModePolicy(shared_ptr<WorkPolicyManager> workPolicyManager) in PowerModePolicy() function in OHOS::WorkScheduler::PowerModePolicy
39 PowerModePolicy::~PowerModePolicy() in ~PowerModePolicy()
43 int32_t PowerModePolicy::GetPolicyMaxRunning() in GetPolicyMaxRunning()
62 std::string PowerModePolicy::GetPolicyName() in GetPolicyName()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/policy/
H A Dpower_mode_policy.h23 class PowerModePolicy : public IPolicyFilter {
25 explicit PowerModePolicy(std::shared_ptr<WorkPolicyManager> workPolicyManager);
26 ~PowerModePolicy() override;
/ohos5.0/base/powermgr/power_manager/services/native/include/
H A Dpower_mode_policy.h30 class PowerModePolicy {
43 ~PowerModePolicy() = default;
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Dpower_mode_module_native_test.cpp96 PowerModePolicy *powerModePolicyTest = new PowerModePolicy();
/ohos5.0/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_system_test.cpp46 const int32_t SLEEPTIME_ID = PowerModePolicy::ServiceType::SLEEPTIME;
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_scheduler_service.cpp535 auto powerModeFilter = make_shared<PowerModePolicy>(workPolicyManager_); in WorkPolicyManagerInit()