Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DCellularDataService.java66 private final Map<Message, DataServiceCallback> mCallbackMap = new HashMap<>(); field in CellularDataService.CellularDataServiceProvider
85 DataServiceCallback callback = mCallbackMap.remove(message); in CellularDataServiceProvider()
155 mCallbackMap.put(message, callback); in setupDataCall()
171 mCallbackMap.put(message, callback); in deactivateDataCall()
187 mCallbackMap.put(message, callback); in setInitialAttachApn()
203 mCallbackMap.put(message, callback); in setDataProfile()
218 mCallbackMap.put(message, callback); in getDataCallList()
/frameworks/base/core/java/android/app/
DVrManager.java52 private Map<VrStateCallback, CallbackEntry> mCallbackMap = new ArrayMap<>(); field in VrManager
72 if (callback == null || mCallbackMap.containsKey(callback)) { in registerVrStateCallback()
77 mCallbackMap.put(callback, entry); in registerVrStateCallback()
101 CallbackEntry entry = mCallbackMap.remove(callback); in unregisterVrStateCallback()
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java55 private final SparseArray<CallbackEntry> mCallbackMap = new SparseArray<>(); field in FuseAppLoop
97 mCallbackMap.size() < Integer.MAX_VALUE - MIN_INODE, "Too many opened files."); in registerCallback()
111 if (mCallbackMap.get(id) == null) { in registerCallback()
115 mCallbackMap.put(id, new CallbackEntry( in registerCallback()
123 mCallbackMap.remove(id);
288 final CallbackEntry entry = mCallbackMap.get(checkInode(inode));
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java743 private final HashMap<Callbacks, Handler> mCallbackMap = new HashMap<>(); field in VolumeDialogControllerImpl.C
747 mCallbackMap.put(callback, handler); in add()
751 mCallbackMap.remove(callback); in remove()
756 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowRequested()
768 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onDismissRequested()
782 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onStateChanged()
795 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onLayoutDirectionChanged()
807 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onConfigurationChanged()
819 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowVibrateHint()
831 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowSilentHint()
[all …]
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/
DClassesInfoCache.java41 private final Map<Class, CallbackInfo> mCallbackMap = new HashMap<>(); field in ClassesInfoCache
80 CallbackInfo existing = mCallbackMap.get(klass); in getInfo()
158 mCallbackMap.put(klass, info); in createInfo()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java806 private final ArrayMap<AvailabilityCallback, Executor> mCallbackMap = field in CameraManager.CameraManagerGlobal
1156 final int callbackCount = mCallbackMap.size(); in onStatusChangedLocked()
1158 Executor executor = mCallbackMap.valueAt(i); in onStatusChangedLocked()
1159 final AvailabilityCallback callback = mCallbackMap.keyAt(i); in onStatusChangedLocked()
1214 Executor oldExecutor = mCallbackMap.put(callback, executor); in registerAvailabilityCallback()
1235 mCallbackMap.remove(callback); in unregisterAvailabilityCallback()
1284 if (mCallbackMap.isEmpty() && mTorchCallbackMap.isEmpty()) { in scheduleCameraServiceReconnectionLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkService.java59 private final ConcurrentHashMap<Message, NetworkServiceCallback> mCallbackMap = field in CellularNetworkService.CellularNetworkServiceProvider
81 NetworkServiceCallback callback = mCallbackMap.remove(message); in CellularNetworkServiceProvider()
474 mCallbackMap.put(message, callback); in getNetworkRegistrationState()
478 mCallbackMap.put(message, callback); in getNetworkRegistrationState()
491 mCallbackMap.clear(); in onDestroy()
/frameworks/support/media/src/main/java/android/support/v4/media/session/
DMediaControllerCompat.java1927 private HashMap<Callback, ExtraCallback> mCallbackMap = new HashMap<>(); field in MediaControllerCompat.MediaControllerImplApi21
1955 mCallbackMap.put(callback, extraCallback); in registerCallback()
1975 ExtraCallback extraCallback = mCallbackMap.remove(callback); in unregisterCallback()
2184 mCallbackMap.put(callback, extraCallback); in processPendingCallbacks()