Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DConnectivityDiagnosticsManagerTest.java91 ConnectivityDiagnosticsManager.sCallbacks.clear(); in tearDown()
347 assertTrue(ConnectivityDiagnosticsManager.sCallbacks.containsKey(mCb)); in testRegisterConnectivityDiagnosticsCallback()
372 assertFalse(ConnectivityDiagnosticsManager.sCallbacks.containsKey(mCb)); in testUnregisterConnectivityDiagnosticsCallback()
378 assertTrue(ConnectivityDiagnosticsManager.sCallbacks.containsKey(mCb)); in testUnregisterConnectivityDiagnosticsCallback()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityDiagnosticsManager.java65 sCallbacks = new ConcurrentHashMap<>(); field in ConnectivityDiagnosticsManager
745 if (sCallbacks.putIfAbsent(callback, binder) != null) { in registerConnectivityDiagnosticsCallback()
769 final ConnectivityDiagnosticsBinder binder = sCallbacks.remove(callback); in unregisterConnectivityDiagnosticsCallback()
DConnectivityManager.java3842 synchronized (sCallbacks) { in handleMessage()
3843 callback = sCallbacks.get(request); in handleMessage()
3850 sCallbacks.remove(request); in handleMessage()
3911 synchronized (sCallbacks) { in getDefaultHandler()
3919 private static final HashMap<NetworkRequest, NetworkCallback> sCallbacks = new HashMap<>(); field in ConnectivityManager
3933 synchronized(sCallbacks) { in sendRequestForNetwork()
3953 sCallbacks.put(request, callback); in sendRequestForNetwork()
4603 synchronized (sCallbacks) { in unregisterNetworkCallback()
4611 for (Map.Entry<NetworkRequest, NetworkCallback> e : sCallbacks.entrySet()) { in unregisterNetworkCallback()
4624 sCallbacks.remove(r); in unregisterNetworkCallback()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt126 Landroid/net/ConnectivityManager;->sCallbacks:Ljava/util/HashMap;