Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java189 private final RemoteCallbackList<ITetheringEventCallback> mTetheringEventCallbacks = field in Tethering
1688 mTetheringEventCallbacks.register(callback); in registerTetheringEventCallback()
1695 mTetheringEventCallbacks.unregister(callback); in unregisterTetheringEventCallback()
1700 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportUpstreamChanged()
1704 mTetheringEventCallbacks.getBroadcastItem(i).onUpstreamChanged(network); in reportUpstreamChanged()
1710 mTetheringEventCallbacks.finishBroadcast(); in reportUpstreamChanged()
/frameworks/base/core/java/android/net/
DConnectivityManager.java2616 mTetheringEventCallbacks = new ArrayMap<>(); field in ConnectivityManager
2635 synchronized (mTetheringEventCallbacks) { in registerTetheringEventCallback()
2636 Preconditions.checkArgument(!mTetheringEventCallbacks.containsKey(callback), in registerTetheringEventCallback()
2651 mTetheringEventCallbacks.put(callback, remoteCallback); in registerTetheringEventCallback()
2669 synchronized (mTetheringEventCallbacks) { in unregisterTetheringEventCallback()
2670 ITetheringEventCallback remoteCallback = mTetheringEventCallbacks.remove(callback); in unregisterTetheringEventCallback()