/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
UnlockMethodCache.java | 38 private final ArrayList<OnUnlockMethodChangedListener> mListeners = new ArrayList<>(); 65 mListeners.add(listener); 69 mListeners.remove(listener); 90 for (OnUnlockMethodChangedListener listener : mListeners) {
|
/packages/apps/Camera2/src_pd/com/android/camera/app/ |
MotionManager.java | 29 private final LinkedList<MotionListener> mListeners =
|
/frameworks/base/core/java/android/view/accessibility/ |
CaptioningManager.java | 56 mListeners = new ArrayList<CaptioningChangeListener>(); 149 synchronized (mListeners) { 150 if (mListeners.isEmpty()) { 163 mListeners.add(listener); 178 synchronized (mListeners) { 179 mListeners.remove(listener); 181 if (mListeners.isEmpty()) { 189 synchronized (mListeners) { 190 for (CaptioningChangeListener listener : mListeners) { 198 synchronized (mListeners) { [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListFilterController.java | 83 private final List<ContactListFilterListener> mListeners = 95 mListeners.add(listener); 100 mListeners.remove(listener); 124 if (notifyListeners && !mListeners.isEmpty()) { 137 for (ContactListFilterListener listener : mListeners) {
|
/frameworks/base/telecomm/java/android/telecom/ |
Phone.java | 93 private final List<Listener> mListeners = new CopyOnWriteArrayList<>(); 170 mListeners.add(listener); 180 mListeners.remove(listener); 246 for (Listener listener : mListeners) { 252 for (Listener listener : mListeners) { 258 for (Listener listener : mListeners) { 264 for (Listener listener : mListeners) {
|
Conference.java | 47 private final Set<Listener> mListeners = new CopyOnWriteArraySet<>(); 208 for (Listener l : mListeners) { 222 for (Listener l : mListeners) { 238 for (Listener l : mListeners) { 256 for (Listener l : mListeners) { 281 for (Listener l : mListeners) { 311 for (Listener l : mListeners) { 324 mListeners.add(listener); 336 mListeners.remove(listener); 364 for (Listener l : mListeners) { [all...] |
Connection.java | 460 private final Set<Listener> mListeners = Collections.newSetFromMap( 586 mListeners.add(l); 600 mListeners.remove(l); 668 for (Listener l : mListeners) { 684 for (Listener l : mListeners) { 702 for (Listener l : mListeners) { 758 for (Listener l : mListeners) { 778 for (Listener l : mListeners) { 787 for (Listener l : mListeners) { 801 for (Listener l : mListeners) { [all...] |
Call.java | 378 private final List<Listener> mListeners = new CopyOnWriteArrayList<>(); 621 mListeners.add(listener); 631 mListeners.remove(listener); 765 for (Listener listener : mListeners) { 771 for (Listener listener : mListeners) { 777 for (Listener listener : mListeners) { 783 for (Listener listener : mListeners) { 789 for (Listener listener : mListeners) { 795 for (Listener listener : mListeners) { 801 for (Listener listener : mListeners) { [all...] |
/frameworks/base/core/java/android/os/storage/ |
StorageManager.java | 83 private List<ListenerDelegate> mListeners = new ArrayList<ListenerDelegate>(); 92 final int size = mListeners.size(); 94 mListeners.get(i).sendShareAvailabilityChanged(available); 99 final int size = mListeners.size(); 101 mListeners.get(i).sendStorageStateChanged(path, oldState, newState); 113 private SparseArray<ObbListenerDelegate> mListeners = new SparseArray<ObbListenerDelegate>(); 118 synchronized (mListeners) { 119 delegate = mListeners.get(nonce); 121 mListeners.remove(nonce); 133 synchronized (mListeners) { [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
Connection.java | 94 public Set<Listener> mListeners = new CopyOnWriteArraySet<>(); 400 mListeners = c.mListeners; 420 mListeners.add(listener); 429 mListeners.remove(listener); 485 for (Listener l : mListeners) { 497 for (Listener l : mListeners) { 509 for (Listener l : mListeners) { 521 for (Listener l : mListeners) { 533 for (Listener l : mListeners) { [all...] |
/frameworks/base/media/java/android/media/ |
AudioPortEventHandler.java | 35 private ArrayList<AudioManager.OnAudioPortUpdateListener> mListeners; 47 mListeners = new ArrayList<AudioManager.OnAudioPortUpdateListener>(); 60 if (mListeners.contains(msg.obj)) { 64 listeners = mListeners; 132 mListeners.add(l); 142 mListeners.remove(l);
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
ChromeSigninController.java | 39 private final ObserverList<Listener> mListeners = new ObserverList<Listener>(); 84 for (Listener listener : mListeners) { 99 mListeners.addObserver(listener); 107 mListeners.removeObserver(listener);
|
/hardware/intel/img/hwcomposer/include/ |
UeventObserver.h | 57 KeyedVector<String8, UeventListener*> mListeners;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ViewMode.java | 77 private final ArrayList<ModeChangeListener> mListeners = Lists.newArrayList(); 116 mListeners.add(listener); 124 ArrayList<ModeChangeListener> list = new ArrayList<ModeChangeListener>(mListeners); 262 mListeners.remove(listener);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
OrientationManagerImpl.java | 55 private final List<OrientationChangeCallback> mListeners = 118 if (mListeners.contains(callback)) { 121 mListeners.add(callback); 128 if (!mListeners.remove(callback)) { 202 for (OrientationChangeCallback l : mListeners) {
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ProviderStatusWatcher.java | 87 private final ArrayList<ProviderStatusListener> mListeners = Lists.newArrayList(); 113 mListeners.add(listener); 118 mListeners.remove(listener); 123 Log.d(TAG, "notifyListeners: " + mListeners.size()); 126 for (ProviderStatusListener listener : mListeners) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
FlashlightController.java | 55 /** Lock on mListeners when accessing */ 56 private final ArrayList<WeakReference<FlashlightListener>> mListeners = new ArrayList<>(1); 110 synchronized (mListeners) { 112 mListeners.add(new WeakReference<>(l)); 117 synchronized (mListeners) { 251 synchronized (mListeners) { 252 final int N = mListeners.size(); 255 FlashlightListener l = mListeners.get(i).get(); 275 for (int i = mListeners.size() - 1; i >= 0; i--) { 276 FlashlightListener found = mListeners.get(i).get() [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
CallsManager.java | 113 private final Set<CallsManagerListener> mListeners = Collections.newSetFromMap( 169 mListeners.add(statusBarNotifier); 170 mListeners.add(mCallLogManager); 171 mListeners.add(mPhoneStateBroadcaster); 172 mListeners.add(mInCallController); 173 mListeners.add(mRinger); 174 mListeners.add(new RingbackPlayer(this, playerFactory)); 175 mListeners.add(new InCallToneMonitor(playerFactory, this)); 176 mListeners.add(mCallAudioManager); 177 mListeners.add(missedCallNotifier) [all...] |
Call.java | 254 private final Set<Listener> mListeners = Collections.newSetFromMap( 339 mListeners.add(listener); 344 mListeners.remove(listener); 392 for (Listener l : mListeners) { 425 for (Listener l : mListeners) { 444 for (Listener l : mListeners) { 506 for (Listener l : mListeners) { 520 for (Listener l : mListeners) { 567 for (Listener l : mListeners) { 644 for (Listener l : mListeners) { [all...] |
ServiceBinder.java | 161 private final Set<Listener> mListeners = Collections.newSetFromMap( 236 mListeners.add(listener); 241 mListeners.remove(listener); 302 for (Listener l : mListeners) {
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 55 private final ArrayList<Listener> mListeners = new ArrayList<Listener>(); 78 for (Listener listener : mListeners) { 85 for (Listener listener : mListeners) { 98 for (Listener listener : mListeners) { 204 if (!mListeners.contains(listener)) { 205 mListeners.add(listener); 217 mListeners.remove(listener);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpClient.java | 53 private final ArrayList<Listener> mListeners = new ArrayList<Listener>(); 83 for (Listener listener : mListeners) { 92 for (Listener listener : mListeners) { 106 for (Listener listener : mListeners) { 228 if (!mListeners.contains(listener)) { 229 mListeners.add(listener); 241 mListeners.remove(listener);
|
/system/core/healthd/ |
BatteryPropertiesRegistrar.h | 38 Vector<sp<IBatteryPropertiesListener> > mListeners;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
LocationBasedCountryDetectorTest.java | 44 private Map<String, LocationListener> mListeners; 55 mListeners = new HashMap<String, LocationListener>(); 98 mListeners.put(provider, listener); 103 for (Entry<String, LocationListener> entry : mListeners.entrySet()) { 105 mListeners.remove(entry.getKey()); 113 return mListeners; 128 LocationListener[] listeners = new LocationListener[mListeners.size()]; 136 return mListeners.size();
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
SettingsManager.java | 85 private final List<OnSettingChangedListener> mListeners = 174 if (mListeners.contains(listener)) { 178 mListeners.add(listener); 188 Log.v(TAG, "listeners: " + mListeners); 200 if (!mListeners.contains(listener)) { 204 int index = mListeners.indexOf(listener); 205 mListeners.remove(listener); 232 mListeners.clear();
|