Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java204 private final RemoteCallbackList<ITetheringEventCallback> mTetheringEventCallbacks = field in Tethering
2073 mTetheringEventCallbacks.register(callback, new CallbackCookie(hasListPermission)); in registerTetheringEventCallback()
2110 mTetheringEventCallbacks.unregister(callback); in unregisterTetheringEventCallback()
2115 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportUpstreamChanged()
2121 mTetheringEventCallbacks.getBroadcastItem(i).onUpstreamChanged(network); in reportUpstreamChanged()
2127 mTetheringEventCallbacks.finishBroadcast(); in reportUpstreamChanged()
2135 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportConfigurationChanged()
2139 mTetheringEventCallbacks.getBroadcastItem(i).onConfigurationChanged(config); in reportConfigurationChanged()
2146 mTetheringEventCallbacks.finishBroadcast(); in reportConfigurationChanged()
2151 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportTetherStateChanged()
[all …]
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java75 mTetheringEventCallbacks = new ArrayMap<>(); field in TetheringManager
1041 synchronized (mTetheringEventCallbacks) {
1042 if (mTetheringEventCallbacks.containsKey(callback)) {
1141 mTetheringEventCallbacks.put(callback, remoteCallback);
1159 synchronized (mTetheringEventCallbacks) {
1160 ITetheringEventCallback remoteCallback = mTetheringEventCallbacks.remove(callback);
/frameworks/base/core/java/android/net/
DConnectivityManager.java2593 mTetheringEventCallbacks = new ArrayMap<>(); field in ConnectivityManager
2623 synchronized (mTetheringEventCallbacks) { in registerTetheringEventCallback()
2624 mTetheringEventCallbacks.put(callback, tetherCallback); in registerTetheringEventCallback()
2644 synchronized (mTetheringEventCallbacks) { in unregisterTetheringEventCallback()
2646 mTetheringEventCallbacks.remove(callback); in unregisterTetheringEventCallback()