Searched refs:sCallbacks (Results 1 – 4 of 4) sorted by relevance
91 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()
65 sCallbacks = new ConcurrentHashMap<>(); field in ConnectivityDiagnosticsManager745 if (sCallbacks.putIfAbsent(callback, binder) != null) { in registerConnectivityDiagnosticsCallback()769 final ConnectivityDiagnosticsBinder binder = sCallbacks.remove(callback); in unregisterConnectivityDiagnosticsCallback()
3842 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 ConnectivityManager3933 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()
126 Landroid/net/ConnectivityManager;->sCallbacks:Ljava/util/HashMap;