Lines Matching refs:mSensorInfo

69     for (size_t i = 0; i < mSensorInfo.size(); ++i) {  in dump()
70 const FlushInfo& flushInfo = mSensorInfo.valueAt(i); in dump()
72 mService->getSensorName(mSensorInfo.keyAt(i)).string(), in dump()
73 mSensorInfo.keyAt(i), in dump()
95 mSensorInfo.indexOfKey(handle) >= 0) { in addSensor()
98 mSensorInfo.add(handle, FlushInfo()); in addSensor()
104 if (mSensorInfo.removeItem(handle) >= 0) { in removeSensor()
112 return mSensorInfo.indexOfKey(handle) >= 0; in hasSensor()
117 return mSensorInfo.size() ? true : false; in hasAnySensor()
122 for (size_t i = 0; i < mSensorInfo.size(); ++i) { in hasOneShotSensors()
123 const int handle = mSensorInfo.keyAt(i); in hasOneShotSensors()
139 ssize_t index = mSensorInfo.indexOfKey(handle); in setFirstFlushPending()
141 FlushInfo& flushInfo = mSensorInfo.editValueAt(index); in setFirstFlushPending()
153 bool isConnectionActive = (mSensorInfo.size() > 0 && !mDataInjectionMode) || in updateLooperRegistrationLocked()
166 for (size_t i = 0; i < mSensorInfo.size(); ++i) { in updateLooperRegistrationLocked()
167 const int handle = mSensorInfo.keyAt(i); in updateLooperRegistrationLocked()
199 ssize_t index = mSensorInfo.indexOfKey(handle); in incrementPendingFlushCount()
201 FlushInfo& flushInfo = mSensorInfo.editValueAt(index); in incrementPendingFlushCount()
226 ssize_t index = mSensorInfo.indexOfKey(sensor_handle); in sendEvents()
234 FlushInfo& flushInfo = mSensorInfo.editValueAt(index); in sendEvents()
388 for (size_t i = 0; i < mSensorInfo.size(); ++i) { in sendPendingFlushEventsLocked()
389 const int handle = mSensorInfo.keyAt(i); in sendPendingFlushEventsLocked()
395 FlushInfo& flushInfo = mSensorInfo.editValueAt(i); in sendPendingFlushEventsLocked()
478 FlushInfo& flushInfo = mSensorInfo.editValueFor(scratch[j].meta_data.sensor); in countFlushCompleteEventsLocked()
613 for (size_t i = 0; i < mSensorInfo.size(); ++i) { in computeMaxCacheSizeLocked()
614 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(mSensorInfo.keyAt(i)); in computeMaxCacheSizeLocked()