Searched refs:InputSource (Results 1 – 7 of 7) sorted by relevance
27 InputSource::kevent::kevent() { in kevent()31 bool InputSource::kevent::isKeypress() const { in isKeypress()35 bool InputSource::kevent::isKeydown() const { in isKeydown()39 bool InputSource::kevent::isKeyup() const { in isKeyup()43 InputSource::InputSource(const char* file) : mFilePath(file), mDescriptor(open(file, O_RDONLY)) {} in InputSource() function in InputSource45 InputSource::operator bool() const { in operator bool()49 int InputSource::descriptor() const { in descriptor()53 std::optional<com::android::car::keventreader::KeypressEvent> InputSource::read() const { in read()71 InputSource::~InputSource() { in ~InputSource()
25 class InputSource {27 explicit InputSource(const char* file);35 virtual ~InputSource();
36 std::map<int, std::unique_ptr<InputSource>> mDevices;
24 auto dev = std::make_unique<InputSource>(argv[i]); in EventGatherer()
35 import org.xml.sax.InputSource;87 InputSource inputSource = new InputSource(new StringReader(responseBody)); in parseXmlResponse()
20 import org.xml.sax.InputSource;70 parser.parse(new InputSource(new StringReader(text)), this); in parse()
38 import org.xml.sax.InputSource;489 new InputSource(reader), XPathConstants.STRING);