Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DGestureAvailabilityDispatcher.java35 private final Map<Integer, Boolean> mActiveSensors; field in GestureAvailabilityDispatcher
41 mActiveSensors = new HashMap<>(); in GestureAvailabilityDispatcher()
52 mActiveSensors.put(sensorId, active); in markSensorActive()
56 for (Boolean b : mActiveSensors.values()) { in markSensorActive()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java860 private final SparseBooleanArray mActiveSensors = new SparseBooleanArray(); field in SystemSensorManager.BaseEventQueue
889 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()
/frameworks/native/services/sensorservice/
DSensorService.cpp644 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 …]
DSensorService.h562 DefaultKeyedVector<int, SensorRecord*> mActiveSensors; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22125 Landroid/hardware/SystemSensorManager$BaseEventQueue;->mActiveSensors:Landroid/util/SparseBooleanAr…