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.java229 private final RemoteCallbackList<ITetheringEventCallback> mTetheringEventCallbacks = field in Tethering
2391 mTetheringEventCallbacks.register(callback, new CallbackCookie(hasListPermission)); in registerTetheringEventCallback()
2431 mTetheringEventCallbacks.unregister(callback); in unregisterTetheringEventCallback()
2436 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportTetheringSupportedChange()
2440 mTetheringEventCallbacks.getBroadcastItem(i).onSupportedTetheringTypes( in reportTetheringSupportedChange()
2447 mTetheringEventCallbacks.finishBroadcast(); in reportTetheringSupportedChange()
2452 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportUpstreamChanged()
2456 mTetheringEventCallbacks.getBroadcastItem(i).onUpstreamChanged(network); in reportUpstreamChanged()
2462 mTetheringEventCallbacks.finishBroadcast(); in reportUpstreamChanged()
2467 final int length = mTetheringEventCallbacks.beginBroadcast(); in reportConfigurationChanged()
[all …]
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java88 mTetheringEventCallbacks = new ArrayMap<>(); field in TetheringManager
1349 synchronized (mTetheringEventCallbacks) {
1350 if (mTetheringEventCallbacks.containsKey(callback)) {
1468 mTetheringEventCallbacks.put(callback, remoteCallback);
1503 synchronized (mTetheringEventCallbacks) {
1504 ITetheringEventCallback remoteCallback = mTetheringEventCallbacks.remove(callback);
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java1243 synchronized (mTetheringEventCallbacks) { in getTetheringManager()
3272 mTetheringEventCallbacks = new ArrayMap<>(); field in ConnectivityManager
3302 synchronized (mTetheringEventCallbacks) { in registerTetheringEventCallback()
3303 mTetheringEventCallbacks.put(callback, tetherCallback); in registerTetheringEventCallback()
3323 synchronized (mTetheringEventCallbacks) { in unregisterTetheringEventCallback()
3325 mTetheringEventCallbacks.remove(callback); in unregisterTetheringEventCallback()