Home
last modified time | relevance | path

Searched refs:report (Results 1 – 25 of 73) sorted by relevance

123

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.cpp117 HidReport report(reportType, flag, top, mLocal); in processMainTag() local
118 mReport.push_back(report); in processMainTag()
119 std::shared_ptr<HidTreeNode> node(new HidReportNode(mCurrent, report)); in processMainTag()
183 const HidReport &report = in digest() local
186 unsigned int id = report.getReportId();; in digest()
193 switch(report.getType()) { in digest()
196 reportGroup[REPORT_TYPE_FEATURE].push_back(report); in digest()
199 reportGroup[REPORT_TYPE_INPUT].push_back(report); in digest()
202 reportGroup[REPORT_TYPE_OUTPUT].push_back(report); in digest()
294 for (const auto &report : packet.reports) { in operator <<() local
[all …]
DHidTree.cpp104 HidReportNode::HidReportNode(std::shared_ptr<HidTreeNode> parent, const HidReport &report) in HidReportNode() argument
105 : HidTreeNode(parent, 0 /*data*/, 0 /*fullUsage*/, TYPE_REPORT), mReport(report) { in HidReportNode()
/hardware/qcom/sdm845/gps/sdm845/core/
DSystemStatus.cpp1314 bool SystemStatus::setIteminReport(TYPE_REPORT& report, TYPE_ITEM&& s) in setIteminReport() argument
1316 … if (!report.empty() && report.back().equals(static_cast<TYPE_ITEM&>(s.collate(report.back())))) { in setIteminReport()
1318 report.back().mUtcReported = s.mUtcReported; in setIteminReport()
1323 report.push_back(s); in setIteminReport()
1324 if (report.size() > s.maxItem) { in setIteminReport()
1325 report.erase(report.begin()); in setIteminReport()
1331 void SystemStatus::setDefaultIteminReport(TYPE_REPORT& report, const TYPE_ITEM& s) in setDefaultIteminReport() argument
1333 report.push_back(s); in setDefaultIteminReport()
1334 if (report.size() > s.maxItem) { in setDefaultIteminReport()
1335 report.erase(report.begin()); in setDefaultIteminReport()
[all …]
/hardware/libhardware/tests/input/evdev/
DMouseInputMapper_test.cpp90 MockInputReport report; in TEST_F() local
92 .WillOnce(Return(&report)); in TEST_F()
98 EXPECT_CALL(report, setIntUsage(id, INPUT_USAGE_AXIS_X, 5, 0)); in TEST_F()
99 EXPECT_CALL(report, setIntUsage(id, INPUT_USAGE_AXIS_Y, -3, 0)); in TEST_F()
100 EXPECT_CALL(report, reportEvent(_)); in TEST_F()
101 EXPECT_CALL(report, setBoolUsage(id, INPUT_USAGE_BUTTON_PRIMARY, 1, 0)); in TEST_F()
102 EXPECT_CALL(report, reportEvent(_)); in TEST_F()
103 EXPECT_CALL(report, setBoolUsage(id, INPUT_USAGE_BUTTON_PRIMARY, 0, 0)); in TEST_F()
104 EXPECT_CALL(report, reportEvent(_)); in TEST_F()
DSwitchInputMapper_test.cpp80 MockInputReport report; in TEST_F() local
82 .WillOnce(Return(&report)); in TEST_F()
87 EXPECT_CALL(report, setBoolUsage(INPUT_COLLECTION_ID_SWITCH, INPUT_USAGE_SWITCH_LID, 1, 0)); in TEST_F()
88 EXPECT_CALL(report, reportEvent(_)); in TEST_F()
89 EXPECT_CALL(report, setBoolUsage(INPUT_COLLECTION_ID_SWITCH, INPUT_USAGE_SWITCH_LID, 0, 0)); in TEST_F()
90 EXPECT_CALL(report, reportEvent(_)); in TEST_F()
/hardware/qcom/gps/msm8998/core/
DSystemStatus.cpp1502 bool SystemStatus::getReport(SystemStatusReports& report, bool isLatestOnly) const in getReport() argument
1508 report.mLocation.clear(); in getReport()
1510 report.mLocation.push_back(mCache.mLocation.back()); in getReport()
1511 report.mLocation.back().dump(); in getReport()
1514 report.mTimeAndClock.clear(); in getReport()
1516 report.mTimeAndClock.push_back(mCache.mTimeAndClock.back()); in getReport()
1517 report.mTimeAndClock.back().dump(); in getReport()
1519 report.mXoState.clear(); in getReport()
1521 report.mXoState.push_back(mCache.mXoState.back()); in getReport()
1522 report.mXoState.back().dump(); in getReport()
[all …]
/hardware/qcom/gps/msm8909w_3100/core/
DSystemStatus.cpp1588 bool SystemStatus::getReport(SystemStatusReports& report, bool isLatestOnly) const in getReport() argument
1594 report.mLocation.clear(); in getReport()
1596 report.mLocation.push_back(mCache.mLocation.back()); in getReport()
1597 report.mLocation.back().dump(); in getReport()
1600 report.mTimeAndClock.clear(); in getReport()
1602 report.mTimeAndClock.push_back(mCache.mTimeAndClock.back()); in getReport()
1603 report.mTimeAndClock.back().dump(); in getReport()
1605 report.mXoState.clear(); in getReport()
1607 report.mXoState.push_back(mCache.mXoState.back()); in getReport()
1608 report.mXoState.back().dump(); in getReport()
[all …]
/hardware/qcom/sdm845/gps/msm8998/core/
DSystemStatus.cpp1502 bool SystemStatus::getReport(SystemStatusReports& report, bool isLatestOnly) const in getReport() argument
1508 report.mLocation.clear(); in getReport()
1510 report.mLocation.push_back(mCache.mLocation.back()); in getReport()
1511 report.mLocation.back().dump(); in getReport()
1514 report.mTimeAndClock.clear(); in getReport()
1516 report.mTimeAndClock.push_back(mCache.mTimeAndClock.back()); in getReport()
1517 report.mTimeAndClock.back().dump(); in getReport()
1519 report.mXoState.clear(); in getReport()
1521 report.mXoState.push_back(mCache.mXoState.back()); in getReport()
1522 report.mXoState.back().dump(); in getReport()
[all …]
/hardware/interfaces/sensors/1.0/
DISensors.hal82 * report latency. This function can be called while the sensor is
85 * lost events, nor can transitioning from a high maximum report latency to
86 * a low maximum report latency.
93 * to time of report.
142 * Register direct report channel.
161 * Unregister direct report channel.
164 * registerDirectChannel, and remove all active sensor report configured in
165 * still active sensor report configured in the direct channel.
168 * @return result OK if direct report is supported; INVALID_OPERATION
174 * Configure direct sensor event report in direct channel.
[all …]
/hardware/libhardware/modules/input/evdev/
DInputMapper.h48 virtual bool configureInputReport(InputDeviceNode* devNode, InputReportDefinition* report) { in configureInputReport() argument
58 virtual bool configureOutputReport(InputDeviceNode* devNode, InputReportDefinition* report) { in configureOutputReport() argument
DSwitchInputMapper.cpp60 InputReportDefinition* report) { in configureInputReport() argument
72 setInputReportDefinition(report); in configureInputReport()
DSwitchInputMapper.h35 InputReportDefinition* report) override;
DMouseInputMapper.cpp52 InputReportDefinition* report) { in configureInputReport() argument
53 setInputReportDefinition(report); in configureInputReport()
DMouseInputMapper.h34 InputReportDefinition* report) override;
/hardware/libhardware/include/hardware/
Dinput.h456 input_report_definition_t* report, input_collection_id_t id, int32_t arity);
463 input_report_definition_t* report, input_collection_id_t id,
471 input_report_definition_t* report, input_collection_id_t id,
502 void (*report_event)(input_host_t* host, input_device_handle_t* d, input_report_t* report);
564 void (*notify_report)(const input_module_t* module, input_report_t* report);
/hardware/qcom/gps/msm8909w_3100/gnss/
Dlocation_gnss.cpp61 static void getDebugReport(GnssDebugReport& report);
247 static void getDebugReport(GnssDebugReport& report) { in getDebugReport() argument
250 gGnssAdapter->getDebugReport(report); in getDebugReport()
/hardware/qcom/sdm845/gps/msm8998/gnss/
Dlocation_gnss.cpp61 static void getDebugReport(GnssDebugReport& report);
245 static void getDebugReport(GnssDebugReport& report) { in getDebugReport() argument
248 gGnssAdapter->getDebugReport(report); in getDebugReport()
/hardware/qcom/gps/msm8998/gnss/
Dlocation_gnss.cpp61 static void getDebugReport(GnssDebugReport& report);
245 static void getDebugReport(GnssDebugReport& report) { in getDebugReport() argument
248 gGnssAdapter->getDebugReport(report); in getDebugReport()
/hardware/interfaces/radio/1.4/
DIRadioIndication.hal34 * Radio must report all the valid emergency numbers with known mobile country code, mobile
38 * and 119 must be available when sim is not present). Radio shall not report emergency numbers
41 * @1.4::EmergencyNumber to construct each emergency number to report.
43 * Radio must report the complete list of emergency numbers whenever the emergency numbers in
/hardware/interfaces/sensors/2.0/
DISensors.hal160 * report latency. This function can be called while the sensor is
163 * lost events, nor can transitioning from a high maximum report latency to
164 * a low maximum report latency.
169 * to time of report.
220 * Register direct report channel.
239 * Unregister direct report channel.
242 * registerDirectChannel, and remove all active sensor report configured in
243 * still active sensor report configured in the direct channel.
246 * @return result OK if direct report is supported; INVALID_OPERATION
252 * Configure direct sensor event report in direct channel.
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.h38 const std::vector<HidParser::ReportPacket> &report);
107 const HidParser::ReportItem &report,
DHidRawSensor.cpp583 const HidParser::ReportItem &report, const std::vector<uint8_t> &buffer, std::string *d) { in decodeString() argument
584 if (!report.isByteAligned() || report.bitSize != 16 || report.count < 1) { in decodeString()
588 size_t offset = report.bitOffset / 8; in decodeString()
589 if (offset + report.count * 2 > buffer.size()) { in decodeString()
593 std::vector<uint16_t> data(report.count); in decodeString()
/hardware/qcom/sdm845/gps/sdm845/gnss/
Dlocation_gnss.cpp67 static void getDebugReport(GnssDebugReport& report);
303 static void getDebugReport(GnssDebugReport& report) { in getDebugReport() argument
306 gGnssAdapter->getDebugReport(report); in getDebugReport()
/hardware/interfaces/gnss/1.0/
DIGnssDebug.hal92 * Time duration before this report that this position information was
131 * the satellite. To report status of predicted orbit and clock
143 * Time duration from this report (current time), minus the
155 * Time duration from this report (current time) minus the time of the
/hardware/interfaces/gnss/visibility_control/1.0/
DIGnssVisibilityControlCallback.hal121 * Callback to report a non-framework delivered location.
130 * visibility and control), must report location information use through this API whenever
135 * type may be throttled to report location at a lower rate than the actual report rate, as

123