Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidItem.h26 struct HidItem { struct
38 friend std::istream& operator>>(std::istream &is, HidItem &h); argument
39 friend std::ostream& operator<<(std::ostream &os, const HidItem &h);
42 static std::vector<HidItem> tokenize(const std::vector<uint8_t> &descriptor);
43 static std::vector<HidItem> tokenize(const uint8_t *begin, size_t size);
44 static std::vector<HidItem> tokenize(std::istream &is);
48 std::istream& operator>>(std::istream &is, HidUtil::HidItem &h);
51 std::ostream& operator<<(std::ostream &os, const HidUtil::HidItem &h);
DHidItem.cpp23 bool HidItem::dataAsUnsigned(unsigned int *out) const { in dataAsUnsigned()
38 bool HidItem::dataAsSigned(int *out) const { in dataAsSigned()
49 std::vector<HidItem> HidItem::tokenize(const uint8_t *begin, size_t size) { in tokenize()
56 std::vector<HidItem> HidItem::tokenize(const std::vector<uint8_t> &descriptor) { in tokenize()
63 std::vector<HidItem> HidItem::tokenize(std::istream &is) { in tokenize()
64 std::vector<HidItem> hidToken; in tokenize()
69 HidItem i; in tokenize()
80 std::istream& operator>>(std::istream &is, HidUtil::HidItem &h) { in operator >>()
118 std::ostream& operator<<(std::ostream &os, const HidUtil::HidItem &h) { in operator <<()
DHidGlobal.h27 bool append(const HidItem &i);
50 bool append(const HidItem &i);
DHidGlobal.cpp23 bool HidGlobal::append(const HidItem &i) { in append()
95 bool HidGlobalStack::append(const HidItem &i) { in append()
DHidLocal.h30 bool append(const HidItem &i);
DHidParser.cpp31 bool HidParser::parse(const std::vector<HidItem> &token) { in parse()
62 bool HidParser::processMainTag(const HidItem &i) { in processMainTag()
133 std::vector<HidItem> hidItemVector = HidItem::tokenize(begin, size); in parse()
DHidParser.h50 bool parse(const std::vector<HidItem> &token);
73 bool processMainTag(const HidItem &i);
DHidLocal.cpp52 bool HidLocal::append(const HidItem &i) { in append()
DAndroid.bp43 "HidItem.cpp",
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DHidParserExample2.cpp29 void printToken(const std::vector<HidItem> &hidItemVector) { in printToken()
50 std::vector<HidItem> hidItemVector = HidItem::tokenize(descriptor); in main()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensorDaemon.h35 using HidUtil::HidItem;
DHidRawDevice.cpp32 using HidUtil::HidItem;
166 std::vector<HidItem> tokens = HidItem::tokenize(mDeviceInfo.descriptor); in generateDigest()