Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugEventHub.java45 public DebugEventHub(DebugEventListener listener) { in DebugEventHub()
57 public void addListener(DebugEventListener listener) { in addListener()
73 DebugEventListener listener = listeners.get(i); in enterRule() local
81 DebugEventListener listener = listeners.get(i); in exitRule() local
89 DebugEventListener listener = listeners.get(i); in enterAlt() local
97 DebugEventListener listener = listeners.get(i); in enterSubRule() local
105 DebugEventListener listener = listeners.get(i); in exitSubRule() local
113 DebugEventListener listener = listeners.get(i); in enterDecision() local
121 DebugEventListener listener = listeners.get(i); in exitDecision() local
129 DebugEventListener listener = listeners.get(i); in location() local
[all …]
/external/catch2/include/reporters/
Dcatch_reporter_listening.cpp19 void ListeningReporter::addListener( IStreamingReporterPtr&& listener ) { in addListener()
39 for ( auto const& listener : m_listeners ) { in noMatchingTestCases() local
46 for ( auto const& listener : m_listeners ) { in reportInvalidArguments() local
54 for (auto const& listener : m_listeners) { in benchmarkPreparing() local
60 for ( auto const& listener : m_listeners ) { in benchmarkStarting() local
66 for ( auto const& listener : m_listeners ) { in benchmarkEnded() local
73 for (auto const& listener : m_listeners) { in benchmarkFailed() local
81 for ( auto const& listener : m_listeners ) { in testRunStarting() local
88 for ( auto const& listener : m_listeners ) { in testGroupStarting() local
96 for ( auto const& listener : m_listeners ) { in testCaseStarting() local
[all …]
/external/mockito/src/test/java/org/mockito/internal/debugging/
DLoggingListenerTest.java19 LoggingListener listener = new LoggingListener(true); in may_not_have_any_information() local
28 LoggingListener listener = new LoggingListener(false); in informs_about_unused_stubs() local
55 LoggingListener listener = new LoggingListener(false); in informs_about_unused_stubs_due_arg_mismatch() local
76 LoggingListener listener = new LoggingListener(true); in informs_about_various_kinds_of_stubs() local
104 LoggingListener listener = new LoggingListener(false); in hides_unstubbed() local
116 LoggingListener listener = new LoggingListener(true); in informs_about_unstubbed() local
/external/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher_gmock.h36 ::testing::MatchResultListener* listener) const { in MatchAndExplain()
40 ::testing::MatchResultListener* listener) const { in MatchAndExplain()
45 ::testing::MatchResultListener* listener) const { in MatchAndExplain()
49 ::testing::MatchResultListener* listener) const { in MatchAndExplain()
54 ::testing::MatchResultListener* listener) const { in MatchAndExplain()
58 ::testing::MatchResultListener* listener) const { in MatchAndExplain()
72 ::testing::MatchResultListener* listener) const { in MatchAndExplainImpl()
/external/rust/crates/tokio/tests/
Dio_driver_drop.rs12 let listener = { in tcp_doesnt_block() localVariable
14 let listener = std::net::TcpListener::bind("127.0.0.1:0").unwrap(); in tcp_doesnt_block() localVariable
31 let listener = { in drop_wakes() localVariable
33 let listener = std::net::TcpListener::bind("127.0.0.1:0").unwrap(); in drop_wakes() localVariable
Dtcp_accept.rs16 let listener = assert_ok!(TcpListener::bind($target).await); localVariable
53 listener: &'a mut TcpListener, field
67 let mut listener = assert_ok!(TcpListener::bind("127.0.0.1:0").await); in no_extra_poll() localVariable
105 let listener = assert_ok!(TcpListener::bind("127.0.0.1:0").await); in accept_many() localVariable
106 let listener = Arc::new(listener); in accept_many() localVariable
114 let listener = listener.clone(); in accept_many() localVariable
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSensorManagerTest.java56 SensorEventListener listener = registerListener(); in shouldReturnHasListenerAfterRegisteringListener() local
62 SensorEventListener listener = new TestSensorEventListener(); in registerListener() local
71 SensorEventListener listener = registerListener(); in shouldReturnHasNoListenerAfterUnregisterListener() local
79 SensorEventListener listener = registerListener(); in shouldReturnHasNoListenerAfterUnregisterListenerWithoutSpecificSensor() local
87 SensorEventListener listener = new TestSensorEventListener(); in shouldReturnHasNoListenerByDefault() local
94 TestSensorEventListener listener = new TestSensorEventListener(); in shouldSendSensorEventToSingleRegisteredListener() local
124 TestSensorEventListener listener = new TestSensorEventListener(); in shouldNotSendSensorEventIfNoRegisteredListeners() local
DShadowLocationManagerTest.java85 Listener listener = addGpsListenerToLocationManager(); in shouldHaveListenerOnceAdded() local
91 Listener listener = addGpsListenerToLocationManager(); in shouldNotHaveListenerOnceRemoved() local
147 TestLocationListener listener = new TestLocationListener(); in shouldStoreRequestLocationUpdateListeners() local
179 TestLocationListener listener = new TestLocationListener(); in shouldRemoveLocationListeners() local
374 TestLocationListener listener = new TestLocationListener(); in shouldNotifyAllListenersIfProviderStateChanges() local
414 TestLocationListener listener = new TestLocationListener(); in simulateLocation_shouldNotNotifyListenerIfLessThanFastestInterval() local
431 TestLocationListener listener = new TestLocationListener(); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance() local
453 TestLocationListenerSelfRemoval listener = new TestLocationListenerSelfRemoval(locationManager); in shouldNotThrowExceptionIfLocationListenerRemovedInsideOnLocationChanged() local
466 TestLocationListener listener = new TestLocationListener(); in requestLocationUpdates_shouldNotRegisterDuplicateListeners() local
474 Listener listener = new TestGpsListener(); in addGpsListenerToLocationManager() local
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAbstractServiceTest.java51 RecordingListener listener = RecordingListener.record(service); in testNoOpServiceStartStop() local
93 RecordingListener listener = RecordingListener.record(service); in testNoOpServiceStopIdempotence() local
163 RecordingListener listener = RecordingListener.record(service); in testManualServiceStartStop() local
189 RecordingListener listener = RecordingListener.record(service); in testManualServiceNotifyStoppedWhileRunning() local
205 RecordingListener listener = RecordingListener.record(service); in testManualServiceStopWhileStarting() local
256 RecordingListener listener = RecordingListener.record(service); in testManualServiceStopWhileNew() local
268 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileStarting() local
276 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileRunning() local
286 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileStopping() local
379 RecordingListener listener = RecordingListener.record(service); in testThreadedServiceStartAndWaitStopAndWait() local
[all …]
DListenerCallQueueTest.java52 Object listener = new Object(); in testEnqueueAndDispatch() local
85 Object listener = new Object(); in testEnqueueAndDispatch_withExceptions() local
111 Object listener = new MyListener(); in testEnqueueAndDispatch_withLabeledExceptions() local
133 Object listener = new Object(); in testEnqueueAndDispatch_multithreaded() local
157 Object listener = new Object(); in testEnqueueAndDispatch_multithreaded_withThrowingRunnable() local
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractServiceTest.java51 RecordingListener listener = RecordingListener.record(service); in testNoOpServiceStartStop() local
93 RecordingListener listener = RecordingListener.record(service); in testNoOpServiceStopIdempotence() local
163 RecordingListener listener = RecordingListener.record(service); in testManualServiceStartStop() local
189 RecordingListener listener = RecordingListener.record(service); in testManualServiceNotifyStoppedWhileRunning() local
205 RecordingListener listener = RecordingListener.record(service); in testManualServiceStopWhileStarting() local
256 RecordingListener listener = RecordingListener.record(service); in testManualServiceStopWhileNew() local
268 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileStarting() local
276 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileRunning() local
286 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileStopping() local
379 RecordingListener listener = RecordingListener.record(service); in testThreadedServiceStartAndWaitStopAndWait() local
[all …]
DListenerCallQueueTest.java52 Object listener = new Object(); in testEnqueueAndDispatch() local
85 Object listener = new Object(); in testEnqueueAndDispatch_withExceptions() local
111 Object listener = new MyListener(); in testEnqueueAndDispatch_withLabeledExceptions() local
133 Object listener = new Object(); in testEnqueueAndDispatch_multithreaded() local
157 Object listener = new Object(); in testEnqueueAndDispatch_multithreaded_withThrowingRunnable() local
/external/tensorflow/tensorflow/compiler/jit/
Dxla_activity_listener.cc46 for (const std::unique_ptr<XlaActivityListener>& listener : in ForEachListener() local
55 Status s = ForEachListener([](XlaActivityListener* listener) { in FlushAllListeners()
65 return ForEachListener([&](XlaActivityListener* listener) { in BroadcastXlaActivity()
72 return ForEachListener([&](XlaActivityListener* listener) { in BroadcastXlaActivity()
79 return ForEachListener([&](XlaActivityListener* listener) { in BroadcastOptimizationRemark()
93 std::unique_ptr<XlaActivityListener> listener) { in RegisterXlaActivityListener()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java249 MockStreamListener listener = new MockStreamListener(); in maxMessageSizeShouldBeEnforced() local
309 MockStreamListener listener = new MockStreamListener(); in nextFrameThrowsError() local
330 MockStreamListener listener = new MockStreamListener(); in nextFrameReturnFalse() local
348 MockStreamListener listener = new MockStreamListener(); in readMessages() local
398 MockStreamListener listener = new MockStreamListener(); in invalidInboundHeadersCancelStream() local
422 MockStreamListener listener = new MockStreamListener(); in invalidInboundTrailersPropagateToMetadata() local
442 MockStreamListener listener = new MockStreamListener(); in readStatus() local
456 MockStreamListener listener = new MockStreamListener(); in receiveReset() local
472 MockStreamListener listener = new MockStreamListener(); in cancelStream() local
487 MockStreamListener listener = new MockStreamListener(); in addDefaultUserAgent() local
[all …]
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DProfileConnector.java77 void registerConnectionListener(ConnectionListener listener); in registerConnectionListener()
83 void unregisterConnectionListener(ConnectionListener listener); in unregisterConnectionListener()
92 void registerAvailabilityListener(AvailabilityListener listener); in registerAvailabilityListener()
98 void unregisterAvailabilityListener(AvailabilityListener listener); in unregisterAvailabilityListener()
/external/dagger2/java/dagger/hilt/android/testing/
DOnComponentReadyRunner.java50 Context context, Class<T> entryPoint, OnComponentReadyListener<T> listener) { in addListener()
61 private <T> void addListenerInternal(Class<T> entryPoint, OnComponentReadyListener<T> listener) { in addListenerInternal()
77 Class<T> entryPoint, OnComponentReadyListener<T> listener) { in create()
83 abstract OnComponentReadyListener<T> listener(); in listener() method in OnComponentReadyRunner.EntryPointListener
93 OnComponentReadyListener<T> listener) { in runListener()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSensorManager.java59 SensorEventListener listener, Sensor sensor, int rate, Handler handler) { in registerListener()
64 protected boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { in registerListener()
75 protected void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
80 protected void unregisterListener(SensorEventListener listener) { in unregisterListener()
84 public boolean hasListener(SensorEventListener listener) { in hasListener()
DShadowLocationManager.java52 final LocationListener listener; field in ShadowLocationManager.ListenerRegistration
58 LocationListener listener) { in ListenerRegistration()
157 protected boolean addGpsStatusListener(Listener listener) { in addGpsStatusListener()
165 protected void removeGpsStatusListener(Listener listener) { in removeGpsStatusListener()
248 String provider, long minTime, float minDistance, LocationListener listener) { in requestLocationUpdates()
252 …private void addLocationListener(String provider, LocationListener listener, long minTime, float m… in addLocationListener()
264 private void removeDuplicates(LocationListener listener, in removeDuplicates()
276 String provider, long minTime, float minDistance, LocationListener listener, Looper looper) { in requestLocationUpdates()
306 protected void removeUpdates(LocationListener listener) { in removeUpdates()
314 LocationListener listener = listenerRegistrations.get(i).listener; in cleanupRemovedLocationListeners() local
[all …]
/external/volley/src/test/java/com/android/volley/
DAsyncRequestQueueTest.java110 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in add_notifiesListener() local
124 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in finish_notifiesListener() local
139 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in sendRequestEvent_notifiesListener() local
154 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in removeRequestEventListener_removesListener() local
DRequestQueueTest.java79 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in add_notifiesListener() local
92 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in finish_notifiesListener() local
106 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in sendRequestEvent_notifiesListener() local
120 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in removeRequestEventListener_removesListener() local
/external/autotest/frontend/client/src/autotest/common/ui/
DTableActionsPanel.java26 private TableActionsListener listener; field in TableActionsPanel
46 public void setActionsListener(TableActionsListener listener) { in setActionsListener()
53 public void setActionsWithCsvListener(TableActionsWithExportCsvListener listener) { in setActionsWithCsvListener()
59 public void setSelectionListener(SelectionPanelListener listener) { in setSelectionListener()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/
DIRcsPresence.aidl69 in IRcsPresenceListener listener); in requestCapability()
101 int requestAvailability(in String contactNumber, in IRcsPresenceListener listener); in requestAvailability()
115 int requestAvailabilityNoThrottle(in String contactNumber, in IRcsPresenceListener listener); in requestAvailabilityNoThrottle()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DBaseLottieAnimator.java30 public void addUpdateListener(ValueAnimator.AnimatorUpdateListener listener) { in addUpdateListener()
34 public void removeUpdateListener(ValueAnimator.AnimatorUpdateListener listener) { in removeUpdateListener()
42 public void addListener(ValueAnimator.AnimatorListener listener) { in addListener()
46 public void removeListener(ValueAnimator.AnimatorListener listener) { in removeListener()
/external/mockito/src/test/java/org/mockitousage/debugging/
DVerificationListenerCallBackTest.java37 RememberingListener listener = new RememberingListener(); in should_call_single_listener_on_verify() local
74 VerificationListener listener = mock(VerificationListener.class); in should_not_call_listener_when_verify_was_called_incorrectly() local
90 RememberingListener listener = new RememberingListener(); in should_notify_when_verification_throws_type_error() local
108 RememberingListener listener = new RememberingListener(); in should_notify_when_verification_throws_runtime_exception() local
126 RememberingListener listener = new RememberingListener(); in should_call_verification_listeners() local
/external/grpc-grpc-java/stub/src/test/java/io/grpc/stub/
DClientCallsTest.java135 final AtomicReference<ClientCall.Listener<String>> listener = in unaryFutureCallSuccess() local
167 final AtomicReference<ClientCall.Listener<String>> listener = in unaryFutureCallFailed() local
192 final AtomicReference<ClientCall.Listener<String>> listener = in unaryFutureCallCancelled() local
245 final AtomicReference<ClientCall.Listener<String>> listener = in disablingInboundAutoFlowControlSuppressesRequestsForMoreMessages() local
306 final AtomicReference<ClientCall.Listener<String>> listener = in callStreamObserverPropagatesFlowControlRequestsToCall() local
352 final AtomicReference<ClientCall.Listener<String>> listener = in canCaptureInboundFlowControlForServerStreamingObserver() local
543 final AtomicReference<ClientCall.Listener<String>> listener = in blockingResponseStreamFailed() local

12345678910>>...30