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.java56 private final Map<Message, DataServiceCallback> mCallbackMap = new HashMap<>(); field in CellularDataService.CellularDataServiceProvider
70 DataServiceCallback callback = mCallbackMap.remove(message); in CellularDataServiceProvider()
130 mCallbackMap.put(message, callback); in setupDataCall()
146 mCallbackMap.put(message, callback); in deactivateDataCall()
162 mCallbackMap.put(message, callback); in setInitialAttachApn()
178 mCallbackMap.put(message, callback); in setDataProfile()
193 mCallbackMap.put(message, callback); in requestDataCallList()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountSuggestionService.java73 mCallbackMap.put(number, callback);
78 private final Map<String, IPhoneAccountSuggestionCallback> mCallbackMap = field in PhoneAccountSuggestionService
112 IPhoneAccountSuggestionCallback callback = mCallbackMap.remove(number); in suggestPhoneAccounts()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1118 private final ArrayMap<AvailabilityCallback, Executor> mCallbackMap = field in CameraManager.CameraManagerGlobal
1756 final int callbackCount = mCallbackMap.size(); in onStatusChangedLocked()
1758 Executor executor = mCallbackMap.valueAt(i); in onStatusChangedLocked()
1759 final AvailabilityCallback callback = mCallbackMap.keyAt(i); in onStatusChangedLocked()
1808 final int callbackCount = mCallbackMap.size(); in onPhysicalCameraStatusChangedLocked()
1810 Executor executor = mCallbackMap.valueAt(i); in onPhysicalCameraStatusChangedLocked()
1811 final AvailabilityCallback callback = mCallbackMap.keyAt(i); in onPhysicalCameraStatusChangedLocked()
1866 Executor oldExecutor = mCallbackMap.put(callback, executor); in registerAvailabilityCallback()
1887 mCallbackMap.remove(callback); in unregisterAvailabilityCallback()
1942 final int callbackCount = mCallbackMap.size(); in onCameraAccessPrioritiesChanged()
[all …]
/frameworks/base/core/java/android/app/
DVrManager.java56 private Map<VrStateCallback, CallbackEntry> mCallbackMap = new ArrayMap<>(); field in VrManager
76 if (callback == null || mCallbackMap.containsKey(callback)) { in registerVrStateCallback()
81 mCallbackMap.put(callback, entry); in registerVrStateCallback()
104 CallbackEntry entry = mCallbackMap.remove(callback); in unregisterVrStateCallback()
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java59 private final SparseArray<CallbackEntry> mCallbackMap = new SparseArray<>(); field in FuseAppLoop
101 mCallbackMap.size() < Integer.MAX_VALUE - MIN_INODE, "Too many opened files."); in registerCallback()
115 if (mCallbackMap.get(id) == null) { in registerCallback()
119 mCallbackMap.put(id, new CallbackEntry( in registerCallback()
127 mCallbackMap.remove(id);
294 final CallbackEntry entry = mCallbackMap.get(checkInode(inode));
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java832 private final HashMap<Callbacks, Handler> mCallbackMap = new HashMap<>(); field in C
836 mCallbackMap.put(callback, handler); in add()
840 mCallbackMap.remove(callback); in remove()
845 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowRequested()
857 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onDismissRequested()
871 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onStateChanged()
884 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onLayoutDirectionChanged()
896 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onConfigurationChanged()
908 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowVibrateHint()
920 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowSilentHint()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkService.java66 private final Map<Message, NetworkServiceCallback> mCallbackMap = new HashMap<>(); field in CellularNetworkService.CellularNetworkServiceProvider
80 NetworkServiceCallback callback = mCallbackMap.remove(message); in CellularNetworkServiceProvider()
476 mCallbackMap.put(message, callback); in requestNetworkRegistrationInfo()
480 mCallbackMap.put(message, callback); in requestNetworkRegistrationInfo()
491 mCallbackMap.clear(); in close()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java188 mCallbackMap = new ConcurrentHashMap<>(); field in NetworkPolicyManager
303 if (null != mCallbackMap.putIfAbsent(callback, callbackProxy)) { in registerSubscriptionCallback()
316 final SubscriptionCallbackProxy callbackProxy = mCallbackMap.remove(callback); in unregisterSubscriptionCallback()