/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDiagnosticManagerTest.java | 284 Listener listener = new Listener(); in testLiveFrameEvent() 308 Listener listener = new Listener(); in testMissingSensorRead() 342 Listener listener = new Listener(); in testFuelSystemStatus() 365 Listener listener = new Listener(); in testSecondaryAirStatus() 394 Listener listener = new Listener(); in testIgnitionMonitors() 491 Listener listener = new Listener(); in testFuelType() 514 Listener listener = new Listener(); in testDiagnosticJson() 565 Listener listener1 = new Listener(); in testMultipleListeners() 566 Listener listener2 = new Listener(); in testMultipleListeners() 630 Listener listener = new Listener(); in testFreezeFrameEvent() [all …]
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCallList.java | 39 public static abstract class Listener { class in TestCallList 105 private Set<Listener> mListeners = new ArraySet<Listener>(); 116 public void addListener(Listener listener) { in addListener() 122 public boolean removeListener(Listener listener) { in removeListener() 139 for (Listener l : mListeners) { in addCall() 153 for (Listener l : mListeners) { in removeCall() 236 for (Listener l : mListeners) { in onRttStatusChanged() 240 for (Listener l : mListeners) { in onRttStatusChanged() 248 for (Listener l : mListeners) { in onRttInitiationFailure() 256 for (Listener l : mListeners) { in onRttRequest()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Call.java | 106 public interface Listener { interface in Call 148 public abstract static class ListenerBase implements Listener { 374 private final Set<Listener> mListeners = Collections.newSetFromMap( 375 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1)); 642 public void addListener(Listener listener) { in addListener() 646 public void removeListener(Listener listener) { in removeListener() 990 for (Listener l : mListeners) { in setRingbackRequested() 1080 for (Listener l : mListeners) { in setHandle() 1099 for (Listener l : mListeners) { in setCallerDisplayName() 1181 for (Listener l : mListeners) { in setConnectionManagerPhoneAccount() [all …]
|
D | DockManager.java | 36 public interface Listener { interface in DockManager 64 private final Set<Listener> mListeners = Collections.newSetFromMap( 65 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1)); 78 public void addListener(Listener listener) { in addListener() 82 void removeListener(Listener listener) { in removeListener() 104 for (Listener listener : mListeners) { in onDockChanged()
|
/packages/apps/TV/src/com/android/tv/ |
D | ChannelTuner.java | 57 private final Set<Listener> mListeners = new ArraySet<>(); 62 private final ChannelDataManager.Listener mChannelDataManagerListener = 63 new ChannelDataManager.Listener() { 68 for (Listener l : mListeners) { 81 for (Listener l : mListeners) { 287 public void addListener(Listener listener) { in addListener() 292 public void removeListener(Listener listener) { in removeListener() 296 public interface Listener { interface in ChannelTuner 317 for (Listener l : mListeners) { in setCurrentChannelAndNotify() 340 for (Listener l : mListeners) { in updateChannelData() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImpl.java | 59 private final Set<Listener> mListeners = new HashSet<>(); 88 for (Listener listener : getListenersCopy()) { 96 for (Listener listener : getListenersCopy()) { 113 for (Listener listener : getListenersCopy()) { 136 for (Listener listener : getListenersCopy()) { 145 for (Listener listener : getListenersCopy()) { 171 public void addListener(Listener listener) { in addListener() 176 public void removeListener(Listener listener) { in removeListener() 194 for (Listener listener : getListenersCopy()) { in onStart() 241 private Collection<Listener> getListenersCopy() { in getListenersCopy()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ImportVCardDialogFragment.java | 37 public interface Listener { interface in ImportVCardDialogFragment 49 if (!(activity instanceof Listener)) { in show() 51 "Activity must implement " + Listener.class.getName()); in show() 74 final Listener listener = (Listener) getActivity(); in onCreateDialog() 83 final Listener listener = (Listener) getActivity(); in onCreateDialog()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | InCallCameraManager.java | 30 private final Set<Listener> cameraSelectionListeners = 31 Collections.newSetFromMap(new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1)); 63 for (Listener listener : cameraSelectionListeners) { in setUseFrontFacingCamera() 94 for (Listener listener : cameraSelectionListeners) { in onCameraPermissionGranted() 155 public void addCameraSelectionListener(Listener listener) { in addCameraSelectionListener() 161 public void removeCameraSelectionListener(Listener listener) { in removeCameraSelectionListener() 167 public interface Listener { interface in InCallCameraManager
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RecommendationDataManager.java | 55 public class RecommendationDataManager implements WatchedHistoryManager.Listener { 90 private final ChannelDataManager.Listener mChannelDataListener = 91 new ChannelDataManager.Listener() { 112 private final List<Listener> mListeners = new ArrayList<>(); 120 Context context, @NonNull Listener listener) { in acquireManager() 199 public void release(@NonNull final Listener listener) { in release() 252 private void addListener(Listener listener) { in addListener() 257 private void removeListener(Listener listener) { in removeListener() 347 for (Listener l : mListeners) { in onLoadWatchHistory() 388 for (Listener l : mListeners) { in onNewRecordAdded() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | CallList.java | 81 private final Set<Listener> listeners = 82 Collections.newSetFromMap(new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1)); 348 for (Listener listener : listeners) { in onIncoming() 354 public void addListener(@NonNull Listener listener) { in addListener() 367 public void removeListener(@Nullable Listener listener) { in removeListener() 617 for (Listener listener : listeners) { in notifyGenericListeners() 624 for (Listener listener : listeners) { in notifyListenersOfDisconnect() 734 public interface Listener { interface in CallList 831 for (Listener listener : listeners) { in onDialerCallUpgradeToRtt() 838 for (Listener listener : listeners) { in onDialerCallSpeakEasyStateChange() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | 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) { 123 public interface Listener { interface in MtpClient 226 public void addListener(Listener listener) { in addListener() 239 public void removeListener(Listener listener) { in removeListener()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberAsyncQueryHandler.java | 61 ((Listener) cookie).onQueryComplete(token, cookie, cursor); in onQueryComplete() 73 ((Listener) cookie).onInsertComplete(token, cookie, uri); in onInsertComplete() 80 ((Listener) cookie).onUpdateComplete(token, cookie, result); in onUpdateComplete() 87 ((Listener) cookie).onDeleteComplete(token, cookie, result); in onDeleteComplete() 98 new Listener() { in hasBlockedNumbers() 158 new Listener() { in isBlockedNumber() 306 new Listener() { in blockNumber() 349 new Listener() { in unblock() 364 new Listener() { in unblock() 429 private abstract static class Listener { class in FilteredNumberAsyncQueryHandler
|
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
D | FallbackAssistant.java | 62 private final TextToSpeechHelper.Listener mListener = new TextToSpeechHelper.Listener() { 85 public interface Listener { interface in FallbackAssistant 104 public void handleReadAction(StatusBarNotification sbn, Listener listener) { in handleReadAction() 152 public void handleErrorMessage(CharSequence errorMessage, Listener listener) { in handleErrorMessage() 235 private final Listener mListener; 238 Listener listener) { in ActionRequestInfo() 248 Listener getListener() { in getListener()
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricEnrollSidecar.java | 39 public interface Listener { interface in BiometricEnrollSidecar 47 private Listener mListener; 58 public abstract void send(Listener listener); in send() 70 public void send(Listener listener) { in send() 84 public void send(Listener listener) { in send() 98 public void send(Listener listener) { in send() 192 public void setListener(Listener listener) { in setListener()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/ |
D | BiometricEnrollSidecar.java | 39 public interface Listener { interface in BiometricEnrollSidecar 47 private Listener mListener; 58 public abstract void send(Listener listener); in send() 70 public void send(Listener listener) { in send() 84 public void send(Listener listener) { in send() 98 public void send(Listener listener) { in send() 192 public void setListener(Listener listener) { in setListener()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | SelectAccountDialogFragment.java | 126 final Listener listener = getListener(); in onCancel() 136 final Listener listener = getListener(); in onAccountSelected() 142 private Listener getListener() { in getListener() 143 Listener listener = null; in getListener() 145 if (activity != null && activity instanceof Listener) { in getListener() 146 listener = (Listener) activity; in getListener() 158 public interface Listener { interface in SelectAccountDialogFragment
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorConnectionService.java | 41 private static final List<Listener> listeners = new ArrayList<>(); 49 public static void addListener(@NonNull Listener listener) { in addListener() 53 public static void removeListener(@NonNull Listener listener) { in removeListener() 100 for (Listener listener : listeners) { in onCreateOutgoingConnection() 142 for (Listener listener : listeners) { in onCreateIncomingConnection() 156 for (Listener listener : listeners) { in onConference() 162 public interface Listener { interface in SimulatorConnectionService
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | AudioLevelSource.java | 30 private volatile Listener mListener; 34 public interface Listener { interface in AudioLevelSource 58 final Listener l = mListener; in maybeNotify() 64 public synchronized void setListener(Listener listener) { in setListener() 68 public synchronized void clearListener(Listener listener) { in clearListener()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | Discovery.java | 47 private final List<Listener> mListeners = new CopyOnWriteArrayList<>(); 61 public void start(Listener listener) { in start() 81 public void stop(Listener listener) { in stop() 152 for (Listener listener : mListeners) { in printerFound() 165 for (Listener listener : mListeners) { in printerLost() 225 public interface Listener { interface in Discovery
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | CarWifiManager.java | 37 private final List<Listener> mListeners = new ArrayList<>(); 43 public interface Listener { interface in CarWifiManager 74 public boolean addListener(Listener listener) { in addListener() 81 public boolean removeListener(Listener listener) { in removeListener() 235 for (Listener listener : mListeners) { in onWifiStateChanged() 246 for (Listener listener : mListeners) { in onAccessPointsChanged()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupNameEditDialogFragment.java | 70 public interface Listener { interface in GroupNameEditDialogFragment 74 public static final Listener None = new Listener() { 86 private Listener mListener; 221 public void setListener(Listener listener) { in setListener() 339 private Listener getListener() { in getListener() 342 } else if (getActivity() instanceof Listener) { in getListener() 343 return (Listener) getActivity(); in getListener() 345 return Listener.None; in getListener()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | ParticleCollection.java | 38 public class ParticleCollection implements BiometricEnrollSidecar.Listener { 52 private Listener mListener; 54 public interface Listener { interface in ParticleCollection 58 private final AnimationParticle.Listener mParticleListener = new AnimationParticle.Listener() { 75 public ParticleCollection(Context context, Listener listener, Rect bounds, int borderWidth) { in ParticleCollection()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | ParticleCollection.java | 38 public class ParticleCollection implements BiometricEnrollSidecar.Listener { 52 private Listener mListener; 54 public interface Listener { interface in ParticleCollection 58 private final AnimationParticle.Listener mParticleListener = new AnimationParticle.Listener() { 75 public ParticleCollection(Context context, Listener listener, Rect bounds, int borderWidth) { in ParticleCollection()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultPackageStatusNotifier.java | 32 private final Map<Listener, ListenerWrapper> mListeners = new HashMap<>(); 43 public void addListener(Listener listener, String action) { in addListener() 51 public void removeListener(Listener listener) { in removeListener() 55 private void removeListenerAndMaybeUnregisterCallback(Listener listener) { in removeListenerAndMaybeUnregisterCallback() 66 private final Listener mListener; 68 ListenerWrapper(Context context, String action, Listener listener) { in ListenerWrapper()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | LoadWallpaperErrorDialogFragment.java | 49 Listener callback = (Listener) getTargetFragment(); in onCreateDialog() 63 Listener callback = (Listener) getTargetFragment(); 71 public interface Listener {
|