Home
last modified time | relevance | path

Searched refs:SetBrightness (Results 1 – 20 of 20) sorted by relevance

/base/powermgr/display_manager/test/unittest/src/
Ddisplay_power_mgr_brightness_test.cpp57 bool ret = DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
73 bool ret = DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS_VALUE);
93 DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
130 DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
152 DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
173 DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
195 DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
217 DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
239 DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
269 DisplayPowerMgrClient::GetInstance().SetBrightness(SET_BRIGHTNESS);
[all …]
/base/powermgr/display_manager/service/native/include/
Dscreen_action.h42 bool SetBrightness(uint32_t value);
Dscreen_controller.h57 bool SetBrightness(uint32_t value, uint32_t gradualDuration = 0);
Ddisplay_power_mgr_service.h47 virtual bool SetBrightness(uint32_t value, uint32_t displayId) override;
/base/powermgr/display_manager/test/fuzztest/display_fuzzer/
Ddisplay_fuzzer.cpp80 static void SetBrightness(const uint8_t* data, size_t size) in SetBrightness() function
83 g_displayMgrClient.SetBrightness(value, value); in SetBrightness()
188 &SetBrightness,
/base/powermgr/display_manager/interfaces/inner_api/native/include/
Didisplay_power_mgr.h34 virtual bool SetBrightness(uint32_t value, uint32_t displayId) = 0;
Ddisplay_power_mgr_client.h40 bool SetBrightness(uint32_t value, uint32_t displayId = 0);
/base/powermgr/display_manager/service/native/src/
Dscreen_controller.cpp68 bool isSucc = action_->SetBrightness(brightness); in OnChanged()
152 bool ScreenController::SetBrightness(uint32_t value, uint32_t gradualDuration) in SetBrightness() function in OHOS::DisplayPowerMgr::ScreenController
319 bool isSucc = action_->SetBrightness(brightness); in UpdateBrightness()
Ddisplay_power_mgr_service.cpp86 …DelayedSpSingleton<DisplayPowerMgrService>::GetInstance()->SetBrightness(brightness, mainDisplayId… in SetBootCompletedBrightness()
227 bool DisplayPowerMgrService::SetBrightness(uint32_t value, uint32_t displayId) in SetBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrService
240 return iter->second->SetBrightness(brightness); in SetBrightness()
337 return iterator->second->SetBrightness(value, duration); in AdjustBrightness()
Dscreen_action.cpp164 bool ScreenAction::SetBrightness(uint32_t value) in SetBrightness() function in OHOS::DisplayPowerMgr::ScreenAction
/base/powermgr/display_manager/test/unittest/src/mock/
Ddisplay_mock_parcel_test.cpp59 EXPECT_FALSE(sptrDisplayProxy->SetBrightness(BRIGHTNESS_SETTING_VALUE, DISPLAY_ID)); in DisplayProxyTestFunc()
97 EXPECT_FALSE(client.SetBrightness(BRIGHTNESS_SETTING_VALUE, DISPLAY_ID));
Ddisplay_mock_object_test.cpp65 EXPECT_FALSE(sptrDisplayProxy->SetBrightness(BRIGHTNESS_SETTING_VALUE, DISPLAY_ID));
Ddisplay_mock_test.cpp102 EXPECT_FALSE(sptrDisplayProxy->SetBrightness(BRIGHTNESS_SETTING_VALUE, DISPLAY_ID));
/base/powermgr/display_manager/frameworks/napi/
Dbrightness.cpp96 if (!brightnessInfo_.SetBrightness(value)) { in SetValue()
114 brightnessInfo_.SetBrightness(brightness); in SystemSetValue()
288 bool Brightness::BrightnessInfo::SetBrightness(int32_t value) in SetBrightness() function in OHOS::DisplayPowerMgr::Brightness::BrightnessInfo
293 bool isSucc = DisplayPowerMgrClient::GetInstance().SetBrightness(value); in SetBrightness()
Dbrightness.h82 bool SetBrightness(int32_t value);
/base/powermgr/display_manager/frameworks/native/
Ddisplay_power_mgr_client.cpp119 bool DisplayPowerMgrClient::SetBrightness(uint32_t value, uint32_t displayId) in SetBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrClient
123 return proxy->SetBrightness(value, displayId); in SetBrightness()
/base/powermgr/display_manager/service/zidl/include/
Ddisplay_power_mgr_proxy.h43 virtual bool SetBrightness(uint32_t value, uint32_t displayId) override;
/base/powermgr/power_manager/utils/shell/src/
Dpower_shell_command.cpp301 bool ret = DisplayPowerMgrClient::GetInstance().SetBrightness(static_cast<uint32_t>(value)); in RunAsDisplayCommandSetValue()
/base/powermgr/display_manager/service/zidl/src/
Ddisplay_power_mgr_stub.cpp185 bool ret = SetBrightness(value, displayId); in SetBrightnessStub()
Ddisplay_power_mgr_proxy.cpp169 bool DisplayPowerMgrProxy::SetBrightness(uint32_t value, uint32_t displayId) in SetBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrProxy