Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkRepository.java76 private static Collection<MobileNetworkCallback> sCallbacks = new CopyOnWriteArrayList<>(); field in MobileNetworkRepository
154 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 …]
/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.java4422 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 ConnectivityManager
4519 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()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt126 Landroid/net/ConnectivityManager;->sCallbacks:Ljava/util/HashMap;