Searched refs:mBroadcastReceivers (Results 1 – 4 of 4) sorted by relevance
48 private final List<BroadcastReceiver> mBroadcastReceivers = new ArrayList<>(); field in BroadcastWaiter88 mBroadcastReceivers.add(receiver); in registerBroadcastReceiver()93 mBroadcastReceivers.forEach(mContext::unregisterReceiver); in close()
265 private final List<BroadcastReceiverRegistration> mBroadcastReceivers = new ArrayList<>(); field in MockSystemServices269 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()
123 private final SparseArray<BroadcastReceiver> mBroadcastReceivers = new SparseArray<>(); field in DataManager621 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()
1909 private final Map<String, List<BroadcastReceiver>> mBroadcastReceivers = new ArrayMap<>(); field in AccessibilityManagerServiceTest.A11yTestableContext1934 mBroadcastReceivers.getOrDefault(action, new ArrayList<>()); in registerReceiverAsUser()1936 mBroadcastReceivers.put(action, actionReceivers); in registerReceiverAsUser()1948 return mBroadcastReceivers; in getBroadcastReceivers()