Home
last modified time | relevance | path

Searched refs:mBroadcastReceivers (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBroadcastWaiter.java48 private final List<BroadcastReceiver> mBroadcastReceivers = new ArrayList<>(); field in BroadcastWaiter
88 mBroadcastReceivers.add(receiver); in registerBroadcastReceiver()
93 mBroadcastReceivers.forEach(mContext::unregisterReceiver); in close()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java265 private final List<BroadcastReceiverRegistration> mBroadcastReceivers = new ArrayList<>(); field in MockSystemServices
269 mBroadcastReceivers.add(new BroadcastReceiverRegistration(receiver, filter, scheduler)); in registerReceiver()
273 mBroadcastReceivers.removeIf(r -> r.receiver == receiver); in unregisterReceiver()
400 for (final BroadcastReceiverRegistration receiver : mBroadcastReceivers) { in injectBroadcast()
406 for (final BroadcastReceiverRegistration receiver : mBroadcastReceivers) { in rethrowBackgroundBroadcastExceptions()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java123 private final SparseArray<BroadcastReceiver> mBroadcastReceivers = new SparseArray<>(); field in DataManager
621 if (mBroadcastReceivers.get(userId) == null) { in setupUser()
623 mBroadcastReceivers.put(userId, broadcastReceiver); in setupUser()
686 if (mBroadcastReceivers.indexOfKey(userId) >= 0) { in cleanupUser()
687 mContext.unregisterReceiver(mBroadcastReceivers.get(userId)); in cleanupUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java1909 private final Map<String, List<BroadcastReceiver>> mBroadcastReceivers = new ArrayMap<>(); field in AccessibilityManagerServiceTest.A11yTestableContext
1934 mBroadcastReceivers.getOrDefault(action, new ArrayList<>()); in registerReceiverAsUser()
1936 mBroadcastReceivers.put(action, actionReceivers); in registerReceiverAsUser()
1948 return mBroadcastReceivers; in getBroadcastReceivers()