Searched refs:mActiveSensors (Results 1 – 5 of 5) sorted by relevance
35 private final Map<Integer, Boolean> mActiveSensors; field in GestureAvailabilityDispatcher41 mActiveSensors = new HashMap<>(); in GestureAvailabilityDispatcher()52 mActiveSensors.put(sensorId, active); in markSensorActive()56 for (Boolean b : mActiveSensors.values()) { in markSensorActive()
860 private final SparseBooleanArray mActiveSensors = new SparseBooleanArray(); field in SystemSensorManager.BaseEventQueue889 if (mActiveSensors.get(handle)) return false; in addSensor()892 mActiveSensors.put(handle, true); in addSensor()906 for (int i = 0; i < mActiveSensors.size(); i++) { in removeAllSensors()907 if (mActiveSensors.valueAt(i) == true) { in removeAllSensors()908 int handle = mActiveSensors.keyAt(i); in removeAllSensors()912 mActiveSensors.put(handle, false); in removeAllSensors()924 if (mActiveSensors.get(handle)) { in removeSensor()926 mActiveSensors.put(sensor.getHandle(), false); in removeSensor()940 return mActiveSensors.indexOfValue(true) >= 0; in hasSensors()
644 for (size_t i=0 ; i<mActiveSensors.size() ; i++) { in dump()645 int handle = mActiveSensors.keyAt(i); in dump()650 mActiveSensors.valueAt(i)->getNumConnections()); in dump()774 for (size_t i=0 ; i<mActiveSensors.size() ; i++) { in dumpProtoLocked()775 int handle = mActiveSensors.keyAt(i); in dumpProtoLocked()782 int(mActiveSensors.valueAt(i)->getNumConnections())); in dumpProtoLocked()859 for (size_t i=0 ; i< mActiveSensors.size(); ++i) { in disableAllSensorsLocked()860 mActiveSensors.valueAt(i)->clearAllPendingFlushConnections(); in disableAllSensorsLocked()1240 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()1874 size_t size = mActiveSensors.size(); in cleanupConnection()[all …]
562 DefaultKeyedVector<int, SensorRecord*> mActiveSensors; variable
22125 Landroid/hardware/SystemSensorManager$BaseEventQueue;->mActiveSensors:Landroid/util/SparseBooleanAr…