Searched refs:sCallbacks (Results 1 – 5 of 5) sorted by relevance
76 private static Collection<MobileNetworkCallback> sCallbacks = new CopyOnWriteArrayList<>(); field in MobileNetworkRepository154 for (MobileNetworkCallback callback : sCallbacks) { in onChange()196 for (MobileNetworkCallback callback : sCallbacks) { in onChange()215 if (sCallbacks.isEmpty()) { in addRegister()221 sCallbacks.add(mobileNetworkCallback); in addRegister()286 sCallbacks.remove(mobileNetworkCallback); in removeRegister()288 if (sCallbacks.isEmpty()) { in removeRegister()314 for (MobileNetworkCallback callback : sCallbacks) { in updateEntity()416 for (MobileNetworkCallback callback : sCallbacks) { in onAvailableSubInfoChanged()440 for (MobileNetworkCallback callback : sCallbacks) { in onActiveSubInfoListChanged()[all …]
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()
4422 synchronized (sCallbacks) { in handleMessage()4423 callback = sCallbacks.get(request); in handleMessage()4430 sCallbacks.remove(request); in handleMessage()4497 synchronized (sCallbacks) { in getDefaultHandler()4505 private static final HashMap<NetworkRequest, NetworkCallback> sCallbacks = new HashMap<>(); field in ConnectivityManager4519 synchronized(sCallbacks) { in sendRequestForNetwork()4539 sCallbacks.put(request, callback); in sendRequestForNetwork()5204 synchronized (sCallbacks) { in unregisterNetworkCallback()5212 for (Map.Entry<NetworkRequest, NetworkCallback> e : sCallbacks.entrySet()) { in unregisterNetworkCallback()5225 sCallbacks.remove(r); in unregisterNetworkCallback()
126 Landroid/net/ConnectivityManager;->sCallbacks:Ljava/util/HashMap;