Home
last modified time | relevance | path

Searched refs:mActiveSensors (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java642 private final SparseBooleanArray mActiveSensors = new SparseBooleanArray(); field in SystemSensorManager.BaseEventQueue
667 if (mActiveSensors.get(handle)) return false; in addSensor()
670 mActiveSensors.put(handle, true); in addSensor()
684 for (int i = 0; i < mActiveSensors.size(); i++) { in removeAllSensors()
685 if (mActiveSensors.valueAt(i) == true) { in removeAllSensors()
686 int handle = mActiveSensors.keyAt(i); in removeAllSensors()
690 mActiveSensors.put(handle, false); in removeAllSensors()
702 if (mActiveSensors.get(handle)) { in removeSensor()
704 mActiveSensors.put(sensor.getHandle(), false); in removeSensor()
718 return mActiveSensors.indexOfValue(true) >= 0; in hasSensors()
/frameworks/native/services/sensorservice/
DSensorService.cpp443 for (size_t i=0 ; i<mActiveSensors.size() ; i++) { in dump()
444 int handle = mActiveSensors.keyAt(i); in dump()
449 mActiveSensors.valueAt(i)->getNumConnections()); in dump()
522 for (size_t i=0 ; i< mActiveSensors.size(); ++i) { in disableAllSensorsLocked()
523 mActiveSensors.valueAt(i)->clearAllPendingFlushConnections(); in disableAllSensorsLocked()
810 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop()
1328 size_t size = mActiveSensors.size(); in cleanupConnection()
1331 int handle = mActiveSensors.keyAt(i); in cleanupConnection()
1342 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection()
1350 mActiveSensors.removeItemsAt(i, 1); in cleanupConnection()
[all …]
DSensorService.h383 DefaultKeyedVector<int, SensorRecord*> mActiveSensors; variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt25012 Landroid/hardware/SystemSensorManager$BaseEventQueue;->mActiveSensors:Landroid/util/SparseBooleanAr…