Home
last modified time | relevance | path

Searched refs:expectedDisplayId (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DFakeWindows.h82 std::optional<ui::LogicalDisplayId> expectedDisplayId,
253 inline void consumeKeyDown(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) {
255 WithDisplayId(expectedDisplayId), WithFlags(expectedFlags)));
258 inline void consumeKeyUp(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) {
260 WithDisplayId(expectedDisplayId), WithFlags(expectedFlags)));
264 ui::LogicalDisplayId expectedDisplayId = ui::LogicalDisplayId::DEFAULT,
267 WithDisplayId(expectedDisplayId),
272 ui::LogicalDisplayId expectedDisplayId = ui::LogicalDisplayId::DEFAULT,
275 WithDisplayId(expectedDisplayId),
280 ui::LogicalDisplayId expectedDisplayId = ui::LogicalDisplayId::DEFAULT,
[all …]
DFakeWindows.cpp84 std::optional<ui::LogicalDisplayId> expectedDisplayId, in consumeEvent() argument
93 if (expectedDisplayId.has_value()) { in consumeEvent()
94 EXPECT_EQ(expectedDisplayId, event->getDisplayId()); in consumeEvent()
DInputDispatcher_test.cpp447 void consumeKeyDown(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeKeyDown() argument
448 mInputReceiver.consumeEvent(InputEventType::KEY, AKEY_EVENT_ACTION_DOWN, expectedDisplayId, in consumeKeyDown()
459 void consumeMotionDown(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeMotionDown() argument
461 expectedDisplayId, expectedFlags); in consumeMotionDown()
464 void consumeMotionMove(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeMotionMove() argument
466 expectedDisplayId, expectedFlags); in consumeMotionMove()
469 void consumeMotionUp(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeMotionUp() argument
471 expectedDisplayId, expectedFlags); in consumeMotionUp()
474 void consumeMotionCancel(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeMotionCancel() argument
477 WithDisplayId(expectedDisplayId), in consumeMotionCancel()
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp105 void expectHotplugEventReceivedByConnection(PhysicalDisplayId expectedDisplayId,
107 void expectConfigChangedEventReceivedByConnection(PhysicalDisplayId expectedDisplayId,
112 void expectUidFrameRateMappingEventReceivedByConnection(PhysicalDisplayId expectedDisplayId,
338 void EventThreadTest::expectHotplugEventReceivedByConnection(PhysicalDisplayId expectedDisplayId, in expectHotplugEventReceivedByConnection() argument
344 EXPECT_EQ(expectedDisplayId, event.header.displayId); in expectHotplugEventReceivedByConnection()
349 PhysicalDisplayId expectedDisplayId, int32_t expectedConfigId, in expectConfigChangedEventReceivedByConnection() argument
355 EXPECT_EQ(expectedDisplayId, event.header.displayId); in expectConfigChangedEventReceivedByConnection()
361 PhysicalDisplayId expectedDisplayId, std::vector<FrameRateOverride> expectedOverrides) { in expectUidFrameRateMappingEventReceivedByConnection() argument
367 EXPECT_EQ(expectedDisplayId, event.header.displayId); in expectUidFrameRateMappingEventReceivedByConnection()
376 EXPECT_EQ(expectedDisplayId, event.header.displayId); in expectUidFrameRateMappingEventReceivedByConnection()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java95 private static void assertDecorContextDisplay(int expectedDisplayId, in assertDecorContextDisplay() argument
98 assertEquals(expectedDisplayId, associatedDisplay.getDisplayId()); in assertDecorContextDisplay()