Lines Matching refs:getSensor
306 int handle = s->getSensor().getHandle(); in registerSensor()
307 int type = s->getSensor().getType(); in registerSensor()
310 return s->getSensor(); in registerSensor()
439 if (privileged || s->getSensor().getRequiredPermission().isEmpty()) { in dump()
445 result.appendFormat("%s: ", s->getSensor().getName().string()); in dump()
605 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked()
904 return sensor != nullptr && sensor->getSensor().isWakeUpSensor(); in isWakeUpSensorEvent()
1317 !canAccessSensor(sensor->getSensor(), "Tried enabling", opPackageName)) { in enable()
1339 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1379 nsecs_t maxDelayNs = sensor->getSensor().getMaxDelay() * 1000LL; in enable()
1384 nsecs_t minDelayNs = sensor->getSensor().getMinDelayNs(); in enable()
1403 sensor->getSensor().getReportingMode() == AREPORTING_MODE_CONTINUOUS && in enable()
1491 !canAccessSensor(sensor->getSensor(), "Tried configuring", opPackageName)) { in setEventRate()
1498 nsecs_t minDelayNs = sensor->getSensor().getMinDelayNs(); in setEventRate()
1520 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in flushSensor()
1530 if (!canAccessSensor(sensor->getSensor(), "Tried flushing", opPackageName)) { in flushSensor()