• Home
  • Raw
  • Download

Lines Matching refs:sensor

138         const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle);  in activate()  local
139 LOG_ALWAYS_FATAL_IF(!sensor); in activate()
140 if (!(sensor->flags & static_cast<uint32_t>(SensorFlagBits::ON_CHANGE_MODE))) { in activate()
171 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in batch() local
172 LOG_ALWAYS_FATAL_IF(!sensor); in batch()
174 if (samplingPeriodNs < sensor->minDelay) { in batch()
191 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in flush() local
192 LOG_ALWAYS_FATAL_IF(!sensor); in flush()
204 doPostSensorEventLocked(*sensor, event); in flush()
220 const SensorInfo* sensor = getSensorInfoByHandle(event.sensorHandle); in injectSensorData_2_1() local
221 LOG_ALWAYS_FATAL_IF(!sensor); in injectSensorData_2_1()
222 if (sensor->type != event.sensorType) { in injectSensorData_2_1()
226 doPostSensorEventLocked(*sensor, event); in injectSensorData_2_1()
239 const SensorInfo* sensor = getSensorInfoByHandle(event.sensorHandle); in postSensorEvent() local
240 LOG_ALWAYS_FATAL_IF(!sensor); in postSensorEvent()
243 if (sensor->flags & static_cast<uint32_t>(SensorFlagBits::ON_CHANGE_MODE)) { in postSensorEvent()
245 doPostSensorEventLocked(*sensor, event); in postSensorEvent()
252 void MultihalSensors::doPostSensorEventLocked(const SensorInfo& sensor, in doPostSensorEventLocked() argument
255 sensor.flags & static_cast<uint32_t>(SensorFlagBits::WAKE_UP); in doPostSensorEventLocked()
309 const SensorInfo* sensor = getSensorInfoByHandle(sensorHandle); in batchThread() local
310 LOG_ALWAYS_FATAL_IF(!sensor); in batchThread()
311 doPostSensorEventLocked(*sensor, batchInfo.event); in batchThread()