Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorController.java51 private final RemoteCallbackList<IVibratorStateListener> mVibratorStateListeners = field in VibratorController
87 if (!mVibratorStateListeners.register(listener)) { in registerVibratorStateListener()
104 return mVibratorStateListeners.unregister(listener); in unregisterVibratorStateListener()
325 + mVibratorStateListeners.getRegisteredCallbackCount() in toString()
348 final int length = mVibratorStateListeners.beginBroadcast(); in notifyStateListenersLocked()
351 notifyStateListenerLocked(mVibratorStateListeners.getBroadcastItem(i)); in notifyStateListenersLocked()
354 mVibratorStateListeners.finishBroadcast(); in notifyStateListenersLocked()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java244 private final SparseArray<RemoteCallbackList<IVibratorStateListener>> mVibratorStateListeners = field in InputManagerService
2161 if (!mVibratorStateListeners.contains(deviceId)) { in notifyVibratorStateListenersLocked()
2168 mVibratorStateListeners.get(deviceId); in notifyVibratorStateListenersLocked()
2194 if (!mVibratorStateListeners.contains(deviceId)) { in registerVibratorStateListener()
2196 mVibratorStateListeners.put(deviceId, listeners); in registerVibratorStateListener()
2198 listeners = mVibratorStateListeners.get(deviceId); in registerVibratorStateListener()
2221 if (!mVibratorStateListeners.contains(deviceId)) { in unregisterVibratorStateListener()
2226 mVibratorStateListeners.get(deviceId); in unregisterVibratorStateListener()