Home
last modified time | relevance | path

Searched refs:DisplayPowerMgr (Results 1 - 25 of 106) sorted by relevance

12345

/base/powermgr/display_manager/brightness_manager/test/unittest/include/
H A Dmock_brightness_manager_interface.h22 namespace DisplayPowerMgr { namespace
26 void MockInitBrightnessManagerExt(OHOS::DisplayPowerMgr::BrightnessManagerExt& ext);
27 void MockDeInitBrightnessManagerExt(OHOS::DisplayPowerMgr::BrightnessManagerExt& ext);
29 } // namespace DisplayPowerMgr
/base/powermgr/power_manager/services/native/src/actions/default/display/
H A Ddevice_state_action.cpp30 using namespace DisplayPowerMgr;
62 DisplayPowerMgr::DisplayState state = DisplayPowerMgrClient::GetInstance().GetDisplayState(); in GetDisplayState()
66 case DisplayPowerMgr::DisplayState::DISPLAY_ON: in GetDisplayState()
69 case DisplayPowerMgr::DisplayState::DISPLAY_DIM: in GetDisplayState()
72 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: in GetDisplayState()
75 case DisplayPowerMgr::DisplayState::DISPLAY_SUSPEND: in GetDisplayState()
78 case DisplayPowerMgr::DisplayState::DISPLAY_UNKNOWN: in GetDisplayState()
209 DisplayPowerMgr::DisplayState dispState = DisplayPowerMgr::DisplayState::DISPLAY_ON; in SetDisplayState()
213 dispState = DisplayPowerMgr in SetDisplayState()
[all...]
H A Ddevice_state_action.h49 class DisplayPowerCallback : public DisplayPowerMgr::DisplayPowerCallbackStub {
52 void OnDisplayStateChanged(uint32_t displayId, DisplayPowerMgr::DisplayState state, uint32_t reason) override;
/base/powermgr/display_manager/state_manager/test/unittest/src/mock/
H A 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); in HWTEST_F()
59 EXPECT_FALSE(sptrDisplayProxy->SetDisplayState(DISPLAY_ID, DisplayPowerMgr::DisplayState::DISPLAY_ON, REASON)); in HWTEST_F()
60 EXPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, sptrDisplayProxy->GetDisplayState(DISPLAY_ID)); in HWTEST_F()
H A Ddisplay_mock_parcel_test.cpp33 using namespace OHOS::DisplayPowerMgr;
59 EXPECT_FALSE(sptrDisplayProxy->SetDisplayState(DISPLAY_ID, DisplayPowerMgr::DisplayState::DISPLAY_ON, REASON)); in DisplayProxyTestFunc()
60 EXPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, sptrDisplayProxy->GetDisplayState(DISPLAY_ID)); in DisplayProxyTestFunc()
80 uint32_t displayId, DisplayPowerMgr::DisplayState state, uint32_t reason) in OnDisplayStateChanged()
95 auto& client = DisplayPowerMgr::DisplayPowerMgrClient::GetInstance(); in HWTEST_F()
98 EXPECT_FALSE(client.SetDisplayState(DisplayPowerMgr::DisplayState::DISPLAY_ON)); in HWTEST_F()
99 EXPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, client.GetDisplayState(DISPLAY_ID)); in HWTEST_F()
129 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr::DisplayPowerMgrProxy>(nullptr); in HWTEST_F()
148 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr::DisplayPowerMgrProxy>(nullptr); in HWTEST_F()
165 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr in HWTEST_F()
[all...]
H A Ddisplay_mock_test.cpp34 using namespace OHOS::DisplayPowerMgr;
53 uint32_t displayId, DisplayPowerMgr::DisplayState state, uint32_t reason) in OnDisplayStateChanged()
104 auto sptrDisplayProxy = std::make_shared<DisplayPowerMgr::DisplayPowerMgrProxy>(sptrRemoteObj); in HWTEST_F()
105 EXPECT_FALSE(sptrDisplayProxy->SetDisplayState(DISPLAY_ID, DisplayPowerMgr::DisplayState::DISPLAY_ON, REASON)); in HWTEST_F()
106 EXPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, sptrDisplayProxy->GetDisplayState(DISPLAY_ID)); in HWTEST_F()
/base/powermgr/display_manager/state_manager/test/unittest/include/mock/
H A Ddisplay_mock_parcel_test.h27 static void DisplayProxyTestFunc(std::shared_ptr<DisplayPowerMgr::DisplayPowerMgrProxy>& sptrDisplayProxy);
28 class DisplayPowerMgrTestCallback : public OHOS::DisplayPowerMgr::DisplayPowerCallbackStub {
33 uint32_t displayId, OHOS::DisplayPowerMgr::DisplayState state, uint32_t reason) override;
H A Ddisplay_mock_object_test.h27 class DisplayPowerMgrTestCallback : public OHOS::DisplayPowerMgr::DisplayPowerCallbackStub {
32 uint32_t displayId, OHOS::DisplayPowerMgr::DisplayState state, uint32_t reason) override;
H A 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/servicetest/
H A Dstats_service_display_test.cpp44 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in SetLastBrightness()
45 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in SetLastBrightness()
113 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in HWTEST_F()
114 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in HWTEST_F()
151 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in HWTEST_F()
152 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in HWTEST_F()
188 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in HWTEST_F()
189 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in HWTEST_F()
229 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in HWTEST_F()
230 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr in HWTEST_F()
[all...]
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_display_test.cpp35 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in SetLastBrightness()
36 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in SetLastBrightness()
89 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in HWTEST_F()
90 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in HWTEST_F()
122 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in HWTEST_F()
123 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in HWTEST_F()
154 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in HWTEST_F()
155 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in HWTEST_F()
190 int32_t stateOn = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_ON); in HWTEST_F()
191 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr in HWTEST_F()
[all...]
/base/powermgr/power_manager/test/unittest/src/
H A Ddevice_state_action_native_test.cpp47 DisplayPowerMgr::DisplayState stateType = DisplayPowerMgr::DisplayState::DISPLAY_ON; in HWTEST_F()
52 stateType = DisplayPowerMgr::DisplayState::DISPLAY_OFF; in HWTEST_F()
55 stateType = DisplayPowerMgr::DisplayState::DISPLAY_UNKNOWN; in HWTEST_F()
/base/powermgr/display_manager/brightness_manager/src/
H A Dcalculation_config_parser.cpp25 namespace DisplayPowerMgr { namespace
30 using namespace OHOS::DisplayPowerMgr;
57 } // namespace DisplayPowerMgr
H A Dbrightness_config_parser.cpp25 namespace DisplayPowerMgr { namespace
30 using namespace OHOS::DisplayPowerMgr;
53 } // namespace DisplayPowerMgr
H A Dconfig_parser.cpp21 namespace DisplayPowerMgr { namespace
27 using namespace OHOS::DisplayPowerMgr;
80 } // namespace DisplayPowerMgr
/base/powermgr/display_manager/state_manager/interfaces/inner_api/native/include/
H A Ddisplay_power_info.h20 namespace DisplayPowerMgr { namespace
32 } // namespace DisplayPowerMgr
H A Didisplay_brightness_callback.h23 namespace DisplayPowerMgr { namespace
30 } // namespace DisplayPowerMgr
H A Didisplay_power_callback.h25 namespace DisplayPowerMgr { namespace
32 } // namespace DisplayPowerMgr
H A Ddisplay_brightness_callback_stub.h24 namespace DisplayPowerMgr { namespace
34 } // namespace DisplayPowerMgr
H A Ddisplay_power_callback_stub.h24 namespace DisplayPowerMgr { namespace
32 } // namespace DisplayPowerMgr
/base/powermgr/display_manager/state_manager/test/fuzztest/display_utils/
H A Ddisplay_fuzzer.h30 OHOS::sptr<OHOS::DisplayPowerMgr::DisplayPowerMgrService> service_ {nullptr};
/base/powermgr/display_manager/brightness_manager/include/
H A Dbrightness_dimming_callback.h22 namespace DisplayPowerMgr { namespace
37 } // namespace DisplayPowerMgr
H A Dilight_lux_manager.h22 namespace DisplayPowerMgr { namespace
/base/powermgr/display_manager/state_manager/service/native/include/
H A Ddisplay_param_helper.h26 namespace DisplayPowerMgr { namespace
43 } // namespace DisplayPowerMgr
/base/powermgr/display_manager/state_manager/service/zidl/include/
H A Ddisplay_brightness_callback_proxy.h29 namespace DisplayPowerMgr { namespace
39 } // namespace DisplayPowerMgr

Completed in 12 milliseconds

12345