Home
last modified time | relevance | path

Searched refs:BoostBrightness (Results 1 - 23 of 23) sorted by relevance

/base/powermgr/display_manager/brightness_manager/src/
H A Dbrightness_manager.cpp147 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 Dbrightness_manager_ext.cpp186 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 Dbrightness_service.cpp915 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 Ddisplay_power_mgr_brightness_test.cpp318 * @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 Dbrightness_manager.h45 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
H A Dbrightness_manager_ext.h45 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
H A Dbrightness_service.h131 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
/base/powermgr/display_manager/brightness_manager/test/unittest/src/
H A Dbrightness_manager_ext_test.cpp71 retBool = g_BrightnessManagerExt.BoostBrightness(10000); in HWTEST_F()
164 bool retBool = g_BrightnessManagerExt.BoostBrightness(0, 0); in HWTEST_F()
H A Dmock_brightness_manager_interface.cpp105 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 Ddisplay_mock_object_test.cpp78 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in HWTEST_F()
H A Ddisplay_mock_parcel_test.cpp75 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in DisplayProxyTestFunc()
114 EXPECT_FALSE(client.BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in HWTEST_F()
H A Ddisplay_mock_test.cpp124 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in HWTEST_F()
/base/powermgr/display_manager/state_manager/interfaces/inner_api/native/include/
H A Didisplay_power_mgr.h50 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) = 0;
H A Ddisplay_power_mgr_client.h55 bool BoostBrightness(int32_t timeoutMs, uint32_t displayId = 0);
/base/powermgr/display_manager/state_manager/service/native/include/
H A Dscreen_controller.h64 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
H A Ddisplay_power_mgr_service.h65 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) override;
/base/powermgr/display_manager/state_manager/service/zidl/include/
H A Ddisplay_power_mgr_proxy.h58 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) override;
/base/powermgr/display_manager/state_manager/frameworks/native/
H A Ddisplay_power_mgr_client.cpp216 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 Dscreen_controller.cpp226 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 Ddisplay_power_mgr_service.cpp533 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 Ddisplay_power_mgr_stub.cpp393 bool isScuu = BoostBrightness(timeoutMs, id); in BoostBrightnessStub()
395 DISPLAY_HILOGW(COMP_SVC, "Failed to write BoostBrightness return value"); in BoostBrightnessStub()
H A Ddisplay_power_mgr_proxy.cpp676 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 Dpower_shell_command.cpp556 bool ret = DisplayPowerMgrClient::GetInstance().BoostBrightness(static_cast<uint32_t>(value)); in RunAsDisplayCommandBoost()

Completed in 15 milliseconds