Home
last modified time | relevance | path

Searched refs:mUpdateListeners (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java105 private ArrayList<OnUsersUpdateListener> mUpdateListeners; field in CarUserManagerHelper
110 synchronized (mUpdateListeners) {
111 copyOfUpdateListeners = new ArrayList(mUpdateListeners);
131 mUpdateListeners = new ArrayList<>(); in CarUserManagerHelper()
148 synchronized (mUpdateListeners) { in registerOnUsersUpdateListener()
149 if (mUpdateListeners.isEmpty()) { in registerOnUsersUpdateListener()
154 if (!mUpdateListeners.contains(listener)) { in registerOnUsersUpdateListener()
155 mUpdateListeners.add(listener); in registerOnUsersUpdateListener()
167 synchronized (mUpdateListeners) { in unregisterOnUsersUpdateListener()
168 if (mUpdateListeners.contains(listener)) { in unregisterOnUsersUpdateListener()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsStore.java49 private final List<OnUpdateListener> mUpdateListeners = new ArrayList<>(); field in AllAppsStore
113 int count = mUpdateListeners.size(); in notifyUpdate()
115 mUpdateListeners.get(i).onAppsUpdated(); in notifyUpdate()
120 mUpdateListeners.add(listener); in addUpdateListener()
124 mUpdateListeners.remove(listener); in removeUpdateListener()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java70 private List<EventListener<Update>> mUpdateListeners = new ArrayList<>(); field in Model
80 mUpdateListeners.add(listener); in addUpdateListener()
84 mUpdateListeners.remove(listener); in removeUpdateListener()
88 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
95 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()