Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java56 private final ConcurrentHashMap<NetworkObserver, Optional<Handler>> mObservers = field in NetworkObserverRegistry
67 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()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/
DCarUxRestrictionsUtil.java58 private final Set<OnUxRestrictionsChangedListener> mObservers = field in CarUxRestrictionsUtil
71 for (OnUxRestrictionsChangedListener observer : mObservers) { in CarUxRestrictionsUtil()
137 mObservers.add(listener); in register()
143 mObservers.remove(listener); in unregister()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java57 private List<Observer> mObservers = new ArrayList<>(); field in BrowseAdapter
126 mObservers.add(observer); in registerObserver()
133 mObservers.remove(observer); in unregisterObserver()
212 for (Observer observer : mObservers) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DMasterImage.java105 private Vector<ImageShow> mObservers = new Vector<ImageShow>(); field in MasterImage
224 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()