Home
last modified time | relevance | path

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

/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerV9.java43 private final Map<InputDeviceListener, Handler> mListeners; field in InputManagerV9
90 mListeners = new HashMap<InputDeviceListener, Handler>(); in InputManagerV9()
120 mListeners.remove(listener); in registerInputDeviceListener()
124 mListeners.put(listener, handler); in registerInputDeviceListener()
129 mListeners.remove(listener); in unregisterInputDeviceListener()
134 if (!mListeners.isEmpty()) { in notifyListeners()
137 for (InputDeviceListener listener : mListeners.keySet()) { in notifyListeners()
138 Handler handler = mListeners.get(listener); in notifyListeners()
DInputManagerV16.java34 private final Map<InputManagerCompat.InputDeviceListener, V16InputDeviceListener> mListeners; field in InputManagerV16
38 mListeners = new HashMap<InputManagerCompat.InputDeviceListener, V16InputDeviceListener>(); in InputManagerV16()
79 mListeners.put(listener, v16Listener); in registerInputDeviceListener()
84 V16InputDeviceListener curListener = mListeners.remove(listener); in unregisterInputDeviceListener()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DTracking.java50 private List<Consumer<List<Task>>> mListeners = new ArrayList<>(); field in Tracking.Tracker
169 for (Consumer<List<Task>> listener : mListeners) { in notifyListeners()
175 mListeners.add(listener); in addListener()
179 mListeners.remove(listener); in removeListener()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv95933 …ibROhUTT2Kz5OkR5Kqitw@fakeemail.com,Protect against DeviceProvisionedListeners mutating mListeners.
104743 …/base,fake_CoO9KB9kS9KOfArkZaxQnQ@fakeemail.com,Use RemoteCallbackList to implement TSMS#mListeners