/base/powermgr/power_manager/services/native/src/actions/default/display/ |
D | device_state_action.cpp | 28 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 …]
|
D | device_state_action.h | 46 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/ |
D | display_mock_parcel_test.cpp | 29 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);
|
D | display_mock_object_test.cpp | 25 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)…
|
D | display_mock_test.cpp | 30 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/ |
D | display_mock_parcel_test.h | 27 …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;
|
D | display_mock_object_test.h | 27 class DisplayPowerMgrTestCallback : public OHOS::DisplayPowerMgr::DisplayPowerCallbackStub { 32 … uint32_t displayId, OHOS::DisplayPowerMgr::DisplayState state, uint32_t reason) override;
|
D | display_mock_test.h | 27 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/ |
D | stats_display_test.cpp | 34 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/ |
D | stats_service_display_test.cpp | 43 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/ |
D | device_state_action_native_test.cpp | 47 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/ |
D | calculation_config_parser.cpp | 25 namespace DisplayPowerMgr { namespace 30 using namespace OHOS::DisplayPowerMgr;
|
D | config_parser.cpp | 21 namespace DisplayPowerMgr { namespace 27 using namespace OHOS::DisplayPowerMgr;
|
/base/powermgr/display_manager/state_manager/interfaces/inner_api/native/include/ |
D | display_power_info.h | 20 namespace DisplayPowerMgr {
|
D | idisplay_brightness_callback.h | 23 namespace DisplayPowerMgr {
|
D | idisplay_power_callback.h | 25 namespace DisplayPowerMgr {
|
D | display_power_callback_stub.h | 24 namespace DisplayPowerMgr {
|
D | display_brightness_callback_stub.h | 24 namespace DisplayPowerMgr {
|
/base/powermgr/display_manager/state_manager/test/fuzztest/display_utils/ |
D | display_fuzzer.h | 30 OHOS::sptr<OHOS::DisplayPowerMgr::DisplayPowerMgrService> service_ {nullptr};
|
/base/powermgr/display_manager/state_manager/utils/native/include/ |
D | display_mgr_errors.h | 22 namespace DisplayPowerMgr {
|
/base/powermgr/display_manager/brightness_manager/include/ |
D | ilight_lux_manager.h | 22 namespace DisplayPowerMgr {
|
D | brightness_dimming_callback.h | 22 namespace DisplayPowerMgr {
|
/base/powermgr/display_manager/state_manager/service/zidl/include/ |
D | display_brightness_callback_proxy.h | 29 namespace DisplayPowerMgr {
|
D | display_power_callback_proxy.h | 29 namespace DisplayPowerMgr {
|
/base/powermgr/display_manager/state_manager/service/native/include/ |
D | display_param_helper.h | 26 namespace DisplayPowerMgr {
|