/ohos5.0/base/powermgr/display_manager/state_manager/test/unittest/src/mock/ |
H A D | display_mock_parcel_test.cpp | 42 static constexpr uint32_t DISPLAY_ID = 0; variable 54 result.push_back(DISPLAY_ID); in DisplayProxyTestFunc() 62 EXPECT_FALSE(sptrDisplayProxy->RestoreBrightness(DISPLAY_ID)); in DisplayProxyTestFunc() 71 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); in DisplayProxyTestFunc() 72 EXPECT_FALSE(sptrDisplayProxy->CancelBoostBrightness(DISPLAY_ID)); in DisplayProxyTestFunc() 92 result.push_back(DISPLAY_ID); 98 EXPECT_FALSE(client.DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID)); 100 EXPECT_FALSE(client.RestoreBrightness(DISPLAY_ID)); 101 EXPECT_NE(BRIGHTNESS_SETTING_VALUE, client.GetBrightness(DISPLAY_ID)); 109 EXPECT_FALSE(client.BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); [all …]
|
H A D | display_mock_object_test.cpp | 34 static constexpr uint32_t DISPLAY_ID = 0; variable 60 …XPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, sptrDisplayProxy->GetDisplayState(DISPLAY_ID)); 62 result.push_back(DISPLAY_ID); 65 EXPECT_FALSE(sptrDisplayProxy->SetBrightness(BRIGHTNESS_SETTING_VALUE, DISPLAY_ID, false)); 66 EXPECT_FALSE(sptrDisplayProxy->DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID)); 67 EXPECT_FALSE(sptrDisplayProxy->OverrideBrightness(BRIGHTNESS_OVERRIDE_VALUE, DISPLAY_ID)); 68 EXPECT_FALSE(sptrDisplayProxy->RestoreBrightness(DISPLAY_ID)); 69 EXPECT_EQ(BRIGHTNESS_NONE_VALUE, sptrDisplayProxy->GetBrightness(DISPLAY_ID)); 70 EXPECT_EQ(BRIGHTNESS_NONE_VALUE, sptrDisplayProxy->GetDeviceBrightness(DISPLAY_ID)); 78 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); [all …]
|
H A D | display_mock_test.cpp | 40 static constexpr uint32_t DISPLAY_ID = 0; variable 97 …XPECT_NE(DisplayPowerMgr::DisplayState::DISPLAY_ON, sptrDisplayProxy->GetDisplayState(DISPLAY_ID)); 99 result.push_back(DISPLAY_ID); 102 EXPECT_FALSE(sptrDisplayProxy->SetBrightness(BRIGHTNESS_SETTING_VALUE, DISPLAY_ID, false)); 103 EXPECT_FALSE(sptrDisplayProxy->DiscountBrightness(DISCOUNT_VALUE, DISPLAY_ID)); 104 EXPECT_FALSE(sptrDisplayProxy->OverrideBrightness(BRIGHTNESS_OVERRIDE_VALUE, DISPLAY_ID)); 105 EXPECT_FALSE(sptrDisplayProxy->RestoreBrightness(DISPLAY_ID)); 106 EXPECT_EQ(BRIGHTNESS_NONE_VALUE, sptrDisplayProxy->GetBrightness(DISPLAY_ID)); 107 EXPECT_EQ(BRIGHTNESS_NONE_VALUE, sptrDisplayProxy->GetDeviceBrightness(DISPLAY_ID)); 115 EXPECT_FALSE(sptrDisplayProxy->BoostBrightness(TIMEOUT_MS, DISPLAY_ID)); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/start_option_display_id_test/ |
H A D | start_option_display_id_test.cpp | 34 constexpr int32_t DISPLAY_ID = 256; variable 68 option.SetDisplayID(DISPLAY_ID); 76 EXPECT_EQ(displayId, DISPLAY_ID); 96 option.SetDisplayID(DISPLAY_ID);
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/start_option_display_id_test/ |
H A D | start_option_display_id_test.cpp | 31 constexpr int32_t DISPLAY_ID = 256; variable 65 option.SetDisplayID(DISPLAY_ID); 73 EXPECT_EQ(displayId, DISPLAY_ID);
|
/ohos5.0/base/msdp/device_status/test/unittest/frameworks/src/ |
H A D | interaction_manager_test.cpp | 60 constexpr int32_t DISPLAY_ID { 0 }; variable 1597 MMI::PointerEvent::SOURCE_TYPE_TOUCHSCREEN, TOUCH_POINTER_ID_INJECT, DISPLAY_ID, 1895 … MMI::PointerEvent::SOURCE_TYPE_MOUSE, MOUSE_POINTER_ID, DISPLAY_ID, { DRAG_SRC_X, DRAG_SRC_Y }); 2107 … MMI::PointerEvent::SOURCE_TYPE_MOUSE, MOUSE_POINTER_ID, DISPLAY_ID, { DRAG_SRC_X, DRAG_SRC_Y }); 2128 … MMI::PointerEvent::SOURCE_TYPE_MOUSE, MOUSE_POINTER_ID, DISPLAY_ID, { DRAG_SRC_X, DRAG_SRC_Y }); 2156 … MMI::PointerEvent::SOURCE_TYPE_MOUSE, MOUSE_POINTER_ID, DISPLAY_ID, { DRAG_SRC_X, DRAG_SRC_Y }); 2584 … MMI::PointerEvent::SOURCE_TYPE_MOUSE, MOUSE_POINTER_ID, DISPLAY_ID, { DRAG_SRC_X, DRAG_SRC_Y }); 2622 … MMI::PointerEvent::SOURCE_TYPE_MOUSE, MOUSE_POINTER_ID, DISPLAY_ID, { DRAG_SRC_X, DRAG_SRC_Y }); 2660 … MMI::PointerEvent::SOURCE_TYPE_MOUSE, MOUSE_POINTER_ID, DISPLAY_ID, { DRAG_SRC_X, DRAG_SRC_Y }); 2698 … MMI::PointerEvent::SOURCE_TYPE_MOUSE, MOUSE_POINTER_ID, DISPLAY_ID, { DRAG_SRC_X, DRAG_SRC_Y }); [all …]
|
H A D | interaction_drag_drawing_test.cpp | 47 constexpr int32_t DISPLAY_ID { 0 }; variable 164 dragData.displayId = DISPLAY_ID; in CreateDragData()
|
/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_info.cpp | 43 const std::string DISPLAY_ID = "displayId"; variable 259 {DISPLAY_ID, displayId_}, in ToJson() 339 jsonObject, jsonObjectEnd, DISPLAY_ID, displayId_, OHOS::AccountSA::JsonType::NUMBER); in FromJson()
|
/ohos5.0/foundation/barrierfree/accessibility/frameworks/aafwk/test/unittest/ |
H A D | accessibility_ui_test_ability_impl_test.cpp | 30 constexpr uint64_t DISPLAY_ID = 1; variable 464 EXPECT_EQ(instance_->GetWindows(DISPLAY_ID, res), RET_ERR_NULLPTR); 483 EXPECT_EQ(instance_->GetWindows(DISPLAY_ID, res), RET_OK);
|
/ohos5.0/base/msdp/device_status/test/unittest/services/unittest/src/ |
H A D | drag_data_manager_test.cpp | 40 constexpr int32_t DISPLAY_ID { 0 }; variable 116 dragData.displayId = DISPLAY_ID; in CreateDragData()
|
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/unittest/ |
H A D | accessible_ability_channel_test.cpp | 37 constexpr uint64_t DISPLAY_ID = 0; variable 340 EXPECT_EQ(channel_->GetWindowsByDisplayId(DISPLAY_ID, windows), RET_OK);
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/src/ |
H A D | intention_service_test.cpp | 52 constexpr int32_t DISPLAY_ID { 0 }; variable 204 dragData.displayId = DISPLAY_ID; in CreateDragData()
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/drag/src/ |
H A D | drag_server_test.cpp | 50 constexpr int32_t DISPLAY_ID { 0 }; variable 222 dragData.displayId = DISPLAY_ID; in CreateDragData()
|
H A D | drag_manager_test.cpp | 40 constexpr int32_t DISPLAY_ID { 0 }; variable 123 dragData.displayId = DISPLAY_ID; in CreateDragData()
|