/hardware/libhardware/modules/sensors/dynamic_sensor/test/ |
H A D | HidRawDeviceTest.cpp | 45 LOG_V << "Sizeof descriptor: " << info.descriptor.size() << LOG_ENDL; 46 LOG_V << "Descriptor: " << LOG_ENDL; local 50 LOG_E << "invalid device" << LOG_ENDL; local 54 LOG_V << "Digest: " << LOG_ENDL; local 62 LOG_E << "cannot get feature " << featureId << LOG_ENDL; local 64 LOG_V << "Dump of feature " << featureId << LOG_ENDL; local 76 LOG_E << "Sensor is not valid " << LOG_ENDL; local 81 LOG_V << "Sensor name: " << s->name << ", vendor: " << s->vendor << LOG_ENDL; 82 LOG_V << sensor->dump() << LOG_ENDL; 88 << LOG_ENDL; 103 LOG_E << "Receive report error" << LOG_ENDL; local 112 LOG_V << "Done!" << LOG_ENDL; local 120 LOG_E << "Usage: " << argv[0] << " hidraw-dev-path" << LOG_ENDL; local [all...] |
H A D | HidRawSensorTest.cpp | 124 LOG_E << name << " parsing error!" << LOG_ENDL; local 130 LOG_V << name << " digest: " << LOG_ENDL; local 135 LOG_V << name << " does not contain interested usage" << LOG_ENDL; local 139 LOG_V << name << " sensor: " << LOG_ENDL; local 141 LOG_I << "Sensor usage " << std::hex << digest.fullUsage << std::dec << LOG_ENDL; 144 LOG_V << "Usage " << std::hex << digest.fullUsage << std::dec << LOG_ENDL; 148 << " not valid!" << LOG_ENDL; 151 LOG_V << LOG_ENDL; local
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/ |
H A D | HidParserExample2.cpp | 30 LOG_V << "Total " << hidItemVector.size() << " tokens" << LOG_ENDL; 32 LOG_V << i << LOG_ENDL; local 60 LOG_V << "Tree: " << LOG_ENDL; local 62 LOG_V << LOG_ENDL; local 65 LOG_V << "FilteredTree: " << LOG_ENDL; local 68 LOG_V << "DigestVector: " << LOG_ENDL; local 74 LOG_V << "Parsing Error" << LOG_ENDL; local
|
H A D | HidParserExample.cpp | 35 LOG_V << name << " filtered tree: " << LOG_ENDL; local 39 LOG_E << name << " parsing error!" << LOG_ENDL; local 58 LOG_V << name << " filtered tree: " << LOG_ENDL; local 62 LOG_E << name << " parsing error!" << LOG_ENDL; local 88 LOG_E << name << " parsing error!" << LOG_ENDL; local 94 LOG_V << name << " digest: " << LOG_ENDL; local 102 LOG_V << "Usage: " << argv0 << " test_name" << LOG_ENDL; local 103 LOG_V << " test_name can be parse, parse_filter, digest." << LOG_ENDL; local 110 LOG_E << "Error: need param" << LOG_ENDL; local 122 LOG_E << "Error: unknown test name" << LOG_ENDL; local [all...] |
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
H A D | HidLog.h | 21 #define LOG_ENDL "" macro 29 #define LOG_ENDL std::endl macro
|
H A D | HidGlobal.cpp | 26 LOG_E << "HidGlobal::append cannot process tag that is not global, " << i << LOG_ENDL; local 31 LOG_E << "PUSH and POP should be handled in HidGlobalStack, " << i << LOG_ENDL; local 84 LOG_E << "unknown global tag, " << i << LOG_ENDL; local 89 LOG_E << "Cannot get signed / unsigned data at " << i << LOG_ENDL; local
|
H A D | HidLocal.cpp | 71 LOG_E << "usage min not set when saw usage max " << i << LOG_ENDL; local 92 LOG_E << "string min not set when saw string max " << i << LOG_ENDL; local 109 LOG_E << "unknown local tag, " << i << LOG_ENDL; local 113 LOG_E << "Cannot get unsigned data at " << i << LOG_ENDL; local
|
H A D | HidParser.cpp | 50 LOG_E << "HidParser found illegal HidItem: " << i << LOG_ENDL; local 71 LOG_E << "Cannot get collection type at offset " << i.offset << LOG_ENDL; 85 LOG_E << "unmatched END_COLLECTION at " << i.offset << LOG_ENDL; 95 LOG_E << "Cannot get report flag at offset " << i.offset << LOG_ENDL; 106 << " does not have all mandatory fields set" << LOG_ENDL; 112 << " has unsupported report size(> 32 bit)" << LOG_ENDL; 124 LOG_E << "unknown main tag, " << i << LOG_ENDL; local 287 << ", " << i.packets.size() << " report packet:" << LOG_ENDL; 292 << packet.reports.size() << " entries" << LOG_ENDL; 311 << std::dec << LOG_ENDL; local 314 os << LOG_ENDL; local 316 os << LOG_ENDL; local [all...] |
H A D | HidTree.cpp | 42 << ", usage " << std::hex << mFullUsage << std::dec << LOG_ENDL; local 110 os << mReport << LOG_ENDL; local
|
H A D | StreamIoUtil.h | 159 os << ss.str() << LOG_ENDL; 172 os << ss.str() << LOG_ENDL;
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
H A D | HidRawSensor.cpp | 49 LOG_E << "populate feature from feature report failed" << LOG_ENDL; local 54 LOG_E << "finding sensor control usage failed" << LOG_ENDL; local 109 << std::hex << usage << std::dec << LOG_ENDL; local 113 LOG_E << "Accuracy field must align to byte" << LOG_ENDL; local 117 LOG_E << "Accuracy field value range must be [0, 2]" << LOG_ENDL; local 137 LOG_E << "Invalid android custom sensor" << LOG_ENDL; local 158 LOG_E << "Cannot find CUSTOM_VALUE_X in custom sensor" << LOG_ENDL; local 167 LOG_E << "Custome usage " << digest.usage << ", min must < max" << LOG_ENDL; 175 << LOG_ENDL; 196 LOG_I << "Custom usage has more than 16 inputs, ignore the rest" << LOG_ENDL; local 214 LOG_I << "unsupported sensor usage " << usage << LOG_ENDL; local 220 << ", sensorValid: " << sensorValid << LOG_ENDL; local 235 LOG_E << "Quaternion usage input must be 16 or 32 bits and aligned at byte boundary" << LOG_ENDL; local 243 LOG_E << "Quaternion usage need 4 inputs with range [-1, 1]" << LOG_ENDL; local 248 LOG_E << "Quaternion usage min must <= max" << LOG_ENDL; local 302 LOG_E << "Three axis sensor does not find all 3 axis" << LOG_ENDL; local 310 LOG_E << "All 3 axis should be in the same report" << LOG_ENDL; local 318 LOG_E << "All 3 axis should have same min and max value and min must < max" << LOG_ENDL; local 322 LOG_E << "All 3 axis should have same resolution" << LOG_ENDL; local 332 "and align at byte boundary" << LOG_ENDL; local 337 LOG_E << "Specified unit for usage is not supported" << LOG_ENDL; local 343 LOG_W << "Scaling for 3 axis are different. It is recommended to keep them the same" << LOG_ENDL; local 659 LOG_E << "Not enough segments in android custom description" << LOG_ENDL; local 690 LOG_W << "Android type " << type << " has not been supported yet" << LOG_ENDL; local 737 LOG_E << "Undefined reporting mode designation " << segments[1] << LOG_ENDL; local 754 LOG_E << "Undefined permission designation " << segments[2] << LOG_ENDL; local 771 LOG_E << "Undefined wake up designation " << segments[3] << LOG_ENDL; local 780 << " wakeUpParsed: " << wakeUpParsed << LOG_ENDL; local 798 LOG_W << "Cannot find valid reporting state feature" << LOG_ENDL; local 812 LOG_W << "Cannot find valid power state feature" << LOG_ENDL; local 825 LOG_W << "Cannot find valid report interval feature" << LOG_ENDL; local 869 LOG_E << "enable: changing POWER STATE failed" << LOG_ENDL; local 883 LOG_E << "enable: changing REPORTING STATE failed" << LOG_ENDL; local 975 LOG_V << "Range error observed in decoding, discard" << LOG_ENDL; local 1007 ss << "Input report id: " << mInputReportId << LOG_ENDL; local 1015 ss << "Control features: " << LOG_ENDL; local 1019 << " offset: " << mPowerStateOffset << LOG_ENDL; local 1021 ss << "not found" << LOG_ENDL; local 1027 << " offset: " << mReportingStateOffset << LOG_ENDL; local 1029 ss << "not found" << LOG_ENDL; local 1036 << " size: " << mReportIntervalSize << LOG_ENDL; local 1038 ss << "not found" << LOG_ENDL; local [all...] |
H A D | HidRawDevice.cpp | 41 << LOG_ENDL; 47 LOG_E << "Error obtaining HidRaw device information" << LOG_ENDL; local 52 LOG_E << "Cannot parse hid descriptor" << LOG_ENDL; local 63 << "is used by more than one usage collection" << LOG_ENDL; 76 << LOG_ENDL; local 193 LOG_E << "HidRawDevice::getFeature: unknown feature " << id << LOG_ENDL; local 207 << " ioctl returns " << res << " (" << ::strerror(res) << ")" << LOG_ENDL; 213 << " returned " << res << " bytes, does not match expected " << size << LOG_ENDL; local 218 << " result has header " << mIoBuffer.front() << LOG_ENDL; 232 LOG_E << "HidRawDevice::setFeature: Unknown feature " << id << LOG_ENDL; local 266 LOG_E << "HidRawDevice::sendReport: unknown output " << id << LOG_ENDL; local 312 LOG_E << "read hidraw returns data too short, len: " << res << LOG_ENDL; local [all...] |