Home
last modified time | relevance | path

Searched refs:sensorListeners (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java1869 ArraySet<OnSensorPrivacyChangedListener> sensorListeners = in dispatch() local
1871 if (sensorListeners != null) { in dispatch()
1872 for (int i = 0; i < sensorListeners.size(); i++) { in dispatch()
1873 OnSensorPrivacyChangedListener listener = sensorListeners.valueAt(i); in dispatch()
1900 ArraySet<OnSensorPrivacyChangedListener> sensorListeners = in addSensorPrivacyListener() local
1902 if (sensorListeners == null) { in addSensorPrivacyListener()
1903 sensorListeners = new ArraySet<>(); in addSensorPrivacyListener()
1904 userSensorListeners.put(sensor, sensorListeners); in addSensorPrivacyListener()
1907 sensorListeners.add(listener); in addSensorPrivacyListener()
1915 ArraySet<OnUserSensorPrivacyChangedListener> sensorListeners = in addSensorPrivacyListenerForAllUsers() local
[all …]
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java487 HashMap<SensorEventListener, SensorEventQueue> sensorListeners = in cleanupSensorConnection() local
490 for (SensorEventListener l: sensorListeners.keySet()) { in cleanupSensorConnection()