Lines Matching refs:eventHubId

619     void addDevice(int32_t eventHubId, const std::string& name,  in addDevice()  argument
621 mFakeEventHub->addDevice(eventHubId, name, classes); in addDevice()
624 mFakeEventHub->addConfigurationMap(eventHubId, configuration); in addDevice()
644 FakeInputMapper& addDeviceWithFakeInputMapper(int32_t deviceId, int32_t eventHubId, in addDeviceWithFakeInputMapper() argument
651 device->addMapper<FakeInputMapper>(eventHubId, in addDeviceWithFakeInputMapper()
654 addDevice(eventHubId, name, classes, configuration); in addDeviceWithFakeInputMapper()
752 constexpr int32_t eventHubId = 1; in TEST_F() local
755 device->addMapper<FakeInputMapper>(eventHubId, mFakePolicy->getReaderConfiguration(), in TEST_F()
758 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
790 constexpr int32_t eventHubId = 1; in TEST_F() local
792 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
822 constexpr int32_t eventHubId = 1; in TEST_F() local
823 FakeInputMapper& mapper = addDeviceWithFakeInputMapper(deviceId, eventHubId, "keyboard", in TEST_F()
841 constexpr int32_t eventHubId = 1; in TEST_F() local
842 FakeInputMapper& mapper = addDeviceWithFakeInputMapper(deviceId, eventHubId, "joystick", in TEST_F()
854 constexpr int32_t eventHubId = 1; in TEST_F() local
856 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
887 constexpr int32_t eventHubId = 1; in TEST_F() local
889 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
920 constexpr int32_t eventHubId = 1; in TEST_F() local
922 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
963 constexpr int32_t eventHubId = 1; in TEST_F() local
964 addDevice(eventHubId, "ignored", InputDeviceClass::KEYBOARD, nullptr); in TEST_F()
976 constexpr int32_t eventHubId = 1; in TEST_F() local
979 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
982 mFakeEventHub->enqueueEvent(when, readTime, eventHubId, EV_KEY, KEY_A, 1); in TEST_F()
990 ASSERT_EQ(eventHubId, event.deviceId); in TEST_F()
999 constexpr int32_t eventHubId = 1; in TEST_F() local
1002 device->addMapper<FakeInputMapper>(eventHubId, mFakePolicy->getReaderConfiguration(), in TEST_F()
1005 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1033 constexpr int32_t eventHubId = 1; in TEST_F() local
1036 device->addMapper<FakeInputMapper>(eventHubId, mFakePolicy->getReaderConfiguration(), in TEST_F()
1049 constexpr int32_t eventHubId = 1; in TEST_F() local
1053 device->addMapper<FakeInputMapper>(eventHubId, mFakePolicy->getReaderConfiguration(), in TEST_F()
1075 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1276 constexpr int32_t eventHubId = 1; in TEST_F() local
1280 device->addMapper<FakeVibratorInputMapper>(eventHubId, in TEST_F()
1285 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1342 constexpr int32_t eventHubId = 1; in TEST_F() local
1346 device->addController<FakePeripheralController>(eventHubId); in TEST_F()
1349 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1360 constexpr int32_t eventHubId = 1; in TEST_F() local
1364 device->addController<FakePeripheralController>(eventHubId); in TEST_F()
1367 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1378 constexpr int32_t eventHubId = 1; in TEST_F() local
1381 device->addController<FakePeripheralController>(eventHubId); in TEST_F()
1384 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1392 constexpr int32_t eventHubId = 1; in TEST_F() local
1396 device->addController<FakePeripheralController>(eventHubId); in TEST_F()
1406 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
10210 const std::string& location, int32_t eventHubId, in newDevice() argument
10219 mFakeEventHub->addDevice(eventHubId, name, classes); in newDevice()