• Home
  • Raw
  • Download

Lines Matching refs:si

163     sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle);  in addSensor()  local
164 if (si == nullptr || in addSensor()
165 !mService->canAccessSensor(si->getSensor(), "Add to SensorEventConnection: ", in addSensor()
205 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in hasOneShotSensors() local
206 if (si != nullptr && si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in hasOneShotSensors()
248 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in updateLooperRegistrationLocked() local
249 if (si != nullptr && si->getSensor().isWakeUpSensor()) { in updateLooperRegistrationLocked()
558 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in sendPendingFlushEventsLocked() local
559 if (si == nullptr) { in sendPendingFlushEventsLocked()
566 bool wakeUpSensor = si->getSensor().isWakeUpSensor(); in sendPendingFlushEventsLocked()
692 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in enableDisable() local
693 if (si != nullptr) { in enableDisable()
694 const Sensor& s = si->getSensor(); in enableDisable()
732 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in setEventRate() local
733 if (si != nullptr) { in setEventRate()
734 const Sensor& s = si->getSensor(); in setEventRate()
855 sp<SensorInterface> si = in handleEvent() local
857 if (si == nullptr) { in handleEvent()
862 sensor_event.type = si->getSensor().getType(); in handleEvent()
906 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(it.first); in computeMaxCacheSizeLocked() local
907 if (si == nullptr) { in computeMaxCacheSizeLocked()
910 const Sensor& sensor = si->getSensor(); in computeMaxCacheSizeLocked()