Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp855 const HidParser::ReportItem *reportingState in findSensorControlUsage() local
858 if (reportingState == nullptr) { in findSensorControlUsage()
861 mReportingStateId = reportingState->id; in findSensorControlUsage()
862 mReportingStateBitOffset = reportingState->bitOffset; in findSensorControlUsage()
863 mReportingStateBitSize = reportingState->bitSize; in findSensorControlUsage()
867 for (unsigned i = 0; i < reportingState->usageVector.size(); ++i) { in findSensorControlUsage()
868 if (reportingState->usageVector[i] == REPORTING_STATE_NO_EVENTS) { in findSensorControlUsage()
871 if (reportingState->usageVector[i] == REPORTING_STATE_ALL_EVENTS) { in findSensorControlUsage()