Home
last modified time | relevance | path

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

/frameworks/base/nfc/java/android/nfc/
DNfcVendorNciCallbackListener.java35 private final Map<NfcVendorNciCallback, Executor> mCallbackMap = new HashMap<>(); field in NfcVendorNciCallbackListener
43 if (mCallbackMap.containsKey(callback)) { in register()
46 mCallbackMap.put(callback, executor); in register()
53 mCallbackMap.remove(callback); in register()
62 if (!mCallbackMap.containsKey(callback) || !mIsRegistered) { in unregister()
65 if (mCallbackMap.size() == 1) { in unregister()
69 mCallbackMap.remove(callback); in unregister()
75 mCallbackMap.remove(callback); in unregister()
86 for (NfcVendorNciCallback callback : mCallbackMap.keySet()) { in onVendorResponseReceived()
87 Executor executor = mCallbackMap.get(callback); in onVendorResponseReceived()
[all …]
/frameworks/base/media/java/android/media/tv/tuner/
DLnb.java154 Map<LnbCallback, Executor> mCallbackMap = field in Lnb
198 mCallbackMap.put(callback, executor); in addCallback()
212 boolean result = (mCallbackMap.remove(callback) != null); in removeCallback()
229 for (LnbCallback callback : mCallbackMap.keySet()) { in onEvent()
230 Executor executor = mCallbackMap.get(callback); in onEvent()
246 for (LnbCallback callback : mCallbackMap.keySet()) { in onDiseqcMessage()
247 Executor executor = mCallbackMap.get(callback); in onDiseqcMessage()
281 mCallbackMap.clear(); in closeInternal()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DCellularDataService.java69 private final Map<Message, DataServiceCallback> mCallbackMap = new HashMap<>(); field in CellularDataService.CellularDataServiceProvider
84 DataServiceCallback callback = mCallbackMap.remove(message); in CellularDataServiceProvider()
181 mCallbackMap.put(message, callback); in setupDataCall()
198 mCallbackMap.put(message, callback); in deactivateDataCall()
215 mCallbackMap.put(message, callback); in setInitialAttachApn()
232 mCallbackMap.put(message, callback); in setDataProfile()
247 mCallbackMap.put(message, callback); in requestDataCallList()
260 mCallbackMap.put(message, callback); in startHandover()
272 mCallbackMap.put(message, callback); in cancelHandover()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountSuggestionService.java71 mCallbackMap.put(number, callback);
76 private final Map<String, IPhoneAccountSuggestionCallback> mCallbackMap = field in PhoneAccountSuggestionService
110 IPhoneAccountSuggestionCallback callback = mCallbackMap.remove(number); in suggestPhoneAccounts()
/frameworks/base/core/java/android/app/
DVrManager.java57 private Map<VrStateCallback, CallbackEntry> mCallbackMap = new ArrayMap<>(); field in VrManager
77 if (callback == null || mCallbackMap.containsKey(callback)) { in registerVrStateCallback()
82 mCallbackMap.put(callback, entry); in registerVrStateCallback()
105 CallbackEntry entry = mCallbackMap.remove(callback); in unregisterVrStateCallback()
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java60 private final SparseArray<CallbackEntry> mCallbackMap = new SparseArray<>(); field in FuseAppLoop
102 mCallbackMap.size() < Integer.MAX_VALUE - MIN_INODE, "Too many opened files."); in registerCallback()
116 if (mCallbackMap.get(id) == null) { in registerCallback()
120 mCallbackMap.put(id, new CallbackEntry( in registerCallback()
128 mCallbackMap.remove(id);
295 final CallbackEntry entry = mCallbackMap.get(checkInode(inode));
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java893 private final Map<Callbacks, Handler> mCallbackMap = new ConcurrentHashMap<>(); field in VolumeDialogControllerImpl.C
897 mCallbackMap.put(callback, handler); in add()
901 mCallbackMap.remove(callback); in remove()
909 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowRequested()
921 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onDismissRequested()
935 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onStateChanged()
948 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onLayoutDirectionChanged()
960 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onConfigurationChanged()
972 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowVibrateHint()
984 for (final Map.Entry<Callbacks, Handler> entry : mCallbackMap.entrySet()) { in onShowSilentHint()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java2095 private final ArrayMap<AvailabilityCallback, Executor> mCallbackMap = new ArrayMap<>(); field in CameraManager.CameraManagerGlobal
2894 final int callbackCount = mCallbackMap.size(); in onStatusChangedLocked()
2896 final AvailabilityCallback callback = mCallbackMap.keyAt(i); in onStatusChangedLocked()
2901 final Executor executor = mCallbackMap.valueAt(i); in onStatusChangedLocked()
2966 final int callbackCount = mCallbackMap.size(); in onPhysicalCameraStatusChangedLocked()
2968 final AvailabilityCallback callback = mCallbackMap.keyAt(i); in onPhysicalCameraStatusChangedLocked()
2973 final Executor executor = mCallbackMap.valueAt(i); in onPhysicalCameraStatusChangedLocked()
3067 Executor oldExecutor = mCallbackMap.put(callback, executor); in registerAvailabilityCallback()
3088 mCallbackMap.remove(callback); in unregisterAvailabilityCallback()
3159 final int callbackCount = mCallbackMap.size(); in onCameraAccessPrioritiesChanged()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkService.java118 private final Map<Message, NetworkServiceCallback> mCallbackMap = new HashMap<>(); field in CellularNetworkService.CellularNetworkServiceProvider
132 NetworkServiceCallback callback = mCallbackMap.remove(message); in CellularNetworkServiceProvider()
657 mCallbackMap.put(message, callback); in requestNetworkRegistrationInfo()
661 mCallbackMap.put(message, callback); in requestNetworkRegistrationInfo()
672 mCallbackMap.clear(); in close()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9521 Landroid/app/VrManager;->mCallbackMap:Ljava/util/Map;
18704 Landroid/hardware/camera2/CameraManager$CameraManagerGlobal;->mCallbackMap:Landroid/util/ArrayMap;
74084 Lcom/android/internal/os/FuseAppLoop;->mCallbackMap:Landroid/util/SparseArray;