Searched refs:FakeEventHub (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | FakeEventHub.cpp | 27 const std::string FakeEventHub::BATTERY_DEVPATH = "/sys/devices/mydevice/power_supply/mybattery"; 29 FakeEventHub::~FakeEventHub() { in ~FakeEventHub() 35 void FakeEventHub::addDevice(int32_t deviceId, const std::string& name, in addDevice() 45 void FakeEventHub::removeDevice(int32_t deviceId) { in removeDevice() 52 bool FakeEventHub::isDeviceEnabled(int32_t deviceId) const { in isDeviceEnabled() 61 status_t FakeEventHub::enableDevice(int32_t deviceId) { in enableDevice() 76 status_t FakeEventHub::disableDevice(int32_t deviceId) { in disableDevice() 89 void FakeEventHub::finishDeviceScan() { in finishDeviceScan() 93 void FakeEventHub::addConfigurationProperty(int32_t deviceId, const char* key, const char* value) { in addConfigurationProperty() 97 void FakeEventHub::addConfigurationMap(int32_t deviceId, const PropertyMap* configuration) { in addConfigurationMap() [all …]
|
D | FakeEventHub.h | 35 class FakeEventHub : public EventHubInterface { 104 virtual ~FakeEventHub(); 105 FakeEventHub() {} in FakeEventHub() function
|
D | Android.bp | 55 "FakeEventHub.cpp",
|
D | InputMapperTest.h | 90 std::shared_ptr<FakeEventHub> mFakeEventHub;
|
D | HardwareStateConverter_test.cpp | 46 : mFakeEventHub(std::make_shared<FakeEventHub>()), in HardwareStateConverterTest() 99 std::shared_ptr<FakeEventHub> mFakeEventHub;
|
D | InputMapperTest.cpp | 116 mFakeEventHub = std::make_unique<FakeEventHub>(); in SetUp()
|
D | CapturedTouchpadEventConverter_test.cpp | 42 : mFakeEventHub(std::make_unique<FakeEventHub>()), in CapturedTouchpadEventConverterTest() 115 std::shared_ptr<FakeEventHub> mFakeEventHub;
|
D | InputReader_test.cpp | 602 std::shared_ptr<FakeEventHub> mFakeEventHub; 606 mFakeEventHub = std::make_unique<FakeEventHub>(); in SetUp() 1351 ASSERT_EQ(controller.getBatteryCapacity(FakeEventHub::DEFAULT_BATTERY), in TEST_F() 1352 FakeEventHub::BATTERY_CAPACITY); in TEST_F() 1353 ASSERT_EQ(mReader->getBatteryCapacity(deviceId), FakeEventHub::BATTERY_CAPACITY); in TEST_F() 1369 ASSERT_EQ(controller.getBatteryStatus(FakeEventHub::DEFAULT_BATTERY), in TEST_F() 1370 FakeEventHub::BATTERY_STATUS); in TEST_F() 1371 ASSERT_EQ(mReader->getBatteryStatus(deviceId), FakeEventHub::BATTERY_STATUS); in TEST_F() 1386 ASSERT_EQ(mReader->getBatteryDevicePath(deviceId), FakeEventHub::BATTERY_DEVPATH); in TEST_F() 2603 std::shared_ptr<FakeEventHub> mFakeEventHub; [all …]
|
D | GestureConverter_test.cpp | 60 mFakeEventHub = std::make_unique<FakeEventHub>(); in SetUp() 85 std::shared_ptr<FakeEventHub> mFakeEventHub;
|