Home
last modified time | relevance | path

Searched refs:GetPowerModeValuePolicy (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/powermgr/power_manager/services/native/src/
H A Dpower_mode_module.cpp142 …int32_t switchVal = policy->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::AUTO_ADJUST_BRIG… in AutoAdjustBrightnessUpdateFunc()
165 …int32_t switchVal = policy->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::AUTO_WINDOWN_ROR… in WindowRotationUpdateFunc()
188 …int32_t switchVal = policy->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::VIBRATORS_STATE); in VibrateStateUpdateFunc()
211 int32_t switchVal = policy->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::INTELL_VOICE); in IntellVoiceUpdateFunc()
391 ->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::DISPLAY_OFFTIME); in SetDisplayOffTime()
404 ->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::SLEEPTIME);
419 ->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::AUTO_ADJUST_BRIGHTNESS); in SetAutoAdjustBrightness()
434 ->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::LCD_BRIGHTNESS); in SetLcdBrightness()
451 ->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::VIBRATORS_STATE); in SetVibration()
465 ->GetPowerModeValuePolicy(PowerModePolicy::ServiceType::AUTO_WINDOWN_RORATION); in SetWindowRotation()
[all …]
H A Dpower_mode_policy.cpp27 int32_t PowerModePolicy::GetPowerModeValuePolicy(uint32_t type) in GetPowerModeValuePolicy() function in OHOS::PowerMgr::PowerModePolicy
/ohos5.0/base/powermgr/power_manager/services/native/include/
H A Dpower_mode_policy.h44 int32_t GetPowerModeValuePolicy(uint32_t type); // from switchMap_
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Dpower_mode_module_native_test.cpp97 EXPECT_TRUE(powerModePolicyTest->GetPowerModeValuePolicy(MODEITEM) == INIT_VALUE_FALSE);