Home
last modified time | relevance | path

Searched refs:Listener (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticManagerTest.java284 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/src/com/android/server/telecom/
DCall.java111 public interface Listener { interface in Call
156 public abstract static class ListenerBase implements Listener {
406 private final Set<Listener> mListeners = Collections.newSetFromMap(
407 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
741 public void addListener(Listener listener) { in addListener()
745 public void removeListener(Listener listener) { in removeListener()
1110 for (Listener l : mListeners) { in setRingbackRequested()
1227 for (Listener l : mListeners) { in setHandle()
1259 for (Listener l : mListeners) { in setCallerDisplayName()
1367 for (Listener l : mListeners) { in setConnectionManagerPhoneAccount()
[all …]
DDockManager.java36 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/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCallList.java39 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/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeCallList.java38 public static abstract class Listener { class in CarModeCallList
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/apps/TV/src/com/android/tv/
DChannelTuner.java57 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/
DWifiInfoProviderImpl.java59 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/
DImportVCardDialogFragment.java37 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/
DInCallCameraManager.java30 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/
DRecommendationDataManager.java58 public class RecommendationDataManager implements WatchedHistoryManager.Listener {
93 private final ChannelDataManager.Listener mChannelDataListener =
94 new ChannelDataManager.Listener() {
115 private final List<Listener> mListeners = new ArrayList<>();
123 Context context, @NonNull Listener listener) { in acquireManager()
202 public void release(@NonNull final Listener listener) { in release()
258 private void addListener(Listener listener) { in addListener()
263 private void removeListener(Listener listener) { in removeListener()
353 for (Listener l : mListeners) { in onLoadWatchHistory()
394 for (Listener l : mListeners) { in onNewRecordAdded()
[all …]
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java81 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/
DMtpClient.java53 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/
DFilteredNumberAsyncQueryHandler.java61 ((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/
DFallbackAssistant.java62 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()
157 public void handleErrorMessage(CharSequence errorMessage, Listener listener) { in handleErrorMessage()
240 private final Listener mListener;
243 Listener listener) { in ActionRequestInfo()
253 Listener getListener() { in getListener()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollSidecar.java39 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/
DBiometricEnrollSidecar.java39 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/
DSelectAccountDialogFragment.java126 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/
DSimulatorConnectionService.java41 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/
DAudioLevelSource.java30 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/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java37 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/services/BuiltInPrintService/src/com/android/bips/discovery/
DDiscovery.java47 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/Contacts/src/com/android/contacts/group/
DGroupNameEditDialogFragment.java70 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/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DLoadWallpaperErrorDialogFragment.java49 Listener callback = (Listener) getTargetFragment(); in onCreateDialog()
63 Listener callback = (Listener) getTargetFragment();
71 public interface Listener {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DParticleCollection.java38 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/
DDefaultPackageStatusNotifier.java32 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()

12345678910>>...16