Home
last modified time | relevance | path

Searched refs:EventListener (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java53 private final List<EventListener> mEventListeners = new ArrayList<>();
117 for (EventListener eventListener : mEventListeners) {
131 for (EventListener eventListener : mEventListeners) {
181 for (EventListener eventListener : mEventListeners) {
220 for (EventListener eventListener : mEventListeners) {
228 public interface EventListener extends com.android.tv.tuner.api.ChannelScanListener { interface in EventDetector
320 public void registerListener(EventListener eventListener) { in registerListener()
334 public void unregisterListener(EventListener eventListener) { in unregisterListener()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java28 import com.android.tv.tuner.ts.EventDetector.EventListener;
60 private final List<Pair<EventListener, Boolean>> mEventListenerActions = new ArrayList<>();
136 public TunerTsStreamer(Tuner tunerHal, EventListener eventListener, Context context) { in TunerTsStreamer()
148 public TunerTsStreamer(Tuner tunerHal, EventListener eventListener) { in TunerTsStreamer()
295 public void registerListener(EventListener listener) { in registerListener()
303 public void unregisterListener(EventListener listener) { in unregisterListener()
331 EventListener listener = (EventListener) listenerAction.first; in run()
DTunerTsStreamerManager.java26 import com.android.tv.tuner.ts.EventDetector.EventListener;
49 private final Map<Integer, EventListener> mListeners = new HashMap<>();
62 EventListener listener, in createDataSource()
109 EventListener listener = mListeners.remove(sessionId); in releaseDataSource()
188 private final EventListener mEventListener;
194 private TsStreamerCreator(Context context, TunerChannel channel, EventListener listener) { in TsStreamerCreator()
DFileSourceEventDetector.java30 import com.android.tv.tuner.ts.EventDetector.EventListener;
54 private final EventListener mEventListener;
59 public FileSourceEventDetector(EventListener listener, boolean enableDvbSignal) { in FileSourceEventDetector()
DTsDataSourceManager.java24 import com.android.tv.tuner.ts.EventDetector.EventListener;
85 Context context, TunerChannel channel, EventListener eventListener) { in createDataSource()
DFileTsStreamer.java27 import com.android.tv.tuner.ts.EventDetector.EventListener;
127 public FileTsStreamer(EventListener eventListener, Context context) { in FileTsStreamer()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java38 import com.android.documentsui.base.EventListener;
70 private List<EventListener<Update>> mUpdateListeners = new ArrayList<>();
79 public void addUpdateListener(EventListener<Update> listener) { in addUpdateListener()
83 public void removeUpdateListener(EventListener<Update> listener) { in removeUpdateListener()
88 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
95 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
DBaseActivity.java106 private final List<EventListener> mEventListeners = new ArrayList<>();
777 public void addEventListener(EventListener listener) { in addEventListener()
782 public void removeEventListener(EventListener listener) { in removeEventListener()
788 for (EventListener listener : mEventListeners) { in notifyDirectoryLoaded()
796 for (EventListener listener : mEventListeners) { in notifyDirectoryNavigated()
848 addEventListener(new EventListener() { in addListenerForLaunchCompletion()
878 protected interface EventListener { interface in BaseActivity
DFocusManager.java48 import com.android.documentsui.base.EventListener;
601 private EventListener<Model.Update> mModelListener = new EventListener<Model.Update>() {
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java34 import com.android.documentsui.base.EventListener;
60 private EventListener<Model.Update> mModelUpdateListener;
68 mModelUpdateListener = new EventListener<Model.Update>() { in ModelBackedDocumentsAdapter()
81 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
DDirectoryAddonsAdapter.java26 import com.android.documentsui.base.EventListener;
43 private final EventListener<Update> mModelUpdateListener;
67 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
DDocumentsAdapter.java29 import com.android.documentsui.base.EventListener;
58 abstract EventListener<Model.Update> getModelUpdateListener(); in getModelUpdateListener()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragDriver.java29 protected final EventListener mEventListener;
31 public interface EventListener { interface in DragDriver
38 public DragDriver(EventListener eventListener) { in DragDriver()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesActivityPerfTest.java29 import com.android.documentsui.BaseActivity.EventListener;
83 EventListener listener; in testFilesListedPerformance()
86 listener = new EventListener() { in testFilesListedPerformance()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java103 public interface EventListener { interface in BluetoothDevicePairer
258 private EventListener mListener;
277 public BluetoothDevicePairer(Context context, EventListener listener) { in BluetoothDevicePairer()
433 public void setListener(EventListener listener) { in setListener()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEventListener.java24 import com.android.documentsui.base.EventListener;
32 public class TestEventListener<T> implements EventListener<T> {
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java34 import com.android.tv.tuner.ts.EventDetector.EventListener;
53 MediaCodecVideoTrackRenderer.EventListener,
54 MpegTsDefaultAudioTrackRenderer.EventListener,
229 EventListener eventListener) { in prepare()
DExoPlayerSampleExtractor.java44 import com.google.android.exoplayer2.source.ExtractorMediaSource.EventListener;
125 EventListener eventListener = in ExoPlayerSampleExtractor()
126 new EventListener() { in ExoPlayerSampleExtractor()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarCabinManagerTest.java145 mCarCabinManager.registerCallback(new EventListener()); in testEvent()
213 private class EventListener implements CarCabinEventCallback { class in CarCabinManagerTest
214 EventListener() { } in EventListener() method in CarCabinManagerTest.EventListener
DCarHvacManagerTest.java169 mCarHvacManager.registerCallback(new EventListener()); in testEvent()
252 private class EventListener implements CarHvacEventCallback { class in CarHvacManagerTest
253 EventListener() { } in EventListener() method in CarHvacManagerTest.EventListener
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsMediaCodecAudioTrackRenderer.java36 public interface Ac3EventListener extends EventListener {
50 EventListener eventListener) { in MpegTsMediaCodecAudioTrackRenderer()
DMpegTsDefaultAudioTrackRenderer.java72 public interface EventListener { interface in MpegTsDefaultAudioTrackRenderer
105 private final EventListener mEventListener;
138 EventListener listener) { in MpegTsDefaultAudioTrackRenderer()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java27 import com.android.documentsui.base.EventListener;
88 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java248 implements EventDetector.EventListener, ChannelDataManager.ChannelHandlingDoneListener {
501 private final EventDetector.EventListener mEventListener;
504 FakeTsStreamer(EventDetector.EventListener eventListener) { in FakeTsStreamer()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java40 import com.android.tv.tuner.ts.EventDetector.EventListener;
395 private static class MockChannelScanListener implements EventListener {

12