Searched refs:sCallbacks (Results 1 – 6 of 6) sorted by relevance
34 private static ArrayList<WeakReference<Consumer<Boolean>>> sCallbacks = new ArrayList<>(); field in DockedStackExistsListener77 synchronized (sCallbacks) { in onDockedStackExistsChanged()78 sCallbacks.removeIf(wf -> { in onDockedStackExistsChanged()88 synchronized (sCallbacks) { in register()89 sCallbacks.add(new WeakReference<>(callback)); in register()
37 IHandlerCallback callback = sCallbacks.get(); in sendMessageAtTime()50 private final static ThreadLocal<IHandlerCallback> sCallbacks = field in Handler_Delegate54 sCallbacks.set(callback); in setCallback()
88 ConnectivityDiagnosticsManager.sCallbacks.clear(); in tearDown()344 assertTrue(ConnectivityDiagnosticsManager.sCallbacks.containsKey(mCb)); in testRegisterConnectivityDiagnosticsCallback()369 assertFalse(ConnectivityDiagnosticsManager.sCallbacks.containsKey(mCb)); in testUnregisterConnectivityDiagnosticsCallback()375 assertTrue(ConnectivityDiagnosticsManager.sCallbacks.containsKey(mCb)); in testUnregisterConnectivityDiagnosticsCallback()
66 sCallbacks = new ConcurrentHashMap<>(); field in ConnectivityDiagnosticsManager735 if (sCallbacks.putIfAbsent(callback, binder) != null) { in registerConnectivityDiagnosticsCallback()759 final ConnectivityDiagnosticsBinder binder = sCallbacks.remove(callback); in unregisterConnectivityDiagnosticsCallback()
3622 synchronized (sCallbacks) { in handleMessage()3623 callback = sCallbacks.get(request); in handleMessage()3630 sCallbacks.remove(request); in handleMessage()3692 synchronized (sCallbacks) { in getDefaultHandler()3700 private static final HashMap<NetworkRequest, NetworkCallback> sCallbacks = new HashMap<>(); field in ConnectivityManager3714 synchronized(sCallbacks) { in sendRequestForNetwork()3732 sCallbacks.put(request, callback); in sendRequestForNetwork()4275 synchronized (sCallbacks) { in unregisterNetworkCallback()4282 for (Map.Entry<NetworkRequest, NetworkCallback> e : sCallbacks.entrySet()) { in unregisterNetworkCallback()4295 sCallbacks.remove(r); in unregisterNetworkCallback()
42712 Landroid/net/ConnectivityManager;->sCallbacks:Ljava/util/HashMap;