Searched refs:HidItem (Results 1 – 12 of 12) sorted by relevance
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
D | HidItem.h | 26 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);
|
D | HidItem.cpp | 23 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 <<()
|
D | HidGlobal.h | 27 bool append(const HidItem &i); 50 bool append(const HidItem &i);
|
D | HidGlobal.cpp | 23 bool HidGlobal::append(const HidItem &i) { in append() 95 bool HidGlobalStack::append(const HidItem &i) { in append()
|
D | HidLocal.h | 30 bool append(const HidItem &i);
|
D | HidParser.cpp | 31 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()
|
D | HidParser.h | 50 bool parse(const std::vector<HidItem> &token); 73 bool processMainTag(const HidItem &i);
|
D | HidLocal.cpp | 52 bool HidLocal::append(const HidItem &i) { in append()
|
D | Android.bp | 43 "HidItem.cpp",
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/ |
D | HidParserExample2.cpp | 29 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/ |
D | HidRawSensorDaemon.h | 35 using HidUtil::HidItem;
|
D | HidRawDevice.cpp | 32 using HidUtil::HidItem; 166 std::vector<HidItem> tokens = HidItem::tokenize(mDeviceInfo.descriptor); in generateDigest()
|