Lines Matching refs:eventHubIds
1544 constexpr int32_t eventHubIds[2] = {END_RESERVED_ID, END_RESERVED_ID + 1}; in TEST_F() local
1548 device->addMapper<FakeInputMapper>(eventHubIds[0], AINPUT_SOURCE_KEYBOARD); in TEST_F()
1549 device->addMapper<FakeInputMapper>(eventHubIds[1], AINPUT_SOURCE_KEYBOARD); in TEST_F()
1555 addDevice(eventHubIds[0], "fake1", InputDeviceClass::KEYBOARD, nullptr)); in TEST_F()
1557 addDevice(eventHubIds[1], "fake2", InputDeviceClass::KEYBOARD, nullptr)); in TEST_F()
1565 constexpr int32_t eventHubIds[2] = {END_RESERVED_ID, END_RESERVED_ID + 1}; in TEST_F() local
1569 device->addMapper<FakeInputMapper>(eventHubIds[0], AINPUT_SOURCE_KEYBOARD); in TEST_F()
1570 device->addMapper<FakeInputMapper>(eventHubIds[1], AINPUT_SOURCE_KEYBOARD); in TEST_F()
1576 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubIds[0], "fake1", in TEST_F()
1580 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1583 addDevice(eventHubIds[1], "fake2", InputDeviceClass::KEYBOARD, nullptr)); in TEST_F()
1585 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
1897 constexpr int32_t eventHubIds[2] = {END_RESERVED_ID, END_RESERVED_ID + 1}; in TEST_F() local
1900 device->addMapper<FakeInputMapper>(eventHubIds[0], AINPUT_SOURCE_KEYBOARD); in TEST_F()
1901 device->addMapper<FakeInputMapper>(eventHubIds[1], AINPUT_SOURCE_KEYBOARD); in TEST_F()
1904 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubIds[0], "fake1", deviceClass, nullptr)); in TEST_F()
1905 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubIds[1], "fake2", deviceClass, nullptr)); in TEST_F()
1913 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1914 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
1922 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1923 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
1931 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1932 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
1938 constexpr int32_t eventHubIds[2] = {END_RESERVED_ID, END_RESERVED_ID + 1}; in TEST_F() local
1942 device->addMapper<FakeInputMapper>(eventHubIds[0], AINPUT_SOURCE_KEYBOARD); in TEST_F()
1944 device->addMapper<FakeInputMapper>(eventHubIds[1], AINPUT_SOURCE_KEYBOARD); in TEST_F()
1947 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubIds[0], "fake1", deviceClass, nullptr)); in TEST_F()
1948 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubIds[1], "fake2", deviceClass, nullptr)); in TEST_F()