Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java219 private final RemoteCallbackList<ITetheringEventCallback> mTetheringEventCallbacks = field in Tethering
2198 mTetheringEventCallbacks.register(callback, new CallbackCookie(hasListPermission)); in registerTetheringEventCallback()
2235 mTetheringEventCallbacks.unregister(callback); in unregisterTetheringEventCallback()
2240 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportUpstreamChanged()
2246 mTetheringEventCallbacks.getBroadcastItem(i).onUpstreamChanged(network); in reportUpstreamChanged()
2252 mTetheringEventCallbacks.finishBroadcast(); in reportUpstreamChanged()
2260 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportConfigurationChanged()
2264 mTetheringEventCallbacks.getBroadcastItem(i).onConfigurationChanged(config); in reportConfigurationChanged()
2271 mTetheringEventCallbacks.finishBroadcast(); in reportConfigurationChanged()
2276 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportTetherStateChanged()
[all …]
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java75 mTetheringEventCallbacks = new ArrayMap<>(); field in TetheringManager
1205 synchronized (mTetheringEventCallbacks) {
1206 if (mTetheringEventCallbacks.containsKey(callback)) {
1316 mTetheringEventCallbacks.put(callback, remoteCallback);
1334 synchronized (mTetheringEventCallbacks) {
1335 ITetheringEventCallback remoteCallback = mTetheringEventCallbacks.remove(callback);
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java943 synchronized (mTetheringEventCallbacks) { in getTetheringManager()
2746 mTetheringEventCallbacks = new ArrayMap<>(); field in ConnectivityManager
2776 synchronized (mTetheringEventCallbacks) { in registerTetheringEventCallback()
2777 mTetheringEventCallbacks.put(callback, tetherCallback); in registerTetheringEventCallback()
2797 synchronized (mTetheringEventCallbacks) { in unregisterTetheringEventCallback()
2799 mTetheringEventCallbacks.remove(callback); in unregisterTetheringEventCallback()