Home
last modified time | relevance | path

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

12345

/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRenderer.java73 protected List<Listener> mListeners = new ArrayList<Listener>();
149 public void registerListener(Listener listener) { in registerListener()
155 public void unregisterListener(Listener listener) { in unregisterListener()
164 for (Listener listener : mListeners) { in pushOnError()
170 for (Listener listener : mListeners) { in pushOnStateChanged()
176 for (Listener listener : mListeners) { in pushOnBufferingUpdate()
182 for (Listener listener : mListeners) { in pushOnFocusLost()
188 for (Listener listener : mListeners) { in pushOnNextStarted()
193 public interface Listener { interface in Renderer
/frameworks/base/location/java/android/location/
DGpsMeasurementListenerTransport.java28 extends LocalListenerHelper<GpsMeasurementsEvent.Listener> {
53 ListenerOperation<GpsMeasurementsEvent.Listener> operation = in onGpsMeasurementsReceived()
54 new ListenerOperation<GpsMeasurementsEvent.Listener>() { in onGpsMeasurementsReceived()
56 public void execute(GpsMeasurementsEvent.Listener listener) throws RemoteException { in onGpsMeasurementsReceived()
65 ListenerOperation<GpsMeasurementsEvent.Listener> operation = in onStatusChanged()
66 new ListenerOperation<GpsMeasurementsEvent.Listener>() { in onStatusChanged()
68 public void execute(GpsMeasurementsEvent.Listener listener) throws RemoteException { in onStatusChanged()
DGpsNavigationMessageListenerTransport.java28 extends LocalListenerHelper<GpsNavigationMessageEvent.Listener> {
55 ListenerOperation<GpsNavigationMessageEvent.Listener> operation = in onGpsNavigationMessageReceived()
56 new ListenerOperation<GpsNavigationMessageEvent.Listener>() { in onGpsNavigationMessageReceived()
58 public void execute(GpsNavigationMessageEvent.Listener listener) in onGpsNavigationMessageReceived()
68 ListenerOperation<GpsNavigationMessageEvent.Listener> operation = in onStatusChanged()
69 new ListenerOperation<GpsNavigationMessageEvent.Listener>() { in onStatusChanged()
71 public void execute(GpsNavigationMessageEvent.Listener listener) in onStatusChanged()
/frameworks/base/telecomm/java/android/telecom/
DConference.java44 public abstract static class Listener { class in Conference
60 private final Set<Listener> mListeners = new CopyOnWriteArraySet<>();
78 private final Connection.Listener mConnectionDeathListener = new Connection.Listener() {
320 for (Listener l : mListeners) { in setDisconnected()
342 for (Listener l : mListeners) { in setConnectionCapabilities()
360 for (Listener l : mListeners) { in addConnection()
378 for (Listener l : mListeners) { in removeConnection()
414 for (Listener l : mListeners) { in setVideoState()
427 for (Listener l : mListeners) { in setVideoProvider()
433 for (Listener l : mListeners) { in fireOnConferenceableConnectionsChanged()
[all …]
DConnection.java396 public abstract static class Listener { class in Connection
1037 private final Listener mConnectionDeathListener = new Listener() {
1046 private final Conference.Listener mConferenceDeathListener = new Conference.Listener() {
1060 private final Set<Listener> mListeners = Collections.newSetFromMap(
1061 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
1223 public final Connection addConnectionListener(Listener l) { in addConnectionListener()
1236 public final Connection removeConnectionListener(Listener l) { in removeConnectionListener()
1309 for (Listener l : mListeners) { in setAddress()
1326 for (Listener l : mListeners) { in setCallerDisplayName()
1344 for (Listener l : mListeners) { in setVideoState()
[all …]
DPhone.java38 public abstract static class Listener { class in Phone
116 private final List<Listener> mListeners = new CopyOnWriteArrayList<>();
201 public final void addListener(Listener listener) { in addListener()
210 public final void removeListener(Listener listener) { in removeListener()
302 for (Listener listener : mListeners) { in fireCallAdded()
308 for (Listener listener : mListeners) { in fireCallRemoved()
314 for (Listener listener : mListeners) { in fireCallAudioStateChanged()
321 for (Listener listener : mListeners) { in fireBringToForeground()
327 for (Listener listener : mListeners) { in fireCanAddCallChanged()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DDetailsOverviewRow.java51 public static class Listener { class in DetailsOverviewRow
75 private ArrayList<WeakReference<Listener>> mListeners;
93 final void addListener(Listener listener) { in addListener()
95 mListeners = new ArrayList<WeakReference<Listener>>(); in addListener()
98 Listener l = mListeners.get(i).get(); in addListener()
109 mListeners.add(new WeakReference<Listener>(listener)); in addListener()
115 final void removeListener(Listener listener) { in removeListener()
118 Listener l = mListeners.get(i).get(); in removeListener()
138 Listener l = mListeners.get(i).get(); in notifyItemChanged()
155 Listener l = mListeners.get(i).get(); in notifyImageDrawableChanged()
[all …]
/frameworks/volley/src/test/java/com/android/volley/toolbox/
DJsonRequestTest.java35 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
37 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
40 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
42 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
45 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
47 JSONObject.class, Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
DStringRequestTest.java32 assertNotNull(StringRequest.class.getConstructor(String.class, Response.Listener.class, in publicMethods()
35 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java44 public interface Listener { interface in Connection
61 public abstract static class ListenerBase implements Listener {
112 public Set<Listener> mListeners = new CopyOnWriteArraySet<>();
492 public final void addListener(Listener listener) { in addListener()
501 public final void removeListener(Listener listener) { in removeListener()
578 for (Listener l : mListeners) { in setVideoState()
590 for (Listener l : mListeners) { in setLocalVideoCapable()
602 for (Listener l : mListeners) { in setRemoteVideoCapable()
614 for (Listener l : mListeners) { in setWifi()
626 for (Listener l : mListeners) { in setAudioQuality()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DImsStreamMediaSession.java34 public static class Listener { class in ImsStreamMediaSession
37 private Listener mListener;
42 ImsStreamMediaSession(IImsStreamMediaSession mediaSession, Listener listener) { in ImsStreamMediaSession()
54 public void setListener(Listener listener) { in setListener()
/frameworks/base/core/java/android/net/
DEthernetManager.java45 for (Listener listener : mListeners) {
51 private final ArrayList<Listener> mListeners = new ArrayList<Listener>();
64 public interface Listener { interface in EthernetManager
122 public void addListener(Listener listener) { in addListener()
140 public void removeListener(Listener listener) { in removeListener()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DStringRequest.java23 import com.android.volley.Response.Listener;
31 private final Listener<String> mListener;
41 public StringRequest(int method, String url, Listener<String> listener, in StringRequest()
54 public StringRequest(String url, Listener<String> listener, ErrorListener errorListener) { in StringRequest()
DJsonRequest.java23 import com.android.volley.Response.Listener;
42 private final Listener<T> mListener;
51 public JsonRequest(String url, String requestBody, Listener<T> listener, in JsonRequest()
56 public JsonRequest(int method, String url, String requestBody, Listener<T> listener, in JsonRequest()
DJsonArrayRequest.java23 import com.android.volley.Response.Listener;
41 public JsonArrayRequest(String url, Listener<JSONArray> listener, ErrorListener errorListener) { in JsonArrayRequest()
55 Listener<JSONArray> listener, ErrorListener errorListener) { in JsonArrayRequest()
DJsonObjectRequest.java23 import com.android.volley.Response.Listener;
46 Listener<JSONObject> listener, ErrorListener errorListener) { in JsonObjectRequest()
57 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener, in JsonObjectRequest()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java80 public static class Listener { class in ImsCall
457 private ImsCall.Listener mListener = null;
863 public void setListener(ImsCall.Listener listener) { in setListener()
876 public void setListener(ImsCall.Listener listener, boolean callbackImmediately) { in setListener()
1488 private ImsCallSession.Listener createCallSessionListener() { in createCallSessionListener()
1562 ImsCall.Listener listener = mListener; in notifyConferenceSessionTerminated()
1638 ImsCall.Listener listener = null; in processCallTerminated()
1768 ImsCall.Listener listener; in processMergeComplete()
1921 ImsCall.Listener listener; in notifySessionTerminatedDuringMerge()
1966 ImsCall.Listener listener; in processMergeFailed()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DFrameTargetFilter.java24 interface Listener { interface in FrameTargetFilter
32 private Listener mListener;
45 public synchronized void setListener(Listener listener) { in setListener()
/frameworks/base/media/java/android/media/
DRemoteDisplay.java38 private final Listener mListener;
49 private RemoteDisplay(Listener listener, Handler handler, String opPackageName) { in RemoteDisplay()
71 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, in listen()
161 public interface Listener { interface in RemoteDisplay
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java55 private final ArrayList<Listener> mListeners = new ArrayList<Listener>();
78 for (Listener listener : mListeners) {
85 for (Listener listener : mListeners) {
98 for (Listener listener : mListeners) {
112 public interface Listener { interface in MtpClient
202 public void addListener(Listener listener) { in addListener()
215 public void removeListener(Listener listener) { in removeListener()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayAdapter.java40 private final Listener mListener;
54 Context context, Handler handler, Listener listener, String name) { in DisplayAdapter()
137 public interface Listener { interface in DisplayAdapter
DRampAnimator.java42 private Listener mListener;
119 public void setListener(Listener listener) { in setListener()
173 public interface Listener { interface in RampAnimator
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java68 public static class Listener { class in SipAudioCall
175 private SipAudioCall.Listener mListener;
213 public void setListener(SipAudioCall.Listener listener) { in setListener()
226 public void setListener(SipAudioCall.Listener listener, in setListener()
375 private SipSession.Listener createListener() { in createListener()
376 return new SipSession.Listener() { in createListener()
380 Listener listener = mListener; in createListener()
393 Listener listener = mListener; in createListener()
440 Listener listener = mListener; in createListener()
467 Listener listener = mListener; in createListener()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java36 TrackDecoder.Listener {
38 public interface Listener { interface in MediaDecoder
85 private final Listener mListener;
114 public MediaDecoder(Context context, Uri uri, Listener listener) { in MediaDecoder()
118 public MediaDecoder(Context context, Uri uri, long startMicros, Listener listener) { in MediaDecoder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java30 private Listener mListener;
43 public void setListener(Listener listener) { in setListener()
146 public interface Listener { interface in ObservableScrollView

12345