Home
last modified time | relevance | path

Searched refs:DEVICE_ID (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java39 private static final int DEVICE_ID = 0; field in KeyEventTest
48 METASTATE, DEVICE_ID, SCAN_CODE, FLAGS, SOURCE, CHARACTERS); in testObtain()
55 assertEquals(DEVICE_ID, keyEvent.getDeviceId()); in testObtain()
66 METASTATE, DEVICE_ID, SCAN_CODE, FLAGS, SOURCE, CHARACTERS); in testObtainFromKeyEvent()
86 METASTATE, DEVICE_ID, SCAN_CODE, FLAGS, SOURCE, displayId, CHARACTERS); in testObtainWithDisplayId()
93 assertEquals(DEVICE_ID, keyEvent.getDeviceId()); in testObtainWithDisplayId()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp32 static const int32_t DEVICE_ID = 1; variable
218 event.initialize(DEVICE_ID, AINPUT_SOURCE_KEYBOARD, ADISPLAY_ID_NONE, in TEST_F()
227 event.initialize(DEVICE_ID, AINPUT_SOURCE_KEYBOARD, ADISPLAY_ID_NONE, in TEST_F()
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()
[all …]
DInputReader_test.cpp1597 static const int32_t DEVICE_ID; member in android::InputDeviceTest
1615 mFakeEventHub->addDevice(DEVICE_ID, DEVICE_NAME, 0); in SetUp()
1618 mDevice = new InputDevice(mFakeContext, DEVICE_ID, DEVICE_GENERATION, in SetUp()
1633 const int32_t InputDeviceTest::DEVICE_ID = 1; member in android::InputDeviceTest
1640 ASSERT_EQ(DEVICE_ID, mDevice->getId()); in TEST_F()
1660 ASSERT_EQ(DEVICE_ID, resetArgs.deviceId); in TEST_F()
1668 ASSERT_EQ(DEVICE_ID, info.getId()); in TEST_F()
1693 mFakeEventHub->addConfigurationProperty(DEVICE_ID, String8("key"), String8("value")); in TEST_F()
1730 ASSERT_EQ(DEVICE_ID, resetArgs.deviceId); in TEST_F()
1738 ASSERT_EQ(DEVICE_ID, info.getId()); in TEST_F()
[all …]