/base/powermgr/display_manager/brightness_manager/src/ |
H A D | brightness_manager.cpp | 147 bool BrightnessManager::BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration)
in BoostBrightness() function in OHOS::DisplayPowerMgr::BrightnessManager 150 return mBrightnessManagerExt.BoostBrightness(timeoutMs, gradualDuration);
in BoostBrightness() 152 return BrightnessService::Get().BoostBrightness(timeoutMs, gradualDuration);
in BoostBrightness()
|
H A D | brightness_manager_ext.cpp | 186 mBoostBrightnessFunc = dlsym(mBrightnessManagerExtHandle, "BoostBrightness");
in LoadBrightnessControl() 188 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "dlsym BoostBrightness func failed!");
in LoadBrightnessControl() 332 bool BrightnessManagerExt::BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration)
in BoostBrightness() function in OHOS::DisplayPowerMgr::BrightnessManagerExt
|
H A D | brightness_service.cpp | 915 bool BrightnessService::BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration)
in BoostBrightness() function in OHOS::DisplayPowerMgr::BrightnessService 933 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "BoostBrightness update timeout=%{public}u, isSuccess=%{public}d", timeoutMs,
in BoostBrightness()
|
/base/powermgr/display_manager/state_manager/test/unittest/src/ |
H A D | display_power_mgr_brightness_test.cpp | 318 * @tc.desc: Test DisconutBrightness after BoostBrightness and CancelBoostBrightness 330 DisplayPowerMgrClient::GetInstance().BoostBrightness(SET_BOOST_BRIGHTNESS_TIME); in HWTEST_F() 349 * @tc.desc: Test BoostBrightness after DiscountBrightness, then CancelBoostBrightness 365 DisplayPowerMgrClient::GetInstance().BoostBrightness(SET_BOOST_BRIGHTNESS_TIME); in HWTEST_F() 635 * @tc.desc: Test BoostBrightness the normal test 641 const uint32_t BOOST_TIME = 100; // keep BoostBrightness 100ms in HWTEST_F() 642 bool isSucc = DisplayPowerMgrClient::GetInstance().BoostBrightness(BOOST_TIME); in HWTEST_F() 649 * @tc.desc: Test BoostBrightness the abnormal value 656 bool isSucc = DisplayPowerMgrClient::GetInstance().BoostBrightness(BOOST_TIME); in HWTEST_F() 670 bool isSucc = DisplayPowerMgrClient::GetInstance().BoostBrightness(BOOST_TIM in HWTEST_F() [all...] |
/base/powermgr/display_manager/brightness_manager/include/ |
H A D | brightness_manager.h | 45 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
|
H A D | brightness_manager_ext.h | 45 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
|
H A D | brightness_service.h | 131 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
|
/base/powermgr/display_manager/brightness_manager/test/unittest/src/ |
H A D | brightness_manager_ext_test.cpp | 71 retBool = g_BrightnessManagerExt.BoostBrightness(10000); in HWTEST_F() 164 bool retBool = g_BrightnessManagerExt.BoostBrightness(0, 0); in HWTEST_F()
|
H A D | mock_brightness_manager_interface.cpp | 105 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration) in BoostBrightness() function 178 ext.mBoostBrightnessFunc = reinterpret_cast<void*>(BoostBrightness); in MockInitBrightnessManagerExt()
|
/base/powermgr/display_manager/state_manager/test/unittest/src/mock/ |
H A D | display_mock_object_test.cpp | 78 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in HWTEST_F()
|
H A D | display_mock_parcel_test.cpp | 75 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in DisplayProxyTestFunc() 114 EXPECT_FALSE(client.BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in HWTEST_F()
|
H A D | display_mock_test.cpp | 124 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in HWTEST_F()
|
/base/powermgr/display_manager/state_manager/interfaces/inner_api/native/include/ |
H A D | idisplay_power_mgr.h | 50 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) = 0;
|
H A D | display_power_mgr_client.h | 55 bool BoostBrightness(int32_t timeoutMs, uint32_t displayId = 0);
|
/base/powermgr/display_manager/state_manager/service/native/include/ |
H A D | screen_controller.h | 64 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
|
H A D | display_power_mgr_service.h | 65 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) override;
|
/base/powermgr/display_manager/state_manager/service/zidl/include/ |
H A D | display_power_mgr_proxy.h | 58 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) override;
|
/base/powermgr/display_manager/state_manager/frameworks/native/ |
H A D | display_power_mgr_client.cpp | 216 bool DisplayPowerMgrClient::BoostBrightness(int32_t timeoutMs, uint32_t displayId) in BoostBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrClient 220 return proxy->BoostBrightness(timeoutMs, displayId); in BoostBrightness()
|
/base/powermgr/display_manager/state_manager/service/native/src/ |
H A D | screen_controller.cpp | 226 bool ScreenController::BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration) in BoostBrightness() function in OHOS::DisplayPowerMgr::ScreenController 244 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "BoostBrightness update timeout=%{public}u, ret=%{public}d", timeoutMs, ret); in BoostBrightness()
|
H A D | display_power_mgr_service.cpp | 533 bool DisplayPowerMgrService::BoostBrightness(int32_t timeoutMs, uint32_t displayId) in BoostBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrService 542 return BrightnessManager::Get().BoostBrightness(timeoutMs); in BoostBrightness() 612 result.append(" BoostBrightness=") in DumpDisplayInfo()
|
/base/powermgr/display_manager/state_manager/service/zidl/src/ |
H A D | display_power_mgr_stub.cpp | 393 bool isScuu = BoostBrightness(timeoutMs, id); in BoostBrightnessStub() 395 DISPLAY_HILOGW(COMP_SVC, "Failed to write BoostBrightness return value"); in BoostBrightnessStub()
|
H A D | display_power_mgr_proxy.cpp | 676 bool DisplayPowerMgrProxy::BoostBrightness(int32_t timeoutMs, uint32_t displayId) in BoostBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrProxy
|
/base/powermgr/power_manager/utils/shell/src/ |
H A D | power_shell_command.cpp | 556 bool ret = DisplayPowerMgrClient::GetInstance().BoostBrightness(static_cast<uint32_t>(value)); in RunAsDisplayCommandBoost()
|