/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SizeCompatModeActivityControllerTest.java | 49 private static final int DISPLAY_ID = 0; field in SizeCompatModeActivityControllerTest 79 mTaskStackListener.onSizeCompatModeActivityChanged(DISPLAY_ID, mMockActivityToken); in testOnSizeCompatModeActivityChanged() 84 mTaskStackListener.onSizeCompatModeActivityChanged(DISPLAY_ID, null /* activityToken */); in testOnSizeCompatModeActivityChanged() 90 mTaskStackListener.onSizeCompatModeActivityChanged(DISPLAY_ID, mMockActivityToken); in testChangeButtonVisibilityOnImeShowHide() 94 mController.setImeWindowStatus(DISPLAY_ID, null /* token */, InputMethodService.IME_VISIBLE, in testChangeButtonVisibilityOnImeShowHide() 100 mController.setImeWindowStatus(DISPLAY_ID, null /* token */, 0 /* vis */, in testChangeButtonVisibilityOnImeShowHide()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/ |
D | SysUiStateTest.java | 42 private static final int DISPLAY_ID = DEFAULT_DISPLAY; field in SysUiStateTest 76 .commitUpdate(DISPLAY_ID); in addMultipleRemoveOne_setFlag() 96 .commitUpdate(DISPLAY_ID); in addMultipleRemoveOne_setFlags() 117 mFlagsContainer.commitUpdate(DISPLAY_ID); in setFlags()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VerifiedKeyEventTest.kt | 42 assertEquals(DISPLAY_ID, event.displayId) in testConstructor() 132 private const val DISPLAY_ID = 2 constant 143 return VerifiedKeyEvent(DEVICE_ID, EVENT_TIME_NANOS, SOURCE, DISPLAY_ID, ACTION, in createVerifiedKeyEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | LogicalDisplayTest.java | 34 private static final int DISPLAY_ID = 0; field in LogicalDisplayTest 51 mLogicalDisplay = new LogicalDisplay(DISPLAY_ID, LAYER_STACK, mDisplayDevice); in setUp()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 27 static constexpr int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; variable 186 event.initialize(id, 2, AINPUT_SOURCE_GAMEPAD, DISPLAY_ID, HMAC, AKEY_EVENT_ACTION_DOWN, in TEST_F() 194 ASSERT_EQ(DISPLAY_ID, event.getDisplayId()); in TEST_F() 266 event->initialize(mId, 2, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, HMAC, in initializeEventWithHistory() 321 ASSERT_EQ(DISPLAY_ID, event->getDisplayId()); in assertEqualsEventWithHistory() 587 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_UNKNOWN, DISPLAY_ID, in TEST_F() 653 DISPLAY_ID, INVALID_HMAC, AMOTION_EVENT_ACTION_DOWN, 0, 0, in TEST_F() 673 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_MOUSE, DISPLAY_ID, in TEST_F()
|
D | VelocityTracker_test.cpp | 32 constexpr int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; // default display id variable 180 DISPLAY_ID, INVALID_HMAC, action, 0 /*actionButton*/, 0 /*flags*/, in createMotionEventStream()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 408 using DISPLAY_ID = DisplayIdGetter<DisplayIdType>; typedef 436 if (auto displayId = DISPLAY_ID::get()) { in makeFakeExistingDisplayInjector() 527 const auto displayId = DisplayVariant::DISPLAY_ID::get(); in injectHwcDisplayWithNoDefaultCapabilities() 555 .setPhysical({*DisplayVariant::DISPLAY_ID::get(), in injectCompositionDisplay() 747 compositionDisplay->setDisplayIdForTesting(Base::DISPLAY_ID::get()); in injectCompositionDisplay() 750 if (const auto displayId = Base::DISPLAY_ID::get()) { in injectCompositionDisplay() 1793 const auto displayId = Case::Display::DISPLAY_ID::get(); in setupNewDisplayDeviceInternalTest() 1809 EXPECT_EQ(Case::Display::DISPLAY_ID::get(), device->getId()); in setupNewDisplayDeviceInternalTest() 1929 onHotplugReceived(ResultOf(convert, Case::Display::DISPLAY_ID::get()), connected)) in expectHotplugReceived() 1969 const auto displayId = Case::Display::DISPLAY_ID::get(); in verifyDisplayIsConnected() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 47 static const int32_t DISPLAY_ID = 0; variable 48 static const int32_t SECONDARY_DISPLAY_ID = DISPLAY_ID + 1; 1195 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1225 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1228 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1710 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1727 ASSERT_FALSE(mReader->canDispatchToDisplay(deviceId, DISPLAY_ID)); in TEST_F() 1885 setDisplayInfoAndReconfigure(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in SetUp() 2424 setDisplayInfoAndReconfigure(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in prepareDisplay() 2629 testDPadKeyRotation(mapper, KEY_UP, AKEYCODE_DPAD_UP, AKEYCODE_DPAD_UP, DISPLAY_ID)); in TEST_F() [all …]
|
D | InputDispatcher_test.cpp | 42 static const int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; variable 435 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 446 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 458 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 471 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 483 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 496 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 507 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 520 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 532 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | KeyguardController.java | 40 import static com.android.server.wm.KeyguardOccludedProto.DISPLAY_ID; 544 proto.write(DISPLAY_ID, mDisplayId); in dumpDebug()
|
D | ActivityStack.java | 89 import static com.android.server.wm.TaskProto.DISPLAY_ID; 3364 proto.write(DISPLAY_ID, getDisplayId()); in dumpDebug()
|
D | WindowState.java | 156 import static com.android.server.wm.WindowStateProto.DISPLAY_ID; 3913 proto.write(DISPLAY_ID, getDisplayId()); in dumpDebug()
|