Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DHidParserExample.cpp24 HidParser hidParser; in doParse() local
32 bool parseResult = hidParser.parse(p->data, p->len); in doParse()
36 LOG_V << *(hidParser.getTree()); in doParse()
46 HidParser hidParser; in doParseAndFilter() local
54 bool parseResult = hidParser.parse(p->data, p->len); in doParseAndFilter()
57 hidParser.filterTree(); in doParseAndFilter()
59 LOG_V << *(hidParser.getTree()); in doParseAndFilter()
69 HidParser hidParser; in doDigest() local
85 bool parseResult = hidParser.parse(p->data, p->len); in doDigest()
93 hidParser.filterTree(); in doDigest()
[all …]
DHidParserExample2.cpp45 HidParser hidParser; in main() local
56 if (hidParser.parse(hidItemVector)) { in main()
58 std::shared_ptr<HidTreeNode> tree = hidParser.getTree()->deepCopy(); in main()
64 hidParser.filterTree(); in main()
66 LOG_V << *(hidParser.getTree()); in main()
70 HidParser::DigestVector digestVector = hidParser.generateDigest(interested); in main()
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawSensorTest.cpp117 HidParser hidParser; in test() local
123 if (!hidParser.parse(p->data, p->len)) { in test()
129 hidParser.filterTree(); in test()
131 auto digestVector = hidParser.generateDigest(interestedUsage); in test()