Home
last modified time | relevance | path

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

1234567

/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/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/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java88 public interface Listener { interface in Connection
109 public abstract static class ListenerBase implements Listener {
174 public Set<Listener> mListeners = new CopyOnWriteArraySet<>();
634 public final void addListener(Listener listener) { in addListener()
643 public final void removeListener(Listener listener) { in removeListener()
739 for (Listener l : mListeners) { in setVideoState()
754 for (Listener l : mListeners) { in setConnectionCapabilities()
767 for (Listener l : mListeners) { in setWifi()
779 for (Listener l : mListeners) { in setAudioQuality()
797 for (Listener l : mListeners) { in setConnectionExtras()
[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/base/telecomm/java/android/telecom/
DConference.java47 public abstract static class Listener { class in Conference
66 private final Set<Listener> mListeners = new CopyOnWriteArraySet<>();
88 private final Connection.Listener mConnectionDeathListener = new Connection.Listener() {
370 for (Listener l : mListeners) { in setDisconnected()
392 for (Listener l : mListeners) { in setConnectionCapabilities()
408 for (Listener l : mListeners) { in setConnectionProperties()
426 for (Listener l : mListeners) { in addConnection()
444 for (Listener l : mListeners) { in removeConnection()
480 for (Listener l : mListeners) { in setVideoState()
493 for (Listener l : mListeners) { in setVideoProvider()
[all …]
DPhone.java39 public abstract static class Listener { class in Phone
124 private final List<Listener> mListeners = new CopyOnWriteArrayList<>();
221 public final void addListener(Listener listener) { in addListener()
230 public final void removeListener(Listener listener) { in removeListener()
322 for (Listener listener : mListeners) { in fireCallAdded()
328 for (Listener listener : mListeners) { in fireCallRemoved()
334 for (Listener listener : mListeners) { in fireCallAudioStateChanged()
341 for (Listener listener : mListeners) { in fireBringToForeground()
347 for (Listener listener : mListeners) { in fireCanAddCallChanged()
353 for (Listener listener : mListeners) { in fireSilenceRinger()
DConnection.java712 public abstract static class Listener { class in Connection
1392 private final Listener mConnectionDeathListener = new Listener() {
1401 private final Conference.Listener mConferenceDeathListener = new Conference.Listener() {
1415 private final Set<Listener> mListeners = Collections.newSetFromMap(
1416 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
1618 public final Connection addConnectionListener(Listener l) { in addConnectionListener()
1631 public final Connection removeConnectionListener(Listener l) { in removeConnectionListener()
1733 for (Listener l : mListeners) { in setAddress()
1750 for (Listener l : mListeners) { in setCallerDisplayName()
1768 for (Listener l : mListeners) { in setVideoState()
[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
123 public void addListener(Listener listener) { in addListener()
142 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/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java54 public interface Listener { interface in ImsExternalConnection
63 private final Set<Listener> mListeners = Collections.newSetFromMap(
64 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
180 for (Listener listener : mListeners) { in pullExternalCall()
238 public void addListener(Listener listener) { in addListener()
242 public void removeListener(Listener listener) { in removeListener()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java83 public static class Listener { class in ImsCall
470 private ImsCall.Listener mListener = null;
929 public void setListener(ImsCall.Listener listener) { in setListener()
942 public void setListener(ImsCall.Listener listener, boolean callbackImmediately) { in setListener()
1561 private ImsCallSession.Listener createCallSessionListener() { in createCallSessionListener()
1644 ImsCall.Listener listener = mListener; in notifyConferenceSessionTerminated()
1723 ImsCall.Listener listener = null; in processCallTerminated()
1855 ImsCall.Listener listener; in processMergeComplete()
2036 ImsCall.Listener listener; in notifySessionTerminatedDuringMerge()
2081 ImsCall.Listener listener; in processMergeFailed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDataSaverController.java28 private final ArrayList<Listener> mListeners = new ArrayList<>();
43 public void addListener(Listener listener) { in addListener()
53 public void remListener(Listener listener) { in remListener()
101 public interface Listener { interface in DataSaverController
/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/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/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/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipRecentsControlsView.java44 public interface Listener extends PipControlsView.Listener { interface in PipRecentsControlsView
52 private Listener mListener;
158 public void setListener(Listener listener) { in setListener()
168 ((PipRecentsControlsView.Listener) mPipControlsView.mListener).onBackPressed(); in dispatchKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java41 private final Listener mListener;
45 float startDelay, float endDelay, Interpolator interpolator, Listener listener) { in TouchAnimator()
91 public static class ListenerAdapter implements Listener {
102 public interface Listener { interface in TouchAnimator
129 private Listener mListener;
190 public Builder setListener(Listener listener) { in setListener()
/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/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

1234567