Home
last modified time | relevance | path

Searched refs:eventListener (Results 1 – 15 of 15) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java119 for (EventListener eventListener : mEventListeners) {
120 eventListener.onEventDetected(tunerChannel, items);
133 for (EventListener eventListener : mEventListeners) {
134 eventListener.onChannelScanDone();
184 for (EventListener eventListener : mEventListeners) {
185 eventListener.onChannelDetected(tunerChannel, !found);
224 for (EventListener eventListener : mEventListeners) {
225 eventListener.onChannelDetected(tunerChannel, !found);
334 public void registerListener(EventListener eventListener) { in registerListener() argument
340 mEventListeners.add(eventListener); in registerListener()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DVehiclePropertyPublisherTest.java440 ICarPropertyEventListener eventListener = mCarPropertyCallbackCaptor.getValue(); in testOnNewCarPropertyEvent_parsesValueCorrectly() local
442 eventListener.onEvent(Collections.singletonList(PROP_STRING_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
443 eventListener.onEvent(Collections.singletonList(PROP_BOOLEAN_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
444 eventListener.onEvent(Collections.singletonList(PROP_INT_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
445 eventListener.onEvent(Collections.singletonList(PROP_INT_VEC_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
446 eventListener.onEvent(Collections.singletonList(PROP_LONG_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
447 eventListener.onEvent(Collections.singletonList(PROP_LONG_VEC_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
448 eventListener.onEvent(Collections.singletonList(PROP_FLOAT_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
449 eventListener.onEvent(Collections.singletonList(PROP_FLOAT_VEC_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
450 eventListener.onEvent(Collections.singletonList(PROP_BYTES_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsMediaCodecAudioTrackRenderer.java50 EventListener eventListener) { in MpegTsMediaCodecAudioTrackRenderer() argument
51 super(source, mediaCodecSelector, eventHandler, eventListener); in MpegTsMediaCodecAudioTrackRenderer()
52 mListener = (Ac3EventListener) eventListener; in MpegTsMediaCodecAudioTrackRenderer()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTsDataSourceManager.java85 Context context, TunerChannel channel, EventListener eventListener) { in createDataSource() argument
91 FileTsStreamer streamer = new FileTsStreamer(eventListener, context); in createDataSource()
100 context, channel, eventListener, mId, !mIsRecording && mKeepTuneStatus); in createDataSource()
DTunerTsStreamer.java157 public TunerTsStreamer(Tuner tunerHal, EventListener eventListener, Context context) { in TunerTsStreamer() argument
160 if (eventListener != null) { in TunerTsStreamer()
161 mEventDetector.registerListener(eventListener); in TunerTsStreamer()
169 public TunerTsStreamer(Tuner tunerHal, EventListener eventListener) { in TunerTsStreamer() argument
170 this(tunerHal, eventListener, null); in TunerTsStreamer()
DFileTsStreamer.java144 public FileTsStreamer(EventListener eventListener, Context context) { in FileTsStreamer() argument
147 eventListener, TunerFeatures.ENABLE_FILE_DVB.isEnabled(context)); in FileTsStreamer()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragDriver.java40 public DragDriver(EventListener eventListener, Consumer<MotionEvent> sec) { in DragDriver() argument
41 mEventListener = eventListener; in DragDriver()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java436 final IMDnsEventListener eventListener = getEventListener(); in testDiscoverOnTetheringDownstream() local
454 eventListener.onServiceDiscoveryStatus(discoveryInfo); in testDiscoverOnTetheringDownstream()
490 eventListener.onServiceResolutionStatus(resolutionInfo); in testDiscoverOnTetheringDownstream()
507 eventListener.onGettingServiceAddressStatus(addressInfo); in testDiscoverOnTetheringDownstream()
584 final IMDnsEventListener eventListener = getEventListener(); in testDiscoverOnBlackholeNetwork() local
602 eventListener.onServiceDiscoveryStatus(discoveryInfo); in testDiscoverOnBlackholeNetwork()
619 final IMDnsEventListener eventListener = getEventListener(); in testServiceRegistrationSuccessfulAndFailed() local
635 eventListener.onServiceRegistrationStatus(registrationInfo); in testServiceRegistrationSuccessfulAndFailed()
656 eventListener.onServiceRegistrationStatus(registrationFailedInfo); in testServiceRegistrationSuccessfulAndFailed()
672 final IMDnsEventListener eventListener = getEventListener(); in testServiceDiscoveryFailed() local
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java55 Context context, EventListener eventListener, HdHomeRunTunerHal hal) { in HdHomeRunChannelScan() argument
57 mEventListener = eventListener; in HdHomeRunChannelScan()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/
DConnectivityManager.java82 @NonNull ConnectionInfo connectionInfo, @NonNull EventListener eventListener); in connect() argument
DCdmConnectivityManager.java176 @NonNull EventListener eventListener) { in connect() argument
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java230 EventListener eventListener) { in prepare() argument
233 source = mSourceManager.createDataSource(context, channel, eventListener); in prepare()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt242 private var eventListener: OnFileDescriptorEventListener? = null variable
248 val listener = eventListener ?: fail("IpNeighborMonitor was not yet started") in createFd()
274 eventListener = captor.value in onStart()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java572 FakeTsStreamer(EventDetector.EventListener eventListener) { in FakeTsStreamer() argument
573 mEventListener = eventListener; in FakeTsStreamer()