Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawDeviceTest.cpp45 LOG_V << "Sizeof descriptor: " << info.descriptor.size() << LOG_ENDL; in test()
46 LOG_V << "Descriptor: " << LOG_ENDL; in test()
50 LOG_E << "invalid device" << LOG_ENDL; in test()
54 LOG_V << "Digest: " << LOG_ENDL; in test()
62 LOG_E << "cannot get feature " << featureId << LOG_ENDL; in test()
64 LOG_V << "Dump of feature " << featureId << LOG_ENDL; in test()
76 LOG_E << "Sensor is not valid " << LOG_ENDL; in test()
81 LOG_V << "Sensor name: " << s->name << ", vendor: " << s->vendor << LOG_ENDL; in test()
82 LOG_V << sensor->dump() << LOG_ENDL; in test()
88 << LOG_ENDL; in test()
[all …]
DHidRawSensorTest.cpp124 LOG_E << name << " parsing error!" << LOG_ENDL; in test()
130 LOG_V << name << " digest: " << LOG_ENDL; in test()
135 LOG_V << name << " does not contain interested usage" << LOG_ENDL; in test()
139 LOG_V << name << " sensor: " << LOG_ENDL; in test()
141 LOG_I << "Sensor usage " << std::hex << digest.fullUsage << std::dec << LOG_ENDL; in test()
144 LOG_V << "Usage " << std::hex << digest.fullUsage << std::dec << LOG_ENDL; in test()
148 << " not valid!" << LOG_ENDL; in test()
151 LOG_V << LOG_ENDL; in test()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DHidParserExample.cpp35 LOG_V << name << " filtered tree: " << LOG_ENDL; in doParse()
39 LOG_E << name << " parsing error!" << LOG_ENDL; in doParse()
58 LOG_V << name << " filtered tree: " << LOG_ENDL; in doParseAndFilter()
62 LOG_E << name << " parsing error!" << LOG_ENDL; in doParseAndFilter()
88 LOG_E << name << " parsing error!" << LOG_ENDL; in doDigest()
94 LOG_V << name << " digest: " << LOG_ENDL; in doDigest()
102 LOG_V << "Usage: " << argv0 << " test_name" << LOG_ENDL; in printUsage()
103 LOG_V << " test_name can be parse, parse_filter, digest." << LOG_ENDL; in printUsage()
110 LOG_E << "Error: need param" << LOG_ENDL; in main()
122 LOG_E << "Error: unknown test name" << LOG_ENDL; in main()
DHidParserExample2.cpp30 LOG_V << "Total " << hidItemVector.size() << " tokens" << LOG_ENDL; in printToken()
32 LOG_V << i << LOG_ENDL; in printToken()
60 LOG_V << "Tree: " << LOG_ENDL; in main()
62 LOG_V << LOG_ENDL; in main()
65 LOG_V << "FilteredTree: " << LOG_ENDL; in main()
68 LOG_V << "DigestVector: " << LOG_ENDL; in main()
74 LOG_V << "Parsing Error" << LOG_ENDL; in main()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp51 LOG_E << "populate feature from feature report failed" << LOG_ENDL; in HidRawSensor()
56 LOG_E << "finding sensor control usage failed" << LOG_ENDL; in HidRawSensor()
111 << std::hex << usage << std::dec << LOG_ENDL; in HidRawSensor()
115 LOG_E << "Accuracy field must align to byte" << LOG_ENDL; in HidRawSensor()
119 LOG_E << "Accuracy field value range must be [0, 2]" << LOG_ENDL; in HidRawSensor()
139 LOG_E << "Invalid android custom sensor" << LOG_ENDL; in HidRawSensor()
160 LOG_E << "Cannot find CUSTOM_VALUE_X in custom sensor" << LOG_ENDL; in HidRawSensor()
169 LOG_E << "Custome usage " << digest.usage << ", min must < max" << LOG_ENDL; in HidRawSensor()
177 << LOG_ENDL; in HidRawSensor()
198 … LOG_I << "Custom usage has more than 16 inputs, ignore the rest" << LOG_ENDL; in HidRawSensor()
[all …]
DHidRawDevice.cpp41 << LOG_ENDL; in HidRawDevice()
47 LOG_E << "Error obtaining HidRaw device information" << LOG_ENDL; in HidRawDevice()
52 LOG_E << "Cannot parse hid descriptor" << LOG_ENDL; in HidRawDevice()
63 << "is used by more than one usage collection" << LOG_ENDL; in HidRawDevice()
76 << LOG_ENDL; in HidRawDevice()
193 LOG_E << "HidRawDevice::getFeature: unknown feature " << id << LOG_ENDL; in getFeature()
207 << " ioctl returns " << res << " (" << ::strerror(res) << ")" << LOG_ENDL; in getFeature()
213 << " returned " << res << " bytes, does not match expected " << size << LOG_ENDL; in getFeature()
218 << " result has header " << mIoBuffer.front() << LOG_ENDL; in getFeature()
232 LOG_E << "HidRawDevice::setFeature: Unknown feature " << id << LOG_ENDL; in setFeature()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.cpp50 LOG_E << "HidParser found illegal HidItem: " << i << LOG_ENDL; in parse()
71 LOG_E << "Cannot get collection type at offset " << i.offset << LOG_ENDL; in processMainTag()
85 LOG_E << "unmatched END_COLLECTION at " << i.offset << LOG_ENDL; in processMainTag()
95 LOG_E << "Cannot get report flag at offset " << i.offset << LOG_ENDL; in processMainTag()
106 << " does not have all mandatory fields set" << LOG_ENDL; in processMainTag()
112 << " has unsupported report size(> 32 bit)" << LOG_ENDL; in processMainTag()
124 LOG_E << "unknown main tag, " << i << LOG_ENDL; in processMainTag()
288 << ", " << i.packets.size() << " report packet:" << LOG_ENDL; in operator <<()
293 << packet.reports.size() << " entries" << LOG_ENDL; in operator <<()
312 << std::dec << LOG_ENDL; in operator <<()
[all …]
DHidGlobal.cpp26 LOG_E << "HidGlobal::append cannot process tag that is not global, " << i << LOG_ENDL; in append()
31 LOG_E << "PUSH and POP should be handled in HidGlobalStack, " << i << LOG_ENDL; in append()
84 LOG_E << "unknown global tag, " << i << LOG_ENDL; in append()
89 LOG_E << "Cannot get signed / unsigned data at " << i << LOG_ENDL; in append()
DHidLocal.cpp71 LOG_E << "usage min not set when saw usage max " << i << LOG_ENDL; in append()
92 LOG_E << "string min not set when saw string max " << i << LOG_ENDL; in append()
109 LOG_E << "unknown local tag, " << i << LOG_ENDL; in append()
113 LOG_E << "Cannot get unsigned data at " << i << LOG_ENDL; in append()
DHidLog.h21 #define LOG_ENDL "" macro
29 #define LOG_ENDL std::endl macro
DHidTree.cpp42 << ", usage " << std::hex << mFullUsage << std::dec << LOG_ENDL; in outputRecursive()
110 os << mReport << LOG_ENDL; in outputRecursive()
DStreamIoUtil.h159 os << ss.str() << LOG_ENDL; in hexdumpToStream()
172 os << ss.str() << LOG_ENDL; in hexdumpToStream()