Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1188 constexpr int32_t FIRST_DEVICE_ID = END_RESERVED_ID + 1000; in TEST_F() local
1189 constexpr int32_t SECOND_DEVICE_ID = FIRST_DEVICE_ID + 1; in TEST_F()
1191 addDeviceWithFakeInputMapper(FIRST_DEVICE_ID, FIRST_DEVICE_ID, "first", in TEST_F()
1203 .deviceId(FIRST_DEVICE_ID) in TEST_F()
1205 mFakeEventHub->enqueueEvent(ARBITRARY_TIME, ARBITRARY_TIME, FIRST_DEVICE_ID, 0, 0, 0); in TEST_F()
1221 .deviceId(FIRST_DEVICE_ID) in TEST_F()
1223 mFakeEventHub->enqueueEvent(ARBITRARY_TIME, ARBITRARY_TIME, FIRST_DEVICE_ID, 0, 0, 0); in TEST_F()
1229 .deviceId(FIRST_DEVICE_ID) in TEST_F()
1231 mFakeEventHub->enqueueEvent(ARBITRARY_TIME, ARBITRARY_TIME, FIRST_DEVICE_ID, 0, 0, 0); in TEST_F()
1233 ASSERT_EQ(FIRST_DEVICE_ID, mReader->getLastUsedInputDeviceId()); in TEST_F()
[all …]