Home
last modified time | relevance | path

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

12345678910>>...17

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticManagerTest.java292 Listener listener = new Listener(); in testLiveFrameEvent()
316 Listener listener = new Listener(); in testMissingSensorRead()
350 Listener listener = new Listener(); in testFuelSystemStatus()
373 Listener listener = new Listener(); in testSecondaryAirStatus()
402 Listener listener = new Listener(); in testIgnitionMonitors()
501 Listener listener = new Listener(); in testFuelType()
524 Listener listener = new Listener(); in testDiagnosticJson()
575 Listener listener1 = new Listener(); in testMultipleListeners()
576 Listener listener2 = new Listener(); in testMultipleListeners()
640 Listener listener = new Listener(); in testFreezeFrameEvent()
[all …]
/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/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/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiInfoProvider.java58 interface Listener { interface in WifiInfoProvider
82 private final Set<Listener> mListeners = new HashSet<>();
108 for (Listener listener : getListenersCopy()) {
119 for (Listener listener : getListenersCopy()) {
128 for (Listener listener : getListenersCopy()) {
157 public void addListener(Listener listener) { in addListener()
164 public void removeListener(Listener listener) { in removeListener()
180 for (Listener listener : getListenersCopy()) { in onStart()
199 for (Listener listener : getListenersCopy()) { in onUpdated()
256 private Collection<Listener> getListenersCopy() { in getListenersCopy()
/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/services/Telecomm/src/com/android/server/telecom/
DCall.java121 public interface Listener { interface in Call
170 public abstract static class ListenerBase implements Listener {
431 private final Set<Listener> mListeners = Collections.newSetFromMap(
432 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
822 public void addListener(Listener listener) { in addListener()
826 public void removeListener(Listener listener) { in removeListener()
1257 for (Listener l : mListeners) { in setRingbackRequested()
1379 for (Listener l : mListeners) { in setHandle()
1413 for (Listener l : mListeners) { in setCallerDisplayName()
1521 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/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/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothActionFragment.java43 interface Listener { interface in BluetoothActionFragment
109 Listener listener = getListener(); in onGuidedActionClicked()
139 Listener listener = getListener(); in onGuidedActionEditedAndProceed()
206 private Listener getListener() { in getListener()
207 Listener listener = getTargetFragment() instanceof Listener in getListener()
208 ? (Listener) getTargetFragment() in getListener()
211 listener = getActivity() instanceof Listener ? (Listener) getActivity() : null; in getListener()
/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/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/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/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/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()
156 public void handleErrorMessage(CharSequence errorMessage, Listener listener) { in handleErrorMessage()
239 private final Listener mListener;
242 Listener listener) { in ActionRequestInfo()
252 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/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/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/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/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/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/Settings/src/com/android/settings/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()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupNameEditDialogFragment.java71 public interface Listener { interface in GroupNameEditDialogFragment
76 public static final Listener None = new Listener() {
90 private Listener mListener;
225 public void setListener(Listener listener) { in setListener()
343 private Listener getListener() { in getListener()
346 } else if (getActivity() instanceof Listener) { in getListener()
347 return (Listener) getActivity(); in getListener()
349 return Listener.None; in getListener()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java48 private final List<Listener> mListeners = new ArrayList<>();
54 public interface Listener { interface in CarWifiManager
105 public boolean addListener(Listener listener) { in addListener()
112 public boolean removeListener(Listener listener) { in removeListener()
226 for (Listener listener : mListeners) { in onWifiEntriesChanged()
242 for (Listener listener : mListeners) { in onWifiStateChanged()

12345678910>>...17