Home
last modified time | relevance | path

Searched refs:RestoreBrightness (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/base/powermgr/display_manager/brightness_manager/src/
H A Dbrightness_manager.cpp138 bool BrightnessManager::RestoreBrightness(uint32_t gradualDuration) in RestoreBrightness() function in OHOS::DisplayPowerMgr::BrightnessManager
141 return mBrightnessManagerExt.RestoreBrightness(gradualDuration); in RestoreBrightness()
143 return BrightnessService::Get().RestoreBrightness(gradualDuration); in RestoreBrightness()
H A Dbrightness_manager_ext.cpp322 bool BrightnessManagerExt::RestoreBrightness(uint32_t gradualDuration) in RestoreBrightness() function in OHOS::DisplayPowerMgr::BrightnessManagerExt
H A Dbrightness_service.cpp392 RestoreBrightness(0); in SetDisplayState()
897 bool BrightnessService::RestoreBrightness(uint32_t gradualDuration) in RestoreBrightness() function in OHOS::DisplayPowerMgr::BrightnessService
/ohos5.0/base/powermgr/display_manager/state_manager/test/unittest/src/
H A Ddisplay_power_mgr_brightness_test.cpp58 DisplayPowerMgrClient::GetInstance().RestoreBrightness(); in TearDown()
278 DisplayPowerMgrClient::GetInstance().RestoreBrightness();
307 ret = DisplayPowerMgrClient::GetInstance().RestoreBrightness();
435 ret = DisplayPowerMgrClient::GetInstance().RestoreBrightness(); // restore
476 ret = DisplayPowerMgrClient::GetInstance().RestoreBrightness();
495 bool isRestore = DisplayPowerMgrClient::GetInstance().RestoreBrightness();
575 DisplayPowerMgrClient::GetInstance().RestoreBrightness();
691 bool isRestore = DisplayPowerMgrClient::GetInstance().RestoreBrightness();
/ohos5.0/base/powermgr/display_manager/brightness_manager/test/unittest/src/
H A Dmock_brightness_manager_interface.cpp100 bool RestoreBrightness(uint32_t gradualDuration) in RestoreBrightness() function
177 ext.mRestoreBrightnessFunc = reinterpret_cast<void*>(RestoreBrightness); in MockInitBrightnessManagerExt()
H A Dbrightness_manager_ext_test.cpp67 retBool = g_BrightnessManagerExt.RestoreBrightness();
153 retBool = g_BrightnessManagerExt.RestoreBrightness(0);
H A Dbrightness_service_test.cpp41 DisplayPowerMgrClient::GetInstance().RestoreBrightness(); in TearDown()
H A Dbrightness_manager_test.cpp41 DisplayPowerMgrClient::GetInstance().RestoreBrightness(); in TearDown()
/ohos5.0/base/powermgr/display_manager/state_manager/test/unittest/src/mock/
H A Ddisplay_mock_parcel_test.cpp62 EXPECT_FALSE(sptrDisplayProxy->RestoreBrightness(DISPLAY_ID)); in DisplayProxyTestFunc()
100 EXPECT_FALSE(client.RestoreBrightness(DISPLAY_ID));
H A Ddisplay_mock_object_test.cpp68 EXPECT_FALSE(sptrDisplayProxy->RestoreBrightness(DISPLAY_ID));
H A Ddisplay_mock_test.cpp105 EXPECT_FALSE(sptrDisplayProxy->RestoreBrightness(DISPLAY_ID));
/ohos5.0/base/powermgr/display_manager/state_manager/frameworks/native/
H A Ddisplay_power_mgr_client.cpp148 bool DisplayPowerMgrClient::RestoreBrightness(uint32_t displayId, uint32_t duration) in RestoreBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrClient
152 return proxy->RestoreBrightness(displayId, duration); in RestoreBrightness()
/ohos5.0/base/powermgr/display_manager/brightness_manager/include/
H A Dbrightness_manager.h44 bool RestoreBrightness(uint32_t gradualDuration = 0);
H A Dbrightness_manager_ext.h44 bool RestoreBrightness(uint32_t gradualDuration = 0);
H A Dbrightness_service.h130 bool RestoreBrightness(uint32_t gradualDuration = 0);
/ohos5.0/base/powermgr/display_manager/state_manager/interfaces/inner_api/native/include/
H A Didisplay_power_mgr.h41 virtual bool RestoreBrightness(uint32_t displayId, uint32_t duration = 500) = 0;
H A Ddisplay_power_mgr_client.h46 bool RestoreBrightness(uint32_t displayId = 0, uint32_t duration = 500);
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_display_power_mgr_client.cpp81 bool DisplayPowerMgrClient::RestoreBrightness(uint32_t displayId, uint32_t duration) in RestoreBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrClient
/ohos5.0/base/powermgr/display_manager/state_manager/service/native/include/
H A Dscreen_controller.h63 bool RestoreBrightness(uint32_t gradualDuration = 0);
H A Ddisplay_power_mgr_service.h57 virtual bool RestoreBrightness(uint32_t displayId, uint32_t duration = 500) override;
/ohos5.0/base/powermgr/display_manager/state_manager/service/zidl/include/
H A Ddisplay_power_mgr_proxy.h49 virtual bool RestoreBrightness(uint32_t displayId, uint32_t duration = 500) override;
/ohos5.0/base/powermgr/display_manager/state_manager/service/native/src/
H A Ddisplay_power_mgr_service.cpp369 bool DisplayPowerMgrService::RestoreBrightness(uint32_t displayId, uint32_t duration) in RestoreBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrService
380 bool ret = BrightnessManager::Get().RestoreBrightness(duration); in RestoreBrightness()
384 return iter->second->RestoreBrightness(); in RestoreBrightness()
H A Dscreen_controller.cpp213 bool ScreenController::RestoreBrightness(uint32_t gradualDuration) in RestoreBrightness() function in OHOS::DisplayPowerMgr::ScreenController
/ohos5.0/base/useriam/face_auth/services_ex/src/
H A Dscreen_brightness_task.cpp163 if (!DisplayPowerMgrClient::GetInstance().RestoreBrightness(displayId)) { in RestoreScreenBrightness()
/ohos5.0/base/powermgr/power_manager/utils/shell/src/
H A Dpower_shell_command.cpp531 bool ret = DisplayPowerMgrClient::GetInstance().RestoreBrightness(); in RunAsDisplayCommandRestore()

12