Lines Matching refs:getSensor
269 int handle = s->getSensor().getHandle(); in registerSensor()
270 int type = s->getSensor().getType(); in registerSensor()
273 return s->getSensor(); in registerSensor()
383 s->getSensor().getRequiredPermission().isEmpty()) { in dump()
385 result.appendFormat("%s: ", s->getSensor().getName().string()); in dump()
470 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked()
770 return sensor != nullptr && sensor->getSensor().isWakeUpSensor(); in isWakeUpSensorEvent()
994 !canAccessSensor(sensor->getSensor(), "Tried enabling", opPackageName)) { in enable()
1016 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1055 nsecs_t minDelayNs = sensor->getSensor().getMinDelayNs(); in enable()
1074 sensor->getSensor().getReportingMode() == AREPORTING_MODE_CONTINUOUS && in enable()
1178 !canAccessSensor(sensor->getSensor(), "Tried configuring", opPackageName)) { in setEventRate()
1185 nsecs_t minDelayNs = sensor->getSensor().getMinDelayNs(); in setEventRate()
1207 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in flushSensor()
1217 if (!canAccessSensor(sensor->getSensor(), "Tried flushing", opPackageName)) { in flushSensor()