Searched refs:mObservers (Results 1 – 5 of 5) sorted by relevance
52 private Set<OnUxRestrictionsChangedListener> mObservers; field in CarUxRestrictionsUtil63 for (OnUxRestrictionsChangedListener observer : mObservers) { in CarUxRestrictionsUtil()69 mObservers = Collections.newSetFromMap(new WeakHashMap<>()); in CarUxRestrictionsUtil()119 mObservers.add(listener); in register()127 mObservers.remove(listener); in unregister()
53 private Set<OnUxRestrictionsChangedListener> mObservers; field in CarUxRestrictionsUtil65 for (OnUxRestrictionsChangedListener observer : mObservers) { in CarUxRestrictionsUtil()71 mObservers = Collections.newSetFromMap(new WeakHashMap<>()); in CarUxRestrictionsUtil()115 mObservers.add(listener); in register()121 mObservers.remove(listener); in unregister()
56 private final ConcurrentHashMap<NetworkObserver, Optional<Handler>> mObservers = field in NetworkObserverRegistry67 mObservers.put(observer, Optional.of(handler)); in registerObserver()77 mObservers.put(observer, Optional.empty()); in registerObserverForNonblockingCallback()85 mObservers.remove(observer); in unregisterObserver()96 for (Map.Entry<NetworkObserver, Optional<Handler>> entry : mObservers.entrySet()) { in invokeForAllObservers()
57 private List<Observer> mObservers = new ArrayList<>(); field in BrowseAdapter126 mObservers.add(observer); in registerObserver()133 mObservers.remove(observer); in unregisterObserver()212 for (Observer observer : mObservers) {
105 private Vector<ImageShow> mObservers = new Vector<ImageShow>(); field in PrimaryImage224 if (mObservers.contains(observer)) { in addObserver()227 mObservers.add(observer); in addObserver()231 mObservers.remove(observer); in removeObserver()480 for (ImageShow observer : mObservers) { in notifyObservers()