/frameworks/base/core/java/com/android/internal/midi/ |
D | MidiDispatcher.java | 46 private final CopyOnWriteArrayList<MidiReceiver> mReceivers field in MidiDispatcher 52 mReceivers.add(receiver); 57 mReceivers.remove(receiver); 74 return mReceivers.size(); in getReceiverCount() 89 for (MidiReceiver receiver : mReceivers) { in onSend() 96 mReceivers.remove(receiver); in onSend() 106 for (MidiReceiver receiver : mReceivers) { in onFlush() 111 mReceivers.remove(receiver); in onFlush()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CountryDetectorService.java | 87 private final HashMap<IBinder, Receiver> mReceivers; field in CountryDetectorService 96 mReceivers = new HashMap<IBinder, Receiver>(); in CountryDetectorService() 132 synchronized (mReceivers) { in addListener() 136 mReceivers.put(listener.asBinder(), r); in addListener() 137 if (mReceivers.size() == 1) { in addListener() 148 synchronized (mReceivers) { in removeListener() 149 mReceivers.remove(key); in removeListener() 150 if (mReceivers.isEmpty()) { in removeListener() 159 synchronized(mReceivers) { in notifyReceivers() 160 for (Receiver receiver : mReceivers.values()) { in notifyReceivers() [all …]
|
D | LocationManagerService.java | 223 private final HashMap<Object, Receiver> mReceivers = new HashMap<>(); field in LocationManagerService 479 for (Receiver receiver : mReceivers.values()) { in onAppOpChangedLocked() 552 for (Receiver receiver : mReceivers.values()) { in onPackageDisappearedLocked() 1687 Receiver receiver = mReceivers.get(listener.asBinder()); in locationCallbackFinished() 2414 Receiver receiver = mReceivers.get(binder); in getReceiverLocked() 2422 mReceivers.put(binder, receiver); in getReceiverLocked() 2430 Receiver receiver = mReceivers.get(intent); in getReceiverLocked() 2434 mReceivers.put(intent, receiver); in getReceiverLocked() 2640 if (mReceivers.remove(receiver.mKey) != null && receiver.isListener()) { in removeUpdatesLocked() 3693 for (Receiver receiver : mReceivers.values()) { in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DarkIconDispatcherImpl.java | 44 private final ArrayMap<Object, DarkReceiver> mReceivers = new ArrayMap<>(); field in DarkIconDispatcherImpl 66 mReceivers.put(receiver, receiver); in addDarkReceiver() 73 mReceivers.put(imageView, receiver); in addDarkReceiver() 78 mReceivers.remove(object); in removeDarkReceiver() 82 mReceivers.remove(object); in removeDarkReceiver() 86 mReceivers.get(object).onDarkChanged(mTintArea, mDarkIntensity, mIconTint); in applyDark() 121 for (int i = 0; i < mReceivers.size(); i++) { in applyIconTint() 122 mReceivers.valueAt(i).onDarkChanged(mTintArea, mDarkIntensity, mIconTint); in applyIconTint()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | ValueMetric_pull_e2e_test.cpp | 84 EXPECT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST() 86 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST() 88 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST() 188 EXPECT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST() 190 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST() 192 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST() 301 EXPECT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST() 303 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST() 305 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST()
|
D | GaugeMetric_e2e_pull_test.cpp | 84 EXPECT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST() 86 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST() 88 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST() 330 EXPECT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST() 332 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST() 334 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST() 440 EXPECT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST() 442 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST() 444 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST() 557 EXPECT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SliceBroadcastRelayHandler.java | 91 private final ArraySet<ComponentName> mReceivers = new ArraySet<>(); field in SliceBroadcastRelayHandler.BroadcastRelay 101 mReceivers.add(receiver); in register() 112 for (ComponentName receiver : mReceivers) { in onReceive()
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPullerManager.cpp | 326 auto& receivers = mReceivers[tagId]; in RegisterReceiver() 360 if (mReceivers.find(tagId) == mReceivers.end()) { in UnRegisterReceiver() 364 auto& receivers = mReceivers.find(tagId)->second; in UnRegisterReceiver() 382 for (auto& pair : mReceivers) { in OnAlarmFired()
|
D | StatsPullerManager.h | 112 std::map<int, std::list<ReceiverInfo>> mReceivers; variable
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 146 private final ArrayMap<Context, ArrayMap<BroadcastReceiver, ReceiverDispatcher>> mReceivers field in LoadedApk 1299 synchronized (mReceivers) { in removeContextRegistrations() 1301 mReceivers.remove(context); in removeContextRegistrations() 1358 synchronized (mReceivers) { in getReceiverDispatcher() 1362 map = mReceivers.get(context); in getReceiverDispatcher() 1373 mReceivers.put(context, map); in getReceiverDispatcher() 1387 synchronized (mReceivers) { in forgetReceiverDispatcher() 1388 ArrayMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> map = mReceivers.get(context); in forgetReceiverDispatcher() 1395 mReceivers.remove(context); in forgetReceiverDispatcher()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 356 private List<BroadcastReceiver> mReceivers = new ArrayList<BroadcastReceiver>(); field in BluetoothTestUtils 408 while (!mReceivers.isEmpty()) { in close() 409 mContext.unregisterReceiver(mReceivers.remove(0)); in close() 1384 mReceivers.add(receiver); in addReceiver() 1437 mReceivers.remove(receiver); in removeReceiver()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ComponentResolver.java | 161 private final ActivityIntentResolver mReceivers = new ActivityIntentResolver(); field in ComponentResolver 211 return mReceivers.mActivities.get(component); in getReceiver() 331 return mReceivers.queryIntent(intent, resolvedType, flags, userId); in queryReceivers() 338 return mReceivers.queryIntentForPackage(intent, resolvedType, flags, receivers, userId); in queryReceivers() 459 if (mReceivers.dump(pw, dumpState.getTitlePrinted() ? "\nReceiver Resolver Table:" in dumpReceiverResolvers() 628 mReceivers.addActivity(a, "receiver", null); in addReceiversLocked() 1005 mReceivers.removeActivity(a, "receiver"); in removeAllComponentsLocked()
|