Home
last modified time | relevance | path

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

12345678910>>...21

/external/antlr/antlr-3.4/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()
72 DebugEventListener listener = (DebugEventListener)listeners.get(i); in enterRule() local
79 DebugEventListener listener = (DebugEventListener)listeners.get(i); in exitRule() local
86 DebugEventListener listener = (DebugEventListener)listeners.get(i); in enterAlt() local
93 DebugEventListener listener = (DebugEventListener)listeners.get(i); in enterSubRule() local
100 DebugEventListener listener = (DebugEventListener)listeners.get(i); in exitSubRule() local
107 DebugEventListener listener = (DebugEventListener)listeners.get(i); in enterDecision() local
114 DebugEventListener listener = (DebugEventListener)listeners.get(i); in exitDecision() local
121 DebugEventListener listener = (DebugEventListener)listeners.get(i); in location() 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/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractServiceTest.java53 RecordingListener listener = RecordingListener.record(service); in testNoOpServiceStartStop() local
99 RecordingListener listener = RecordingListener.record(service); in testNoOpServiceStopIdempotence() local
172 RecordingListener listener = RecordingListener.record(service); in testManualServiceStartStop() local
203 RecordingListener listener = RecordingListener.record(service); in testManualServiceNotifyStoppedWhileRunning() local
222 RecordingListener listener = RecordingListener.record(service); in testManualServiceStopWhileStarting() local
273 RecordingListener listener = RecordingListener.record(service); in testManualServiceStopWhileNew() local
285 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileStarting() local
293 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileRunning() local
303 RecordingListener listener = RecordingListener.record(service); in testManualServiceFailWhileStopping() local
389 RecordingListener listener = RecordingListener.record(service); in testThreadedServiceStartAndWaitStopAndWait() local
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAlertDialog.java102 …blic void setButton(int whichButton, CharSequence text, DialogInterface.OnClickListener listener) { in setButton()
117 …nterface dialog, final int which, CharSequence text, final DialogInterface.OnClickListener listene… in createButton()
282 … public AlertDialog.Builder setItems(int itemsId, final DialogInterface.OnClickListener listener) { in setItems()
291 …c AlertDialog.Builder setItems(CharSequence[] items, final DialogInterface.OnClickListener listene… in setItems()
300 …leChoiceItems(CharSequence[] items, int checkedItem, final DialogInterface.OnClickListener listene… in setSingleChoiceItems()
309 …gleChoiceItems(ListAdapter adapter, int checkedItem, final DialogInterface.OnClickListener listene… in setSingleChoiceItems()
319 …s(CharSequence[] items, boolean[] checkedItems, final DialogInterface.OnMultiChoiceClickListener l… in setMultiChoiceItems()
377 …tDialog.Builder setPositiveButton(CharSequence text, final DialogInterface.OnClickListener listene… in setPositiveButton()
384 …Dialog.Builder setPositiveButton(int positiveTextId, final DialogInterface.OnClickListener listene… in setPositiveButton()
389 …tDialog.Builder setNegativeButton(CharSequence text, final DialogInterface.OnClickListener listene… in setNegativeButton()
[all …]
DShadowSensorManager.java25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { in registerListener()
37 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
41 public boolean hasListener(SensorEventListener listener) { in hasListener()
DShadowLocationManager.java120 public boolean addGpsStatusListener(Listener listener) { in addGpsStatusListener()
128 public void removeGpsStatusListener(Listener listener) { in removeGpsStatusListener()
206 …questLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener) { in requestLocationUpdates()
210 private void addLocationListener(String provider, LocationListener listener) { in addLocationListener()
218 …requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener, in requestLocationUpdates()
248 public void removeUpdates(LocationListener listener) { in removeUpdates()
258 public boolean hasGpsStatusListener(Listener listener) { in hasGpsStatusListener()
364 public Collection<String> getProvidersForListener(LocationListener listener) { in getProvidersForListener()
/external/volley/src/test/java/com/android/volley/
DRequestQueueIntegrationTest.java72 RequestFinishedListener listener = mock(RequestFinishedListener.class); in add_requestProcessedInCorrectOrder() local
110 RequestFinishedListener listener = mock(RequestFinishedListener.class); in add_dedupeByCacheKey() local
142 RequestFinishedListener listener = mock(RequestFinishedListener.class); in add_requestFinishedListenerCanceled() local
172 RequestFinishedListener listener = mock(RequestFinishedListener.class); in add_requestFinishedListenerSuccess() local
193 RequestFinishedListener listener = mock(RequestFinishedListener.class); in add_requestFinishedListenerError() local
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSensorManagerTest.java38 SensorEventListener listener = registerListener(); in shouldReturnHasListenerAfterRegisteringListener() local
44 SensorEventListener listener = new TestSensorEventListener(); in registerListener() local
53 SensorEventListener listener = registerListener(); in shouldReturnHasNoListenerAfterUnregisterListener() local
61 SensorEventListener listener = new TestSensorEventListener(); in shouldReturnHasNoListenerByDefault() 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/mockito/src/test/java/org/mockitousage/debugging/
DVerificationListenerCallBackTest.java33 RememberingListener listener = new RememberingListener(); in should_call_single_listener_on_verify() local
70 VerificationListener listener = mock(VerificationListener.class); in should_not_call_listener_when_verify_was_called_incorrectly() local
86 RememberingListener listener = new RememberingListener(); in should_notify_when_verification_throws_type_error() local
104 RememberingListener listener = new RememberingListener(); in should_notify_when_verification_throws_runtime_exception() local
122 RememberingListener listener = new RememberingListener(); in should_call_verification_listeners() local
/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/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework.cc187 PacketProcessor::PacketProcessor(PacketProcessorListener* listener, in PacketProcessor()
196 PacketProcessor::PacketProcessor(PacketProcessorListener* listener, in PacketProcessor()
219 RateCounterFilter::RateCounterFilter(PacketProcessorListener* listener, in RateCounterFilter()
233 RateCounterFilter::RateCounterFilter(PacketProcessorListener* listener, in RateCounterFilter()
252 RateCounterFilter::RateCounterFilter(PacketProcessorListener* listener, in RateCounterFilter()
302 LossFilter::LossFilter(PacketProcessorListener* listener, int flow_id) in LossFilter()
308 LossFilter::LossFilter(PacketProcessorListener* listener, in LossFilter()
337 DelayFilter::DelayFilter(PacketProcessorListener* listener, int flow_id) in DelayFilter()
343 DelayFilter::DelayFilter(PacketProcessorListener* listener, in DelayFilter()
366 JitterFilter::JitterFilter(PacketProcessorListener* listener, int flow_id) in JitterFilter()
[all …]
/external/junit/src/main/java/org/junit/runner/
DJUnitCore.java74 RunListener listener = new TextListener(system); in runMain() local
133 RunListener listener = result.createListener(); in run() local
151 public void addListener(RunListener listener) { in addListener()
160 public void removeListener(RunListener listener) { in removeListener()
/external/mockito/src/test/java/org/mockito/internal/framework/
DDefaultMockitoFrameworkTest.java47 MockitoListener listener = new MockitoListener() {}; in ok_to_remove_listener_multiple_times() local
60 MockCreationListener listener = mock(MockCreationListener.class); in adds_creation_listener() local
77 MockCreationListener listener = mock(MockCreationListener.class); in removes_creation_listener() local
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h195 bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain()
348 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain()
463 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { in MatchAndExplain()
589 MatchResultListener* listener) { in MatchPrintAndExplain()
646 StringMatchResultListener listener; in ExplainMatchFailuresTo() local
873 Super& x, MatchResultListener* listener) const { in MatchAndExplain()
947 MatchResultListener* listener) const { in MatchAndExplain()
1001 MatchResultListener* listener) const { in MatchAndExplain()
1042 MatchResultListener* listener) const { in MatchAndExplain()
1082 MatchResultListener* listener) const { in MatchAndExplain()
[all …]
/external/mdnsresponder/mDNSWindows/DLLX/
DDNSSD.cpp15 …wse(DNSSDFlags flags, ULONG ifIndex, BSTR regtype, BSTR domain, IBrowseListener* listener, IDNSSDS… in Browse()
70 …s, ULONG ifIndex, BSTR serviceName, BSTR regType, BSTR domain, IResolveListener* listener, IDNSSDS… in Resolve()
128 STDMETHODIMP CDNSSD::EnumerateDomains(DNSSDFlags flags, ULONG ifIndex, IDomainListener *listener, I… in EnumerateDomains()
174 …Type, BSTR domain, BSTR host, USHORT port, ITXTRecord *record, IRegisterListener *listener, IDNSSD… in Register()
247 …ex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, IQueryRecordListener *listener, IDNSS… in QueryRecord()
299 …NG ifIndex, DNSSDAddressFamily addressFamily, BSTR hostName, IGetAddrInfoListener *listener, IDNSS… in GetAddrInfo()
393 …tocol, USHORT internalPort, USHORT externalPort, ULONG ttl, INATPortMappingListener *listener, IDN… in NATPortMappingCreate()
502 IDomainListener * listener; in DomainEnumReply() local
555 IBrowseListener * listener; in BrowseReply() local
614 IResolveListener * listener; in ResolveReply() local
[all …]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java928 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, in handshake()
1011 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_normal() local
1035 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_optional_client_certificate() local
1084 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_missing_required_certificate() local
1121 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_clientCertificateRequested_throws_after_renegotiate() local
1175 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_client_timeout() local
1199 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_server_timeout() local
1222 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_with_channel_id_normal() local
1255 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_with_channel_id_not_supported_by_server() local
1288 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_with_channel_id_not_enabled_by_client() local
[all …]
/external/junit/src/main/java/org/junit/runner/notification/
DRunNotifier.java28 public void addListener(RunListener listener) { in addListener()
38 public void removeListener(RunListener listener) { in removeListener()
49 RunListener wrapIfNotThreadSafe(RunListener listener) { in wrapIfNotThreadSafe()
140 protected void notifyListener(RunListener listener) throws Exception { in fireTestFailures()
208 public void addFirstListener(RunListener listener) { in addFirstListener()
/external/jmdns/src/javax/jmdns/
DJmmDNS.java271 public abstract void addServiceTypeListener(ServiceTypeListener listener) throws IOException; in addServiceTypeListener()
280 public abstract void removeServiceTypeListener(ServiceTypeListener listener); in removeServiceTypeListener()
291 public abstract void addServiceListener(String type, ServiceListener listener); in addServiceListener()
302 public abstract void removeServiceListener(String type, ServiceListener listener); in removeServiceListener()
390 public abstract void addNetworkTopologyListener(NetworkTopologyListener listener); in addNetworkTopologyListener()
398 public abstract void removeNetworkTopologyListener(NetworkTopologyListener listener); in removeNetworkTopologyListener()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DTelephonyManagerFacade.java232 StateChangeListener listener = getStateChangeListenerForSubscription(subId, true); in telephonyStartTrackingCallStateForSubscription() local
254 StateChangeListener listener = getStateChangeListenerForSubscription(subId, true); in telephonyStartTrackingCellInfoChangeForSubscription() local
280 StateChangeListener listener = getStateChangeListenerForSubscription(subId, true); in telephonyAdjustPreciseCallStateListenLevelForSubscription() local
310 StateChangeListener listener = getStateChangeListenerForSubscription(subId, false); in telephonyStopTrackingCellInfoChangeForSubscription() local
331 StateChangeListener listener = getStateChangeListenerForSubscription(subId, false); in telephonyStopTrackingCallStateChangeForSubscription() local
353 StateChangeListener listener = getStateChangeListenerForSubscription(subId, true); in telephonyStartTrackingDataConnectionRTInfoChangeForSubscription() local
375 StateChangeListener listener = getStateChangeListenerForSubscription(subId, false); in telephonyStopTrackingDataConnectionRTInfoChangeForSubscription() local
397 StateChangeListener listener = getStateChangeListenerForSubscription(subId, true); in telephonyStartTrackingDataConnectionStateChangeForSubscription() local
419 StateChangeListener listener = getStateChangeListenerForSubscription(subId, false); in telephonyStopTrackingDataConnectionStateChangeForSubscription() local
441 StateChangeListener listener = getStateChangeListenerForSubscription(subId, true); in telephonyStartTrackingServiceStateChangeForSubscription() local
[all …]
/external/conscrypt/platform/src/test/java/org/conscrypt/
DNativeCryptoTest.java926 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, in handshake()
1009 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_normal() local
1033 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_optional_client_certificate() local
1082 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_missing_required_certificate() local
1109 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_client_timeout() local
1133 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_server_timeout() local
1156 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_with_channel_id_normal() local
1189 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_with_channel_id_not_supported_by_server() local
1222 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_with_channel_id_not_enabled_by_client() local
1253 final ServerSocket listener = new ServerSocket(0); in test_SSL_do_handshake_with_psk_normal() local
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DListenerCallQueue.java49 abstract void call(L listener); in call()
59 private final L listener; field in ListenerCallQueue
65 ListenerCallQueue(L listener, Executor executor) { in ListenerCallQueue()
/external/libmojo/base/android/java/src/org/chromium/base/
DApplicationStatus.java334 public static void registerStateListenerForAllActivities(ActivityStateListener listener) { in registerStateListenerForAllActivities()
346 public static void registerStateListenerForActivity(ActivityStateListener listener, in registerStateListenerForActivity()
359 public static void unregisterActivityStateListener(ActivityStateListener listener) { in unregisterActivityStateListener()
372 public static void registerApplicationStateListener(ApplicationStateListener listener) { in registerApplicationStateListener()
380 public static void unregisterApplicationStateListener(ApplicationStateListener listener) { in unregisterApplicationStateListener()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocketCall.java94 public void enqueue(final WebSocketListener listener) { in enqueue()
117 private void createWebSocket(Response response, WebSocketListener listener) throws IOException { in createWebSocket()
160 Random random, WebSocketListener listener) { in create()
174 Random random, ExecutorService replyExecutor, WebSocketListener listener, String url) { in StreamWebSocket()
/external/boringssl/src/ssl/test/runner/
Dtls.go42 type listener struct { struct
43 net.Listener
44 config *Config
49 func (l *listener) Accept() (c net.Conn, err error) {

12345678910>>...21