Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDockedStackExistsListener.java34 private static ArrayList<WeakReference<Consumer<Boolean>>> sCallbacks = new ArrayList<>(); field in DockedStackExistsListener
77 synchronized (sCallbacks) { in onDockedStackExistsChanged()
78 sCallbacks.removeIf(wf -> { in onDockedStackExistsChanged()
88 synchronized (sCallbacks) { in register()
89 sCallbacks.add(new WeakReference<>(callback)); in register()
/frameworks/layoutlib/bridge/src/android/os/
DHandler_Delegate.java37 IHandlerCallback callback = sCallbacks.get(); in sendMessageAtTime()
50 private final static ThreadLocal<IHandlerCallback> sCallbacks = field in Handler_Delegate
54 sCallbacks.set(callback); in setCallback()
/frameworks/base/tests/net/java/android/net/
DConnectivityDiagnosticsManagerTest.java88 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()
/frameworks/base/core/java/android/net/
DConnectivityDiagnosticsManager.java66 sCallbacks = new ConcurrentHashMap<>(); field in ConnectivityDiagnosticsManager
735 if (sCallbacks.putIfAbsent(callback, binder) != null) { in registerConnectivityDiagnosticsCallback()
759 final ConnectivityDiagnosticsBinder binder = sCallbacks.remove(callback); in unregisterConnectivityDiagnosticsCallback()
DConnectivityManager.java3622 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 ConnectivityManager
3714 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()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt42712 Landroid/net/ConnectivityManager;->sCallbacks:Ljava/util/HashMap;