Home
last modified time | relevance | path

Searched refs:mCallbackMap (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java802 private final ArrayMap<AvailabilityCallback, Handler> mCallbackMap = field in CameraManager.CameraManagerGlobal
1066 final int callbackCount = mCallbackMap.size(); in onStatusChangedLocked()
1068 Handler handler = mCallbackMap.valueAt(i); in onStatusChangedLocked()
1069 final AvailabilityCallback callback = mCallbackMap.keyAt(i); in onStatusChangedLocked()
1124 Handler oldHandler = mCallbackMap.put(callback, handler); in registerAvailabilityCallback()
1145 mCallbackMap.remove(callback); in unregisterAvailabilityCallback()
1196 if (mCallbackMap.size() > 0) { in scheduleCameraServiceReconnectionLocked()
1197 handler = mCallbackMap.valueAt(0); in scheduleCameraServiceReconnectionLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogController.java574 private final HashMap<Callbacks, Handler> mCallbackMap = new HashMap<>(); field in VolumeDialogController.C
578 mCallbackMap.put(callback, handler); in add()
582 mCallbackMap.remove(callback); in remove()
587 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowRequested()
599 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onDismissRequested()
613 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onStateChanged()
626 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onLayoutDirectionChanged()
638 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onConfigurationChanged()
650 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowVibrateHint()
662 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowSilentHint()
[all …]
/frameworks/base/core/java/android/net/
DConnectivityManager.java2659 private final HashMap<NetworkRequest, NetworkCallback>mCallbackMap; field in ConnectivityManager.CallbackHandler
2668 mCallbackMap = callbackMap; in CallbackHandler()
2752 synchronized(mCallbackMap) { in handleMessage()
2753 callback = mCallbackMap.remove(request); in handleMessage()
2784 synchronized(mCallbackMap) { in getCallback()
2785 callback = mCallbackMap.get(req); in getCallback()