Home
last modified time | relevance | path

Searched refs:DisplayPowerMgr (Results 1 – 25 of 99) sorted by relevance

1234

/base/powermgr/power_manager/services/native/src/actions/default/display/
Ddevice_state_action.cpp28 using namespace DisplayPowerMgr;
60 DisplayPowerMgr::DisplayState state = DisplayPowerMgrClient::GetInstance().GetDisplayState(); in GetDisplayState()
64 case DisplayPowerMgr::DisplayState::DISPLAY_ON: in GetDisplayState()
67 case DisplayPowerMgr::DisplayState::DISPLAY_DIM: in GetDisplayState()
70 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: in GetDisplayState()
73 case DisplayPowerMgr::DisplayState::DISPLAY_SUSPEND: in GetDisplayState()
76 case DisplayPowerMgr::DisplayState::DISPLAY_UNKNOWN: in GetDisplayState()
125 DisplayPowerMgr::DisplayState dispState = DisplayPowerMgr::DisplayState::DISPLAY_ON; in SetDisplayState()
130 dispState = DisplayPowerMgr::DisplayState::DISPLAY_ON; in SetDisplayState()
139 dispState = DisplayPowerMgr::DisplayState::DISPLAY_DIM; in SetDisplayState()
[all …]
Ddevice_state_action.h46 class DisplayPowerCallback : public DisplayPowerMgr::DisplayPowerCallbackStub {
49 …void OnDisplayStateChanged(uint32_t displayId, DisplayPowerMgr::DisplayState state, uint32_t reaso…
/base/powermgr/display_manager/state_manager/test/unittest/src/mock/
Ddisplay_mock_parcel_test.cpp29 using namespace OHOS::DisplayPowerMgr;
55 …EXPECT_FALSE(sptrDisplayProxy->SetDisplayState(DISPLAY_ID, DisplayPowerMgr::DisplayState::DISPLAY_… in DisplayProxyTestFunc()
56 …EXPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, sptrDisplayProxy->GetDisplayState(DISPLAY_ID)… in DisplayProxyTestFunc()
76 uint32_t displayId, DisplayPowerMgr::DisplayState state, uint32_t reason) in OnDisplayStateChanged()
90 auto& client = DisplayPowerMgr::DisplayPowerMgrClient::GetInstance();
93 EXPECT_FALSE(client.SetDisplayState(DisplayPowerMgr::DisplayState::DISPLAY_ON));
94 EXPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, client.GetDisplayState(DISPLAY_ID));
122 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr::DisplayPowerMgrProxy>(nullptr);
139 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr::DisplayPowerMgrProxy>(nullptr);
154 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr::DisplayPowerMgrProxy>(sptrRemoteObj);
Ddisplay_mock_object_test.cpp25 using namespace OHOS::DisplayPowerMgr;
43 uint32_t displayId, DisplayPowerMgr::DisplayState state, uint32_t reason) in OnDisplayStateChanged()
58 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr::DisplayPowerMgrProxy>(sptrRemoteObj);
59 …EXPECT_FALSE(sptrDisplayProxy->SetDisplayState(DISPLAY_ID, DisplayPowerMgr::DisplayState::DISPLAY_…
60 …EXPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, sptrDisplayProxy->GetDisplayState(DISPLAY_ID)…
Ddisplay_mock_test.cpp30 using namespace OHOS::DisplayPowerMgr;
49 uint32_t displayId, DisplayPowerMgr::DisplayState state, uint32_t reason) in OnDisplayStateChanged()
95 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr::DisplayPowerMgrProxy>(sptrRemoteObj);
96 …EXPECT_FALSE(sptrDisplayProxy->SetDisplayState(DISPLAY_ID, DisplayPowerMgr::DisplayState::DISPLAY_…
97 …EXPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, sptrDisplayProxy->GetDisplayState(DISPLAY_ID)…
/base/powermgr/display_manager/state_manager/test/unittest/include/mock/
Ddisplay_mock_parcel_test.h27 …static void DisplayProxyTestFunc(std::shared_ptr<DisplayPowerMgr::DisplayPowerMgrProxy>& sptrDispl…
28 class DisplayPowerMgrTestCallback : public OHOS::DisplayPowerMgr::DisplayPowerCallbackStub {
33 … uint32_t displayId, OHOS::DisplayPowerMgr::DisplayState state, uint32_t reason) override;
Ddisplay_mock_object_test.h27 class DisplayPowerMgrTestCallback : public OHOS::DisplayPowerMgr::DisplayPowerCallbackStub {
32 … uint32_t displayId, OHOS::DisplayPowerMgr::DisplayState state, uint32_t reason) override;
Ddisplay_mock_test.h27 class DisplayPowerMgrTestCallback : public OHOS::DisplayPowerMgr::DisplayPowerCallbackStub {
32 … uint32_t displayId, OHOS::DisplayPowerMgr::DisplayState state, uint32_t reason) override;
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_display_test.cpp34 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in SetLastBrightness()
35 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in SetLastBrightness()
87 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON);
88 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);
118 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON);
119 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);
148 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON);
149 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);
182 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON);
183 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);
[all …]
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_display_test.cpp43 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in SetLastBrightness()
44 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in SetLastBrightness()
111 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON);
112 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);
147 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON);
148 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);
182 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON);
183 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);
221 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON);
222 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);
[all …]
/base/powermgr/power_manager/test/unittest/src/
Ddevice_state_action_native_test.cpp47 DisplayPowerMgr::DisplayState stateType = DisplayPowerMgr::DisplayState::DISPLAY_ON;
52 stateType = DisplayPowerMgr::DisplayState::DISPLAY_OFF;
55 stateType = DisplayPowerMgr::DisplayState::DISPLAY_UNKNOWN;
/base/powermgr/display_manager/brightness_manager/src/
Dcalculation_config_parser.cpp25 namespace DisplayPowerMgr { namespace
30 using namespace OHOS::DisplayPowerMgr;
Dconfig_parser.cpp21 namespace DisplayPowerMgr { namespace
27 using namespace OHOS::DisplayPowerMgr;
/base/powermgr/display_manager/state_manager/interfaces/inner_api/native/include/
Ddisplay_power_info.h20 namespace DisplayPowerMgr {
Didisplay_brightness_callback.h23 namespace DisplayPowerMgr {
Didisplay_power_callback.h25 namespace DisplayPowerMgr {
Ddisplay_power_callback_stub.h24 namespace DisplayPowerMgr {
Ddisplay_brightness_callback_stub.h24 namespace DisplayPowerMgr {
/base/powermgr/display_manager/state_manager/test/fuzztest/display_utils/
Ddisplay_fuzzer.h30 OHOS::sptr<OHOS::DisplayPowerMgr::DisplayPowerMgrService> service_ {nullptr};
/base/powermgr/display_manager/state_manager/utils/native/include/
Ddisplay_mgr_errors.h22 namespace DisplayPowerMgr {
/base/powermgr/display_manager/brightness_manager/include/
Dilight_lux_manager.h22 namespace DisplayPowerMgr {
Dbrightness_dimming_callback.h22 namespace DisplayPowerMgr {
/base/powermgr/display_manager/state_manager/service/zidl/include/
Ddisplay_brightness_callback_proxy.h29 namespace DisplayPowerMgr {
Ddisplay_power_callback_proxy.h29 namespace DisplayPowerMgr {
/base/powermgr/display_manager/state_manager/service/native/include/
Ddisplay_param_helper.h26 namespace DisplayPowerMgr {

1234