/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 | 200 private final HashMap<Object, Receiver> mReceivers = new HashMap<>(); field in LocationManagerService 304 for (Receiver receiver : mReceivers.values()) { in systemRunning() 1110 Receiver receiver = mReceivers.get(binder); in locationCallbackFinished() 1960 Receiver receiver = mReceivers.get(binder); in getReceiverLocked() 1970 mReceivers.put(binder, receiver); in getReceiverLocked() 1977 Receiver receiver = mReceivers.get(intent); in getReceiverLocked() 1981 mReceivers.put(intent, receiver); in getReceiverLocked() 2169 if (mReceivers.remove(receiver.mKey) != null && receiver.isListener()) { in removeUpdatesLocked() 3112 for (Receiver receiver : mReceivers.values()) { 3386 for (Receiver receiver : mReceivers.values()) { in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DarkIconDispatcherImpl.java | 33 private final ArrayMap<Object, DarkReceiver> mReceivers = new ArrayMap<>(); field in DarkIconDispatcherImpl 53 mReceivers.put(receiver, receiver); in addDarkReceiver() 60 mReceivers.put(imageView, receiver); in addDarkReceiver() 65 mReceivers.remove(object); in removeDarkReceiver() 69 mReceivers.remove(object); in removeDarkReceiver() 73 mReceivers.get(object).onDarkChanged(mTintArea, mDarkIntensity, mIconTint); in applyDark() 102 for (int i = 0; i < mReceivers.size(); i++) { in applyIconTint() 103 mReceivers.valueAt(i).onDarkChanged(mTintArea, mDarkIntensity, mIconTint); in applyIconTint()
|
/frameworks/support/localbroadcastmanager/src/main/java/androidx/localbroadcastmanager/content/ |
D | LocalBroadcastManager.java | 90 private final HashMap<BroadcastReceiver, ArrayList<ReceiverRecord>> mReceivers field in LocalBroadcastManager 140 synchronized (mReceivers) { in registerReceiver() 142 ArrayList<ReceiverRecord> filters = mReceivers.get(receiver); in registerReceiver() 145 mReceivers.put(receiver, filters); in registerReceiver() 170 synchronized (mReceivers) { in unregisterReceiver() 171 final ArrayList<ReceiverRecord> filters = mReceivers.remove(receiver); in unregisterReceiver() 213 synchronized (mReceivers) { in sendBroadcast() 297 synchronized (mReceivers) { in executePendingBroadcasts()
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPullerManagerImpl.cpp | 233 auto& receivers = mReceivers[tagId]; in RegisterReceiver() 267 if (mReceivers.find(tagId) == mReceivers.end()) { in UnRegisterReceiver() 271 auto& receivers = mReceivers.find(tagId)->second; in UnRegisterReceiver() 288 for (auto& pair : mReceivers) { in OnAlarmFired()
|
D | StatsPullerManagerImpl.h | 85 std::map<int, std::list<ReceiverInfo>> mReceivers; variable
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SliceBroadcastRelayHandler.java | 88 private final ArraySet<ComponentName> mReceivers = new ArraySet<>(); field in SliceBroadcastRelayHandler.BroadcastRelay 98 mReceivers.add(receiver); in register() 109 for (ComponentName receiver : mReceivers) { in onReceive()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | ValueMetric_pull_e2e_test.cpp | 77 EXPECT_EQ((size_t)1, StatsPullerManagerImpl::GetInstance().mReceivers.size()); in TEST() 79 StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST() 81 int64_t& expectedPullTimeNs = StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST() 184 EXPECT_EQ((size_t)1, StatsPullerManagerImpl::GetInstance().mReceivers.size()); in TEST() 186 StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST() 188 int64_t& expectedPullTimeNs = StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
|
D | GaugeMetric_e2e_pull_test.cpp | 77 EXPECT_EQ((size_t)1, StatsPullerManagerImpl::GetInstance().mReceivers.size()); in TEST() 79 StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST() 81 int64_t& nextPullTimeNs = StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST() 324 EXPECT_EQ((size_t)1, StatsPullerManagerImpl::GetInstance().mReceivers.size()); in TEST() 326 StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST() 328 int64_t& nextPullTimeNs = StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 122 private final ArrayMap<Context, ArrayMap<BroadcastReceiver, ReceiverDispatcher>> mReceivers field in LoadedApk 1141 synchronized (mReceivers) { in removeContextRegistrations() 1143 mReceivers.remove(context); in removeContextRegistrations() 1200 synchronized (mReceivers) { in getReceiverDispatcher() 1204 map = mReceivers.get(context); in getReceiverDispatcher() 1215 mReceivers.put(context, map); in getReceiverDispatcher() 1229 synchronized (mReceivers) { in forgetReceiverDispatcher() 1230 ArrayMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> map = mReceivers.get(context); in forgetReceiverDispatcher() 1237 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() 1378 mReceivers.add(receiver); in addReceiver() 1431 mReceivers.remove(receiver); in removeReceiver()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 928 final ActivityIntentResolver mReceivers = field in PackageManagerService 4135 final PackageParser.Activity activity = mReceivers.mActivities.get(component); in isComponentVisibleToInstantApp() 5001 PackageParser.Activity a = mReceivers.mActivities.get(component); in getReceiverInfo() 7602 mReceivers.queryIntent(intent, resolvedType, flags, userId); 7609 final List<ResolveInfo> result = mReceivers.queryIntentForPackage( 11552 mReceivers.addActivity(a, "receiver"); 12315 mReceivers.removeActivity(a, "receiver"); 21598 if (mReceivers.dump(pw, dumpState.getTitlePrinted() ? "\nReceiver Resolver Table:"
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 824 Landroid/app/LoadedApk;->mReceivers:Landroid/util/ArrayMap;
|