Home
last modified time | relevance | path

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

12345

/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()
295 for (const auto &report : packet.reports) { in operator <<() local
[all …]
/hardware/qcom/sm7150/gps/core/
DSystemStatus.cpp1347 bool SystemStatus::setIteminReport(TYPE_REPORT& report, TYPE_ITEM&& s) in setIteminReport() argument
1352 … if (!report.empty() && report.back().equals(static_cast<TYPE_ITEM&>(s.collate(report.back())))) { in setIteminReport()
1354 report.back().mUtcReported = s.mUtcReported; in setIteminReport()
1359 report.push_back(s); in setIteminReport()
1360 if (report.size() > s.maxItem) { in setIteminReport()
1361 report.erase(report.begin()); in setIteminReport()
1367 void SystemStatus::setDefaultIteminReport(TYPE_REPORT& report, const TYPE_ITEM& s) in setDefaultIteminReport() argument
1369 report.push_back(s); in setDefaultIteminReport()
1370 if (report.size() > s.maxItem) { in setDefaultIteminReport()
1371 report.erase(report.begin()); in setDefaultIteminReport()
[all …]
/hardware/qcom/sm7250/gps/core/
DSystemStatus.cpp1355 bool SystemStatus::setIteminReport(TYPE_REPORT& report, TYPE_ITEM&& s) in setIteminReport() argument
1360 … if (!report.empty() && report.back().equals(static_cast<TYPE_ITEM&>(s.collate(report.back())))) { in setIteminReport()
1362 report.back().mUtcReported = s.mUtcReported; in setIteminReport()
1367 report.push_back(s); in setIteminReport()
1368 if (report.size() > s.maxItem) { in setIteminReport()
1369 report.erase(report.begin()); in setIteminReport()
1375 void SystemStatus::setDefaultIteminReport(TYPE_REPORT& report, const TYPE_ITEM& s) in setDefaultIteminReport() argument
1377 report.push_back(s); in setDefaultIteminReport()
1378 if (report.size() > s.maxItem) { in setDefaultIteminReport()
1379 report.erase(report.begin()); in setDefaultIteminReport()
[all …]
/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/qcom/sm8150/gps/core/
DSystemStatus.cpp1355 bool SystemStatus::setIteminReport(TYPE_REPORT& report, TYPE_ITEM&& s) in setIteminReport() argument
1360 … if (!report.empty() && report.back().equals(static_cast<TYPE_ITEM&>(s.collate(report.back())))) { in setIteminReport()
1362 report.back().mUtcReported = s.mUtcReported; in setIteminReport()
1367 report.push_back(s); in setIteminReport()
1368 if (report.size() > s.maxItem) { in setIteminReport()
1369 report.erase(report.begin()); in setIteminReport()
1375 void SystemStatus::setDefaultIteminReport(TYPE_REPORT& report, const TYPE_ITEM& s) in setDefaultIteminReport() argument
1377 report.push_back(s); in setDefaultIteminReport()
1378 if (report.size() > s.maxItem) { in setDefaultIteminReport()
1379 report.erase(report.begin()); in setDefaultIteminReport()
[all …]
/hardware/qcom/sm8150p/gps/core/
DSystemStatus.cpp1347 bool SystemStatus::setIteminReport(TYPE_REPORT& report, TYPE_ITEM&& s) in setIteminReport() argument
1349 … if (!report.empty() && report.back().equals(static_cast<TYPE_ITEM&>(s.collate(report.back())))) { in setIteminReport()
1351 report.back().mUtcReported = s.mUtcReported; in setIteminReport()
1356 report.push_back(s); in setIteminReport()
1357 if (report.size() > s.maxItem) { in setIteminReport()
1358 report.erase(report.begin()); in setIteminReport()
1364 void SystemStatus::setDefaultIteminReport(TYPE_REPORT& report, const TYPE_ITEM& s) in setDefaultIteminReport() argument
1366 report.push_back(s); in setDefaultIteminReport()
1367 if (report.size() > s.maxItem) { in setDefaultIteminReport()
1368 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/interfaces/dumpstate/1.1/
Dtypes.hal20 * Constants that define the type of bug report being taken to restrict content appropriately.
24 * Takes a bug report without user interference.
28 * Interactive bug report, i.e. triggered by the user.
32 * Remote bug report triggered by DevicePolicyManager, for example.
36 * Bug report triggered on a wear device.
40 * Bug report limited to only connectivity info (cellular, wifi, and networking). Sometimes
50 * Bug report limited to only wifi info.
59 * Takes a report in protobuf.
/hardware/interfaces/automotive/can/1.0/default/libc++fs/src/filesystem/
Doperations.cpp397 err.report(m_ec, "failed to determine attributes for the specified path"); in create_file_status()
555 return err.report(capture_errno()); in __canonical()
574 return err.report(m_ec1); in __copy()
581 return err.report(m_ec1); in __copy()
586 return err.report(errc::function_not_supported); in __copy()
598 return err.report(errc::file_exists); in __copy()
615 return err.report(errc::is_a_directory); in __copy()
634 return err.report(m_ec2); in __copy()
748 return err.report(m_ec); in __copy_file()
755 return err.report(m_ec); in __copy_file()
[all …]
Ddirectory_iterator.cpp245 err.report(m_ec); in directory_iterator()
258 err.report(m_ec, "at root \"%s\"", root); in __increment()
283 err.report(m_ec); in recursive_directory_iterator()
345 err.report(m_ec, "at root \"%s\"", root); in __advance()
390 err.report(m_ec, "attempting recursion into \"%s\"", at_ent); in __try_recursion()
/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/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/google/pixel/rebalance_interrupts/
Drebalance_interrupts.cpp191 std::string readback, report; in ReportIfAffinityUpdated() local
195 report += "Unable to set "; in ReportIfAffinityUpdated()
197 report += "Success setting "; in ReportIfAffinityUpdated()
199 report += path; in ReportIfAffinityUpdated()
200 report += ": found " + readback + " vs " + expected_value + "\n"; in ReportIfAffinityUpdated()
201 LOG(DEBUG) << report; in ReportIfAffinityUpdated()
/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/interfaces/cas/1.2/
Dtypes.hal32 * ERROR_CAS_NO_CARD is used to report no smart card for descrambling.
36 * ERROR_CAS_CARD_MUTE is used to report smart card is muted for
41 * ERROR_CAS_CARD_INVALID is used to report smart card isn't valid.
45 * ERROR_CAS_BLACKOUT is used to report geographical blackout.
49 * ERROR_CAS_REBOOTING is used to report CAS is during rebooting.
/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.cpp85 InputReportDefinition* report) { in configureInputReport() argument
97 setInputReportDefinition(report); in configureInputReport()
/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/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/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/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/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 …]

12345