Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp819 const HidParser::ReportItem *reportingState in findSensorControlUsage() local
822 if (reportingState == nullptr) { in findSensorControlUsage()
825 mReportingStateId = reportingState->id; in findSensorControlUsage()
826 mReportingStateBitOffset = reportingState->bitOffset; in findSensorControlUsage()
827 mReportingStateBitSize = reportingState->bitSize; in findSensorControlUsage()
831 for (unsigned i = 0; i < reportingState->usageVector.size(); ++i) { in findSensorControlUsage()
832 if (reportingState->usageVector[i] == REPORTING_STATE_NO_EVENTS) { in findSensorControlUsage()
835 if (reportingState->usageVector[i] == REPORTING_STATE_ALL_EVENTS) { in findSensorControlUsage()