Searched refs:mActiveSensors (Results 1 – 3 of 3) sorted by relevance
508 private final SparseBooleanArray mActiveSensors = new SparseBooleanArray(); field in SystemSensorManager.BaseEventQueue533 if (mActiveSensors.get(handle)) return false; in addSensor()536 mActiveSensors.put(handle, true); in addSensor()550 for (int i=0 ; i<mActiveSensors.size(); i++) { in removeAllSensors()551 if (mActiveSensors.valueAt(i) == true) { in removeAllSensors()552 int handle = mActiveSensors.keyAt(i); in removeAllSensors()556 mActiveSensors.put(handle, false); in removeAllSensors()568 if (mActiveSensors.get(handle)) { in removeSensor()570 mActiveSensors.put(sensor.getHandle(), false); in removeSensor()584 return mActiveSensors.indexOfValue(true) >= 0; in hasSensors()
330 for (size_t i=0 ; i< mActiveSensors.size(); ++i) { in dump()331 mActiveSensors.valueAt(i)->clearAllPendingFlushConnections(); in dump()391 for (size_t i=0 ; i<mActiveSensors.size() ; i++) { in dump()392 int handle = mActiveSensors.keyAt(i); in dump()396 mActiveSensors.valueAt(i)->getNumConnections()); in dump()593 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()943 size_t size = mActiveSensors.size(); in cleanupConnection()946 int handle = mActiveSensors.keyAt(i); in cleanupConnection()957 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection()965 mActiveSensors.removeItemsAt(i, 1); in cleanupConnection()[all …]
233 DefaultKeyedVector<int, SensorRecord*> mActiveSensors; variable