Lines Matching refs:getSensor
207 const Sensor sensor(s->getSensor()); in registerSensor()
370 sensor->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked()
630 return sensor != NULL && sensor->getSensor().isWakeUpSensor(); in isWakeUpSensorEvent()
710 return mSensorMap.valueFor(handle)->getSensor(); in getSensorFromHandle()
724 if (!verifyCanAccessSensor(sensor->getSensor(), "Tried enabling")) { in enable()
741 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
770 nsecs_t minDelayNs = sensor->getSensor().getMinDelayNs(); in enable()
785 if (err == NO_ERROR && sensor->getSensor().getReportingMode() != AREPORTING_MODE_ONE_SHOT && in enable()
867 if (!verifyCanAccessSensor(sensor->getSensor(), "Tried configuring")) { in setEventRate()
874 nsecs_t minDelayNs = sensor->getSensor().getMinDelayNs(); in setEventRate()
892 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in flushSensor()