Lines Matching refs:eventHubId
1179 virtual std::shared_ptr<InputDevice> createDeviceLocked(int32_t eventHubId, in createDeviceLocked() argument
1187 return InputReader::createDeviceLocked(eventHubId, identifier); in createDeviceLocked()
1491 void addDevice(int32_t eventHubId, const std::string& name, Flags<InputDeviceClass> classes, in addDevice() argument
1493 mFakeEventHub->addDevice(eventHubId, name, classes); in addDevice()
1496 mFakeEventHub->addConfigurationMap(eventHubId, configuration); in addDevice()
1515 FakeInputMapper& addDeviceWithFakeInputMapper(int32_t deviceId, int32_t eventHubId, in addDeviceWithFakeInputMapper() argument
1520 FakeInputMapper& mapper = device->addMapper<FakeInputMapper>(eventHubId, sources); in addDeviceWithFakeInputMapper()
1522 addDevice(eventHubId, name, classes, configuration); in addDeviceWithFakeInputMapper()
1592 constexpr int32_t eventHubId = 1; in TEST_F() local
1595 device->addMapper<FakeInputMapper>(eventHubId, AINPUT_SOURCE_KEYBOARD); in TEST_F()
1597 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1629 constexpr int32_t eventHubId = 1; in TEST_F() local
1631 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
1662 constexpr int32_t eventHubId = 1; in TEST_F() local
1664 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
1695 constexpr int32_t eventHubId = 1; in TEST_F() local
1697 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
1728 constexpr int32_t eventHubId = 1; in TEST_F() local
1730 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
1768 constexpr int32_t eventHubId = 1; in TEST_F() local
1769 addDevice(eventHubId, "ignored", InputDeviceClass::KEYBOARD, nullptr); in TEST_F()
1781 constexpr int32_t eventHubId = 1; in TEST_F() local
1784 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
1787 mFakeEventHub->enqueueEvent(when, readTime, eventHubId, EV_KEY, KEY_A, 1); in TEST_F()
1795 ASSERT_EQ(eventHubId, event.deviceId); in TEST_F()
1804 constexpr int32_t eventHubId = 1; in TEST_F() local
1807 device->addMapper<FakeInputMapper>(eventHubId, AINPUT_SOURCE_KEYBOARD); in TEST_F()
1809 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1837 constexpr int32_t eventHubId = 1; in TEST_F() local
1840 device->addMapper<FakeInputMapper>(eventHubId, AINPUT_SOURCE_KEYBOARD); in TEST_F()
1852 constexpr int32_t eventHubId = 1; in TEST_F() local
1856 device->addMapper<FakeInputMapper>(eventHubId, AINPUT_SOURCE_TOUCHSCREEN); in TEST_F()
1878 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1995 constexpr int32_t eventHubId = 1; in TEST_F() local
1999 device->addMapper<FakeVibratorInputMapper>(eventHubId, AINPUT_SOURCE_KEYBOARD); in TEST_F()
2002 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
2055 constexpr int32_t eventHubId = 1; in TEST_F() local
2059 device->addController<FakePeripheralController>(eventHubId); in TEST_F()
2062 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
2071 constexpr int32_t eventHubId = 1; in TEST_F() local
2075 device->addController<FakePeripheralController>(eventHubId); in TEST_F()
2078 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
2087 constexpr int32_t eventHubId = 1; in TEST_F() local
2091 device->addController<FakePeripheralController>(eventHubId); in TEST_F()
2101 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
2698 const std::string& location, int32_t eventHubId, in newDevice() argument
2707 mFakeEventHub->addDevice(eventHubId, name, classes); in newDevice()
8736 const std::string& location, int32_t eventHubId, in newDevice() argument
8745 mFakeEventHub->addDevice(eventHubId, name, classes); in newDevice()