Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DTouchVideoDevice.cpp39 TouchVideoDevice::TouchVideoDevice(int fd, std::string&& name, std::string&& devicePath, in TouchVideoDevice() function in android::TouchVideoDevice
51 std::unique_ptr<TouchVideoDevice> TouchVideoDevice::create(std::string devicePath) { in create()
156 return std::unique_ptr<TouchVideoDevice>(new TouchVideoDevice(fd.release(), std::move(name), in create()
161 size_t TouchVideoDevice::readAndQueueFrames() { in readAndQueueFrames()
180 std::vector<TouchVideoFrame> TouchVideoDevice::consumeFrames() { in consumeFrames()
186 std::optional<TouchVideoFrame> TouchVideoDevice::readFrame() { in readFrame()
221 std::vector<TouchVideoFrame> TouchVideoDevice::readFrames() { in readFrames()
233 TouchVideoDevice::~TouchVideoDevice() { in ~TouchVideoDevice()
248 std::string TouchVideoDevice::dump() const { in dump()
DAndroid.bp57 "TouchVideoDevice.cpp",
DEventHub.cpp1520 std::unique_ptr<TouchVideoDevice>& videoDevice = *it; in getEvents()
1800 void EventHub::registerVideoDeviceForEpollLocked(const TouchVideoDevice& videoDevice) { in registerVideoDeviceForEpollLocked()
1821 void EventHub::unregisterVideoDeviceFromEpollLocked(const TouchVideoDevice& videoDevice) { in unregisterVideoDeviceFromEpollLocked()
2163 std::unique_ptr<TouchVideoDevice> videoDevice = TouchVideoDevice::create(devicePath); in openVideoDeviceLocked()
2183 std::unique_ptr<TouchVideoDevice>& videoDevice) { in tryAddVideoDeviceLocked()
2305 const std::unique_ptr<TouchVideoDevice>& videoDevice) { in closeVideoDeviceByPathLocked()
2460 for (const std::unique_ptr<TouchVideoDevice>& videoDevice : mUnattachedVideoDevices) { in dump()
/frameworks/native/services/inputflinger/reader/include/
DTouchVideoDevice.h33 class TouchVideoDevice {
39 static std::unique_ptr<TouchVideoDevice> create(std::string devicePath);
40 ~TouchVideoDevice();
112 explicit TouchVideoDevice(int fd, std::string&& name, std::string&& devicePath, uint32_t height,
DEventHub.h553 std::unique_ptr<TouchVideoDevice> videoDevice;
623 bool tryAddVideoDeviceLocked(Device& device, std::unique_ptr<TouchVideoDevice>& videoDevice)
637 void registerVideoDeviceForEpollLocked(const TouchVideoDevice& videoDevice) REQUIRES(mLock);
639 void unregisterVideoDeviceFromEpollLocked(const TouchVideoDevice& videoDevice) REQUIRES(mLock);
690 std::vector<std::unique_ptr<TouchVideoDevice>> mUnattachedVideoDevices;