Home
last modified time | relevance | path

Searched refs:sCallbacks (Results 1 – 3 of 3) 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/core/java/android/net/
DConnectivityManager.java3450 synchronized (sCallbacks) { in handleMessage()
3451 callback = sCallbacks.get(request); in handleMessage()
3458 sCallbacks.remove(request); in handleMessage()
3520 synchronized (sCallbacks) { in getDefaultHandler()
3528 private static final HashMap<NetworkRequest, NetworkCallback> sCallbacks = new HashMap<>(); field in ConnectivityManager
3541 synchronized(sCallbacks) { in sendRequestForNetwork()
3557 sCallbacks.put(request, callback); in sendRequestForNetwork()
4008 synchronized (sCallbacks) { in unregisterNetworkCallback()
4015 for (Map.Entry<NetworkRequest, NetworkCallback> e : sCallbacks.entrySet()) { in unregisterNetworkCallback()
4028 sCallbacks.remove(r); in unregisterNetworkCallback()