Home
last modified time | relevance | path

Searched refs:DiscountBrightness (Results 1 – 18 of 18) sorted by relevance

/base/powermgr/display_manager/test/unittest/src/
Ddisplay_power_mgr_brightness_test.cpp37 DisplayPowerMgrClient::GetInstance().DiscountBrightness(NO_DISCOUNT); in SetUp()
96 bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_NORMAL);
115 bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_VALUE);
132 bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_LOWER_BOUNDARY);
155 bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_UPPER_BOUNDARY);
175 …bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_BEYOND_LOWER_BOUNDARY);
198 …bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_BEYOND_UPPER_BOUNDARY);
219 bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_NEGATIVE_VALUE);
242 bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_VALUE);
276 double ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(DISCOUNT_VALUE);
[all …]
/base/powermgr/display_manager/service/native/include/
Dscreen_controller.h43 void DiscountBrightness(double discount) override;
62 bool DiscountBrightness(double discount, uint32_t gradualDuration = 0);
Dgradual_animator.h35 virtual void DiscountBrightness(double discount) = 0;
Ddisplay_power_mgr_service.h48 virtual bool DiscountBrightness(double discount, uint32_t displayId) override;
/base/powermgr/display_manager/test/fuzztest/display_fuzzer/
Ddisplay_fuzzer.cpp136 static void DiscountBrightness(const uint8_t* data, size_t size) in DiscountBrightness() function
139 g_displayMgrClient.DiscountBrightness(value, value); in DiscountBrightness()
196 &DiscountBrightness,
/base/powermgr/display_manager/interfaces/inner_api/native/include/
Didisplay_power_mgr.h35 virtual bool DiscountBrightness(double discount, uint32_t displayId) = 0;
Ddisplay_power_mgr_client.h41 bool DiscountBrightness(double discount, uint32_t displayId = 0);
/base/powermgr/display_manager/service/native/src/
Dscreen_controller.cpp83 void ScreenController::AnimateCallbackImpl::DiscountBrightness(double discount) in DiscountBrightness() function in OHOS::DisplayPowerMgr::ScreenController::AnimateCallbackImpl
178 bool ScreenController::DiscountBrightness(double discount, uint32_t gradualDuration) in DiscountBrightness() function in OHOS::DisplayPowerMgr::ScreenController
187 animateCallback_->DiscountBrightness(discount); in DiscountBrightness()
Ddisplay_power_mgr_service.cpp243 bool DisplayPowerMgrService::DiscountBrightness(double discount, uint32_t displayId) in DiscountBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrService
258 return iter->second->DiscountBrightness(safeDiscount); in DiscountBrightness()
/base/powermgr/display_manager/test/unittest/src/mock/
Ddisplay_mock_parcel_test.cpp60 EXPECT_FALSE(sptrDisplayProxy->DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID)); in DisplayProxyTestFunc()
98 EXPECT_FALSE(client.DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID));
Ddisplay_mock_object_test.cpp66 EXPECT_FALSE(sptrDisplayProxy->DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID));
Ddisplay_mock_test.cpp103 EXPECT_FALSE(sptrDisplayProxy->DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID));
/base/powermgr/display_manager/frameworks/native/
Ddisplay_power_mgr_client.cpp126 bool DisplayPowerMgrClient::DiscountBrightness(double discount, uint32_t displayId) in DiscountBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrClient
130 return proxy->DiscountBrightness(discount, displayId); in DiscountBrightness()
/base/powermgr/display_manager/service/zidl/include/
Ddisplay_power_mgr_proxy.h44 virtual bool DiscountBrightness(double value, uint32_t displayId) override;
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_display.cpp100 if (!DisplayPowerMgrClient::GetInstance().DiscountBrightness(factor)) { in RequestDisplay()
/base/powermgr/power_manager/utils/shell/src/
Dpower_shell_command.cpp319 bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(discount); in RunAsDisplayCommandDiscount()
/base/powermgr/display_manager/service/zidl/src/
Ddisplay_power_mgr_stub.cpp203 bool ret = DiscountBrightness(discount, displayId); in DiscountBrightnessStub()
Ddisplay_power_mgr_proxy.cpp206 bool DisplayPowerMgrProxy::DiscountBrightness(double discount, uint32_t displayId) in DiscountBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrProxy