/base/powermgr/display_manager/test/unittest/src/ |
D | display_power_mgr_brightness_test.cpp | 37 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/ |
D | screen_controller.h | 43 void DiscountBrightness(double discount) override; 62 bool DiscountBrightness(double discount, uint32_t gradualDuration = 0);
|
D | gradual_animator.h | 35 virtual void DiscountBrightness(double discount) = 0;
|
D | display_power_mgr_service.h | 48 virtual bool DiscountBrightness(double discount, uint32_t displayId) override;
|
/base/powermgr/display_manager/test/fuzztest/display_fuzzer/ |
D | display_fuzzer.cpp | 136 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/ |
D | idisplay_power_mgr.h | 35 virtual bool DiscountBrightness(double discount, uint32_t displayId) = 0;
|
D | display_power_mgr_client.h | 41 bool DiscountBrightness(double discount, uint32_t displayId = 0);
|
/base/powermgr/display_manager/service/native/src/ |
D | screen_controller.cpp | 83 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()
|
D | display_power_mgr_service.cpp | 243 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/ |
D | display_mock_parcel_test.cpp | 60 EXPECT_FALSE(sptrDisplayProxy->DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID)); in DisplayProxyTestFunc() 98 EXPECT_FALSE(client.DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID));
|
D | display_mock_object_test.cpp | 66 EXPECT_FALSE(sptrDisplayProxy->DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID));
|
D | display_mock_test.cpp | 103 EXPECT_FALSE(sptrDisplayProxy->DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID));
|
/base/powermgr/display_manager/frameworks/native/ |
D | display_power_mgr_client.cpp | 126 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/ |
D | display_power_mgr_proxy.h | 44 virtual bool DiscountBrightness(double value, uint32_t displayId) override;
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
D | action_display.cpp | 100 if (!DisplayPowerMgrClient::GetInstance().DiscountBrightness(factor)) { in RequestDisplay()
|
/base/powermgr/power_manager/utils/shell/src/ |
D | power_shell_command.cpp | 319 bool ret = DisplayPowerMgrClient::GetInstance().DiscountBrightness(discount); in RunAsDisplayCommandDiscount()
|
/base/powermgr/display_manager/service/zidl/src/ |
D | display_power_mgr_stub.cpp | 203 bool ret = DiscountBrightness(discount, displayId); in DiscountBrightnessStub()
|
D | display_power_mgr_proxy.cpp | 206 bool DisplayPowerMgrProxy::DiscountBrightness(double discount, uint32_t displayId) in DiscountBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrProxy
|