Home
last modified time | relevance | path

Searched refs:mReceivers (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/midi/
DMidiDispatcher.java34 private final CopyOnWriteArrayList<MidiReceiver> mReceivers field in MidiDispatcher
40 mReceivers.add(receiver);
45 mReceivers.remove(receiver);
54 return mReceivers.size(); in getReceiverCount()
69 for (MidiReceiver receiver : mReceivers) { in onSend()
74 mReceivers.remove(receiver); in onSend()
81 for (MidiReceiver receiver : mReceivers) { in onFlush()
/frameworks/base/services/core/java/com/android/server/
DCountryDetectorService.java86 private final HashMap<IBinder, Receiver> mReceivers; field in CountryDetectorService
95 mReceivers = new HashMap<IBinder, Receiver>(); in CountryDetectorService()
131 synchronized (mReceivers) { in addListener()
135 mReceivers.put(listener.asBinder(), r); in addListener()
136 if (mReceivers.size() == 1) { in addListener()
147 synchronized (mReceivers) { in removeListener()
148 mReceivers.remove(key); in removeListener()
149 if (mReceivers.isEmpty()) { in removeListener()
158 synchronized(mReceivers) { in notifyReceivers()
159 for (Receiver receiver : mReceivers.values()) { in notifyReceivers()
[all …]
DLocationManagerService.java182 private final HashMap<Object, Receiver> mReceivers = new HashMap<Object, Receiver>(); field in LocationManagerService
267 for (Receiver receiver : mReceivers.values()) { in systemRunning()
977 Receiver receiver = mReceivers.get(binder); in locationCallbackFinished()
1540 Receiver receiver = mReceivers.get(binder); in getReceiverLocked()
1550 mReceivers.put(binder, receiver); in getReceiverLocked()
1557 Receiver receiver = mReceivers.get(intent); in getReceiverLocked()
1561 mReceivers.put(intent, receiver); in getReceiverLocked()
1734 if (mReceivers.remove(receiver.mKey) != null && receiver.isListener()) { in removeUpdatesLocked()
2415 for (Receiver receiver : mReceivers.values()) {
2672 for (Receiver receiver : mReceivers.values()) { in dump()
/frameworks/support/core-utils/java/android/support/v4/content/
DLocalBroadcastManager.java84 private final HashMap<BroadcastReceiver, ArrayList<IntentFilter>> mReceivers field in LocalBroadcastManager
134 synchronized (mReceivers) { in registerReceiver()
136 ArrayList<IntentFilter> filters = mReceivers.get(receiver); in registerReceiver()
139 mReceivers.put(receiver, filters); in registerReceiver()
164 synchronized (mReceivers) { in unregisterReceiver()
165 ArrayList<IntentFilter> filters = mReceivers.remove(receiver); in unregisterReceiver()
201 synchronized (mReceivers) { in sendBroadcast()
285 synchronized (mReceivers) { in executePendingBroadcasts()
/frameworks/base/core/java/android/app/
DLoadedApk.java116 private final ArrayMap<Context, ArrayMap<BroadcastReceiver, ReceiverDispatcher>> mReceivers field in LoadedApk
877 synchronized (mReceivers) { in removeContextRegistrations()
879 mReceivers.remove(context); in removeContextRegistrations()
936 synchronized (mReceivers) { in getReceiverDispatcher()
940 map = mReceivers.get(context); in getReceiverDispatcher()
951 mReceivers.put(context, map); in getReceiverDispatcher()
965 synchronized (mReceivers) { in forgetReceiverDispatcher()
966 ArrayMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> map = mReceivers.get(context); in forgetReceiverDispatcher()
973 mReceivers.remove(context); in forgetReceiverDispatcher()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java356 private List<BroadcastReceiver> mReceivers = new ArrayList<BroadcastReceiver>(); field in BluetoothTestUtils
408 while (!mReceivers.isEmpty()) { in close()
409 mContext.unregisterReceiver(mReceivers.remove(0)); in close()
1378 mReceivers.add(receiver); in addReceiver()
1431 mReceivers.remove(receiver); in removeReceiver()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java656 final ActivityIntentResolver mReceivers = field in PackageManagerService
3529 PackageParser.Activity a = mReceivers.mActivities.get(component);
5939 return mReceivers.queryIntent(intent, resolvedType, flags, userId); in queryIntentReceiversInternal()
5943 return mReceivers.queryIntentForPackage(intent, resolvedType, flags, pkg.receivers, in queryIntentReceiversInternal()
8613 mReceivers.addActivity(a, "receiver"); in scanPackageDirtyLI()
9543 mReceivers.removeActivity(a, "receiver"); in cleanPackageDataStructuresLILPw()
18424 if (mReceivers.dump(pw, dumpState.getTitlePrinted() ? "\nReceiver Resolver Table:" in dump()