/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | Renderer.java | 73 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/av/media/codec2/faultinjection/ |
D | C2ComponentWrapper.h | 46 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;
|
D | C2ComponentWrapper.cpp | 61 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/base/telecomm/java/android/telecom/ |
D | Conference.java | 55 abstract static class Listener { class in Conference 81 private final Set<Listener> mListeners = new CopyOnWriteArraySet<>(); 111 private final Connection.Listener mConnectionDeathListener = new Connection.Listener() { 406 for (Listener l : mListeners) { in setDisconnected() 428 for (Listener l : mListeners) { in setConnectionCapabilities() 444 for (Listener l : mListeners) { in setConnectionProperties() 462 for (Listener l : mListeners) { in addConnection() 480 for (Listener l : mListeners) { in removeConnection() 514 for (Listener l : mListeners) { in setRingbackRequested() 532 for (Listener l : mListeners) { in setVideoState() [all …]
|
D | Phone.java | 42 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()
|
D | Connection.java | 1101 abstract static class Listener { class in Connection 1967 private final Listener mConnectionDeathListener = new Listener() { 1976 private final Conference.Listener mConferenceDeathListener = new Conference.Listener() { 1990 private final Set<Listener> mListeners = Collections.newSetFromMap( 1991 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1)); 2242 final Connection addConnectionListener(Listener l) { in addConnectionListener() 2255 final Connection removeConnectionListener(Listener l) { in removeConnectionListener() 2362 for (Listener l : mListeners) { in setAddress() 2379 for (Listener l : mListeners) { in setCallerDisplayName() 2397 for (Listener l : mListeners) { in setVideoState() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Connection.java | 98 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/ |
D | ImsStreamMediaSession.java | 34 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/native/libs/gui/tests/ |
D | RegionSampling_test.cpp | 138 struct Listener : BnRegionSamplingListener { struct 245 sp<Listener> listener = new Listener(); in TEST_F() 260 sp<Listener> listener = new Listener(); in TEST_F() 274 sp<Listener> listener = new Listener(); in TEST_F() 294 sp<Listener> greenListener = new Listener(); in TEST_F() 298 sp<Listener> grayListener = new Listener(); in TEST_F() 315 sp<Listener> listener = new Listener(); in TEST_F() 335 sp<Listener> listener = new Listener(); in TEST_F() 352 sp<Listener> listener = new Listener(); in TEST_F()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | MediaDataCombineLatestTest.java | 62 @Mock private MediaDataManager.Listener mListener; 64 private MediaDataManager.Listener mDataListener; 65 private MediaDeviceManager.Listener mDeviceListener; 74 mListener = mock(MediaDataManager.Listener.class); in setUp() 175 private MediaDataManager.Listener captureDataListener() { in captureDataListener() 176 ArgumentCaptor<MediaDataManager.Listener> captor = ArgumentCaptor.forClass( in captureDataListener() 177 MediaDataManager.Listener.class); in captureDataListener() 182 private MediaDeviceManager.Listener captureDeviceListener() { in captureDeviceListener() 183 ArgumentCaptor<MediaDeviceManager.Listener> captor = ArgumentCaptor.forClass( in captureDeviceListener() 184 MediaDeviceManager.Listener.class); in captureDeviceListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DataSaverController.java | 17 import com.android.systemui.statusbar.policy.DataSaverController.Listener; 19 public interface DataSaverController extends CallbackController<Listener> { 24 public interface Listener { interface
|
D | DataSaverControllerImpl.java | 29 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/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaDataCombineLatest.kt | 30 private val listeners: MutableSet<MediaDataManager.Listener> = mutableSetOf() in <lambda>() 34 dataSource.addListener(object : MediaDataManager.Listener { in <lambda>() 49 deviceSource.addListener(object : MediaDeviceManager.Listener { in <lambda>() 74 fun addListener(listener: MediaDataManager.Listener) = listeners.add(listener) in <lambda>() 79 fun removeListener(listener: MediaDataManager.Listener) = listeners.remove(listener) in <lambda>()
|
D | MediaDeviceManager.kt | 44 ) : MediaDataManager.Listener, Dumpable { in <lambda>() 45 private val listeners: MutableSet<Listener> = mutableSetOf() in <lambda>() 56 fun addListener(listener: Listener) = listeners.add(listener) in <lambda>() 61 fun removeListener(listener: Listener) = listeners.remove(listener) in <lambda>() 109 interface Listener { in <lambda>() interface in com.android.systemui.media.MediaDeviceManager
|
D | MediaDataFilter.kt | 47 ) : MediaDataManager.Listener { in <lambda>() 49 private val listeners: MutableSet<MediaDataManager.Listener> = mutableSetOf() in <lambda>() 147 fun addListener(listener: MediaDataManager.Listener) = listeners.add(listener) in <lambda>() 152 fun removeListener(listener: MediaDataManager.Listener) = listeners.remove(listener) in <lambda>()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_soundtrigger_middleware_ExternalCaptureStateTracker.cpp | 48 class Listener : public AudioSystem::CaptureStateListener { class 50 Listener(JNIEnv* env, jobject obj) : mObj(env->NewGlobalRef(obj)) {} in Listener() function in android::__anon741742f60111::Listener 52 ~Listener() { in ~Listener() 72 sp<AudioSystem::CaptureStateListener> listener(new Listener(env, obj)); in connect()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsCall.java | 94 public static class Listener { class in ImsCall 537 private ImsCall.Listener mListener = null; 1004 public void setListener(ImsCall.Listener listener) { in setListener() 1017 public void setListener(ImsCall.Listener listener, boolean callbackImmediately) { in setListener() 1812 private ImsCallSession.Listener createCallSessionListener() { in createCallSessionListener() 1829 public Listener getListener() { in getListener() 1903 ImsCall.Listener listener = mListener; in notifyConferenceSessionTerminated() 1987 ImsCall.Listener listener = null; in processCallTerminated() 2122 ImsCall.Listener listener; in processMergeComplete() 2303 ImsCall.Listener listener; in notifySessionTerminatedDuringMerge() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
D | FrameTargetFilter.java | 24 interface Listener { interface in FrameTargetFilter 32 private Listener mListener; 45 public synchronized void setListener(Listener listener) { in setListener()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsExternalConnection.java | 52 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | DynamicPrivacyController.java | 39 private ArraySet<Listener> mListeners = new ArraySet<>(); 68 for (Listener listener : mListeners) { in onUnlockedChanged() 90 public void addListener(Listener listener) { in addListener() 118 public interface Listener { interface in DynamicPrivacyController
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 55 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/ |
D | RemoteDisplay.java | 39 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/services/core/java/com/android/server/location/ |
D | AbstractLocationProvider.java | 51 public interface Listener { interface in AbstractLocationProvider 153 @Nullable public final Listener listener; 156 private InternalState(@Nullable Listener listener, State state) { in InternalState() 161 private InternalState withListener(Listener listener) { in withListener() 204 protected State setListener(@Nullable Listener listener) { in setListener() 309 Listener listener = mInternalState.get().listener; in reportLocation() 324 Listener listener = mInternalState.get().listener; in reportLocation()
|
/frameworks/base/core/java/android/net/ |
D | EthernetManager.java | 53 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/services/core/java/com/android/server/display/ |
D | DisplayAdapter.java | 40 private final Listener mListener; 54 Context context, Handler handler, Listener listener, String name) { in DisplayAdapter() 127 public interface Listener { interface in DisplayAdapter
|