Searched refs:mActiveSensors (Results 1 – 3 of 3) sorted by relevance
298 private final SparseBooleanArray mActiveSensors = new SparseBooleanArray(); field in SystemSensorManager.BaseEventQueue325 if (mActiveSensors.get(handle)) return false; in addSensor()328 mActiveSensors.put(handle, true); in addSensor()342 for (int i=0 ; i<mActiveSensors.size(); i++) { in removeAllSensors()343 if (mActiveSensors.valueAt(i) == true) { in removeAllSensors()344 int handle = mActiveSensors.keyAt(i); in removeAllSensors()348 mActiveSensors.put(handle, false); in removeAllSensors()360 if (mActiveSensors.get(handle)) { in removeSensor()362 mActiveSensors.put(sensor.getHandle(), false); in removeSensor()376 return mActiveSensors.indexOfValue(true) >= 0; in hasSensors()
273 for (size_t i=0 ; i< mActiveSensors.size(); ++i) { in dump()274 mActiveSensors.valueAt(i)->clearAllPendingFlushConnections(); in dump()376 for (size_t i=0 ; i<mActiveSensors.size() ; i++) { in dump()377 int handle = mActiveSensors.keyAt(i); in dump()381 mActiveSensors.valueAt(i)->getNumConnections()); in dump()573 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()714 return mActiveSensors.valueFor(handle); in getSensorRecord()789 size_t size = mActiveSensors.size(); in cleanupConnection()792 int handle = mActiveSensors.keyAt(i); in cleanupConnection()802 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection()[all …]
401 DefaultKeyedVector<int, SensorRecord*> mActiveSensors; variable