Home
last modified time | relevance | path

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

/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp42 using DeviceCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&)>; typedef
45 static const DeviceCbFunc kNoopDeviceCb = [](const std::shared_ptr<InputDeviceNode>&){}; in __anon5f3141d90202()
54 void setDeviceAddedCallback(const DeviceCbFunc& cb) { mDeviceAddedCb = cb; } in setDeviceAddedCallback()
55 void setDeviceRemovedCallback(const DeviceCbFunc& cb) { mDeviceRemovedCb = cb; } in setDeviceRemovedCallback()
70 DeviceCbFunc mDeviceAddedCb;
71 DeviceCbFunc mDeviceRemovedCb;