Searched refs:sCallbacks (Results 1 – 3 of 3) 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()
3450 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 ConnectivityManager3541 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()