Home
last modified time | relevance | path

Searched refs:DISPLAY_ID (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSizeCompatModeActivityControllerTest.java48 private static final int DISPLAY_ID = 0; field in SizeCompatModeActivityControllerTest
78 mTaskStackListener.onSizeCompatModeActivityChanged(DISPLAY_ID, mMockActivityToken); in testOnSizeCompatModeActivityChanged()
83 mTaskStackListener.onSizeCompatModeActivityChanged(DISPLAY_ID, null /* activityToken */); in testOnSizeCompatModeActivityChanged()
89 mTaskStackListener.onSizeCompatModeActivityChanged(DISPLAY_ID, mMockActivityToken); in testChangeButtonVisibilityOnImeShowHide()
93 mController.setImeWindowStatus(DISPLAY_ID, null /* token */, InputMethodService.IME_VISIBLE, in testChangeButtonVisibilityOnImeShowHide()
99 mController.setImeWindowStatus(DISPLAY_ID, null /* token */, 0 /* vis */, in testChangeButtonVisibilityOnImeShowHide()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp35 static const int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; variable
253 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
262 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
271 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
281 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
290 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
300 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
308 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
319 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
328 event.initialize(DEVICE_ID, source, DISPLAY_ID, in TEST_F()
[all …]
DInputReader_test.cpp40 static const int32_t DISPLAY_ID = 0; variable
41 static const int32_t SECONDARY_DISPLAY_ID = DISPLAY_ID + 1;
1096 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1126 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1129 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1578 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1587 ASSERT_FALSE(mReader->canDispatchToDisplay(deviceId, DISPLAY_ID)); in TEST_F()
1965 setDisplayInfoAndReconfigure(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in prepareDisplay()
2268 setDisplayInfoAndReconfigure(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_ORIENTATION_0, in TEST_F()
2274 ASSERT_EQ(DISPLAY_ID, args.displayId); in TEST_F()
[all …]
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp27 static constexpr int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; variable
181 event.initialize(2, AINPUT_SOURCE_GAMEPAD, DISPLAY_ID, AKEY_EVENT_ACTION_DOWN, in TEST_F()
188 ASSERT_EQ(DISPLAY_ID, event.getDisplayId()); in TEST_F()
257 event->initialize(2, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, AMOTION_EVENT_ACTION_MOVE, 0, in initializeEventWithHistory()
310 ASSERT_EQ(DISPLAY_ID, event->getDisplayId()); in assertEqualsEventWithHistory()
573 event.initialize(0 /*deviceId*/, AINPUT_SOURCE_UNKNOWN, DISPLAY_ID, AMOTION_EVENT_ACTION_MOVE, in TEST_F()
628 event.initialize(0 /*deviceId*/, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, in TEST_F()
DVelocityTracker_test.cpp32 constexpr int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; // default display id variable
179 event.initialize(0 /*deviceId*/, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, in createMotionEventStream()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp327 using DISPLAY_ID = DisplayIdGetter<DisplayIdType>; typedef
353 FakeDisplayDeviceInjector(test->mFlinger, DISPLAY_ID::get(), in makeFakeExistingDisplayInjector()
433 const auto displayId = DisplayVariant::DISPLAY_ID::get(); in injectHwcDisplayWithNoDefaultCapabilities()
1415 : Case::Display::DISPLAY_ID::get(); in setupNewDisplayDeviceInternalTest()
1419 mFlinger.setupNewDisplayDeviceInternal(displayToken, Case::Display::DISPLAY_ID::get(), in setupNewDisplayDeviceInternalTest()
1426 EXPECT_EQ(Case::Display::DISPLAY_ID::get(), device->getId()); in setupNewDisplayDeviceInternalTest()
1461 const auto displayId = Case::Display::DISPLAY_ID::get(); in TEST_F()
1552 onHotplugReceived(ResultOf(convert, Case::Display::DISPLAY_ID::get()), connected)) in expectHotplugReceived()
1595 : Case::Display::DISPLAY_ID::get(), in verifyDisplayIsConnected()
1603 : Case::Display::DISPLAY_ID::get(), in verifyDisplayIsConnected()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardController.java37 import static com.android.server.am.KeyguardOccludedProto.DISPLAY_ID;
551 proto.write(DISPLAY_ID, mDisplayId); in writeToProto()
DWindowState.java130 import static com.android.server.wm.WindowStateProto.DISPLAY_ID;
3550 proto.write(DISPLAY_ID, getDisplayId()); in writeToProto()
DActivityStack.java52 import static com.android.server.am.ActivityStackProto.DISPLAY_ID;
5800 proto.write(DISPLAY_ID, mDisplayId); in writeToProto()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt53292 Landroid/os/SystemPropertiesProto$Ro$Build;->DISPLAY_ID:J