Home
last modified time | relevance | path

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

12345678

/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/telecomm/java/android/telecom/
DConference.java55 abstract static class Listener { class in Conference
81 private final Set<Listener> mListeners = new CopyOnWriteArraySet<>();
111 private final Connection.Listener mConnectionDeathListener = new Connection.Listener() {
402 for (Listener l : mListeners) { in setDisconnected()
424 for (Listener l : mListeners) { in setConnectionCapabilities()
440 for (Listener l : mListeners) { in setConnectionProperties()
458 for (Listener l : mListeners) { in addConnection()
476 for (Listener l : mListeners) { in removeConnection()
509 for (Listener l : mListeners) { in setRingbackRequested()
527 for (Listener l : mListeners) { in setVideoState()
[all …]
DPhone.java42 public abstract static class Listener { class in Phone
131 private final List<Listener> mListeners = new CopyOnWriteArrayList<>();
298 public final void addListener(Listener listener) { in addListener()
307 public final void removeListener(Listener listener) { in removeListener()
417 for (Listener listener : mListeners) { in fireCallAdded()
423 for (Listener listener : mListeners) { in fireCallRemoved()
429 for (Listener listener : mListeners) { in fireCallAudioStateChanged()
436 for (Listener listener : mListeners) { in fireBringToForeground()
442 for (Listener listener : mListeners) { in fireCanAddCallChanged()
448 for (Listener listener : mListeners) { in fireSilenceRinger()
DConnection.java1077 abstract static class Listener { class in Connection
1943 private final Listener mConnectionDeathListener = new Listener() {
1952 private final Conference.Listener mConferenceDeathListener = new Conference.Listener() {
1966 private final Set<Listener> mListeners = Collections.newSetFromMap(
1967 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
2218 final Connection addConnectionListener(Listener l) { in addConnectionListener()
2231 final Connection removeConnectionListener(Listener l) { in removeConnectionListener()
2338 for (Listener l : mListeners) { in setAddress()
2355 for (Listener l : mListeners) { in setCallerDisplayName()
2373 for (Listener l : mListeners) { in setVideoState()
[all …]
/frameworks/av/media/codec2/faultinjection/
DC2ComponentWrapper.h46 class Listener : public C2Component::Listener {
48 explicit Listener(const std::shared_ptr<C2Component::Listener> &listener);
49 virtual ~Listener() = default;
58 std::shared_ptr<C2Component::Listener> mListener;
65 const std::shared_ptr<C2Component::Listener> &listener,
81 std::shared_ptr<Listener> mListener;
DC2ComponentWrapper.cpp61 C2ComponentWrapper::Listener::Listener( in Listener() function in android::C2ComponentWrapper::Listener
62 const std::shared_ptr<C2Component::Listener> &listener) : mListener(listener) {} in Listener()
64 void C2ComponentWrapper::Listener::onWorkDone_nb(std::weak_ptr<C2Component> component, in onWorkDone_nb()
69 void C2ComponentWrapper::Listener::onTripped_nb(std::weak_ptr<C2Component> component, in onTripped_nb()
74 void C2ComponentWrapper::Listener::onError_nb( in onError_nb()
83 const std::shared_ptr<C2Component::Listener> &listener, c2_blocking_t mayBlock) { in setListener_vb()
84 mListener = std::make_shared<Listener>(listener); in setListener_vb()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java98 public interface Listener { interface in Connection
126 public abstract static class ListenerBase implements Listener {
218 public Set<Listener> mListeners = new CopyOnWriteArraySet<>();
870 public void addListener(Listener listener) { in addListener()
879 public final void removeListener(Listener listener) { in removeListener()
995 for (Listener l : mListeners) { in setVideoState()
1010 for (Listener l : mListeners) { in setConnectionCapabilities()
1027 for (Listener l : mListeners) { in setCallRadioTech()
1048 for (Listener l : mListeners) { in setAudioQuality()
1076 for (Listener l : mListeners) { in setConnectionExtras()
[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/opt/net/ims/src/java/com/android/ims/
DImsCall.java93 public static class Listener { class in ImsCall
536 private ImsCall.Listener mListener = null;
1003 public void setListener(ImsCall.Listener listener) { in setListener()
1016 public void setListener(ImsCall.Listener listener, boolean callbackImmediately) { in setListener()
1811 private ImsCallSession.Listener createCallSessionListener() { in createCallSessionListener()
1828 public Listener getListener() { in getListener()
1902 ImsCall.Listener listener = mListener; in notifyConferenceSessionTerminated()
1986 ImsCall.Listener listener = null; in processCallTerminated()
2121 ImsCall.Listener listener; in processMergeComplete()
2302 ImsCall.Listener listener; in notifySessionTerminatedDuringMerge()
[all …]
DFeatureConnector.java47 public interface Listener<T> { interface in FeatureConnector
75 public Listener<T> mListener;
94 public FeatureConnector(Context context, int phoneId, Listener<T> listener, in FeatureConnector()
104 public FeatureConnector(Context context, int phoneId, Listener<T> listener, in FeatureConnector()
114 public FeatureConnector(Context context, int phoneId, Listener<T> listener, in FeatureConnector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDataSaverController.java17 import com.android.systemui.statusbar.policy.DataSaverController.Listener;
19 public interface DataSaverController extends CallbackController<Listener> {
24 public interface Listener { interface
DDataSaverControllerImpl.java29 private final ArrayList<Listener> mListeners = new ArrayList<>();
44 public void addCallback(Listener listener) { in addCallback()
54 public void removeCallback(Listener listener) { in removeCallback()
75 private final INetworkPolicyListener mPolicyListener = new NetworkPolicyManager.Listener() {
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp138 struct Listener : BnRegionSamplingListener { struct
247 sp<Listener> listener = new Listener(); in TEST_F()
261 sp<Listener> listener = new Listener(); in TEST_F()
281 sp<Listener> greenListener = new Listener(); in TEST_F()
285 sp<Listener> grayListener = new Listener(); in TEST_F()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java52 public interface Listener { interface in ImsExternalConnection
61 private final Set<Listener> mListeners = Collections.newSetFromMap(
62 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
196 for (Listener listener : mListeners) { in pullExternalCall()
255 public void addListener(Listener listener) { in addListener()
259 public void removeListener(Listener listener) { in removeListener()
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java43 private ArraySet<Listener> mListeners = new ArraySet<>();
79 for (Listener listener : mListeners) { in onUnlockMethodStateChanged()
100 public void addListener(Listener listener) { in addListener()
128 public interface Listener { interface in DynamicPrivacyController
/frameworks/base/media/java/android/media/
DRemoteDisplay.java39 private final Listener mListener;
50 private RemoteDisplay(Listener listener, Handler handler, String opPackageName) { in RemoteDisplay()
72 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, in listen()
166 public interface Listener { interface in RemoteDisplay
/frameworks/base/core/java/android/net/
DEthernetManager.java53 for (Listener listener : mListeners) {
59 private final ArrayList<Listener> mListeners = new ArrayList<>();
73 public interface Listener { interface in EthernetManager
154 public void addListener(Listener listener) { in addListener()
188 public void removeListener(Listener listener) { in removeListener()
/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/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/base/packages/SystemUI/src/com/android/systemui/settings/
DToggleSlider.java20 interface Listener { interface
26 void setOnChangedListener(Listener l); in setOnChangedListener()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java72 public static class Listener { class in SipAudioCall
179 private SipAudioCall.Listener mListener;
219 public void setListener(SipAudioCall.Listener listener) { in setListener()
232 public void setListener(SipAudioCall.Listener listener, in setListener()
381 private SipSession.Listener createListener() { in createListener()
382 return new SipSession.Listener() { in createListener()
386 Listener listener = mListener; in createListener()
399 Listener listener = mListener; in createListener()
446 Listener listener = mListener; in createListener()
473 Listener listener = mListener; in createListener()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeDataSaverController.java20 import com.android.systemui.statusbar.policy.DataSaverController.Listener;
22 public class FakeDataSaverController extends BaseLeakChecker<Listener> implements DataSaverControll…

12345678