HomeSort by relevance Sort by last modified time
    Searched refs:Listener (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/dropbear/
listener.h 31 struct Listener {
38 void (*acceptor)(struct Listener*, int sock);
39 void (*cleanup)(struct Listener*);
53 struct Listener* new_listener(int socks[], unsigned int nsocks,
55 void (*acceptor)(struct Listener* listener, int sock),
56 void (*cleanup)(struct Listener*));
58 struct Listener * get_listener(int type, void* typedata,
61 void remove_listener(struct Listener* listener);
    [all...]
listener.c 26 #include "listener.h"
33 ses.listeners = (struct Listener**)m_malloc(sizeof(struct Listener*));
42 struct Listener *listener; local
46 listener = ses.listeners[i];
47 if (listener != NULL) {
48 for (j = 0; j < listener->nsocks; j++) {
49 FD_SET(listener->socks[j], readfds);
59 struct Listener *listener local
139 struct Listener* listener; local
    [all...]
chansession.h 30 #include "listener.h"
55 struct Listener * x11listener;
64 struct Listener * agentlistener;
tcp-accept.c 32 #include "listener.h"
37 static void cleanup_tcp(struct Listener *listener) {
39 struct TCPListener *tcpinfo = (struct TCPListener*)(listener->typedata);
46 static void tcp_acceptor(struct Listener *listener, int sock) {
52 struct TCPListener *tcpinfo = (struct TCPListener*)(listener->typedata);
104 struct Listener *listener = NULL; local
132 listener = new_listener(socks, nsocks, CHANNEL_ID_TCPFORWARDED, tcpinfo,
    [all...]
svr-agentfwd.c 41 #include "listener.h"
47 static void agentaccept(struct Listener * listener, int sock);
78 /* pass if off to listener */
98 static void agentaccept(struct Listener *UNUSED(listener), int sock) {
svr-x11fwd.c 40 static void x11accept(struct Listener* listener, int sock);
80 /* listener code will handle the socket now.
101 static void x11accept(struct Listener* listener, int sock) {
107 struct ChanSess * chansess = (struct ChanSess *)(listener->typedata);
session.h 36 #include "listener.h"
162 struct Listener ** listeners;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
ShortcutRefresher.java 19 import com.android.quicksearchbox.ShortcutRefresher.Listener;
23 * {@link Listener}.
27 public interface Listener {
44 * @param listener Who to report back to.
46 void refresh(Suggestion shortcut, Listener listener);
SourceShortcutRefresher.java 49 public void refresh(Suggestion shortcut, Listener listener) {
63 source, shortcutId, extraData, listener);
114 * {@link ShortcutRefresher.Listener}.
120 private final Listener mListener;
125 * @param listener Who to report back to when the result is in.
128 Listener listener) {
132 mListener = listener;
ShortcutCursor.java 85 mRefresher.refresh(shortcut, new ShortcutRefresher.Listener() {
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockShortcutRefresher.java 31 public void refresh(Suggestion shortcut, Listener listener) {
  /development/samples/SipDemo/src/com/example/android/sip/
IncomingCallReceiver.java 40 SipAudioCall.Listener listener = new SipAudioCall.Listener() { local
53 incomingCall = wtActivity.manager.takeAudioCall(intent, listener);
  /frameworks/base/voip/java/android/net/sip/
SipAudioCall.java 60 /** Listener for events relating to a SIP call, such as when a call is being
62 * <p>Many of these events are also received by {@link SipSession.Listener}.</p>
64 public static class Listener {
171 private SipAudioCall.Listener mListener;
203 * Sets the listener to listen to the audio call events. The method calls
204 * {@link #setListener setListener(listener, false)}.
206 * @param listener to listen to the audio call events of this object
207 * @see #setListener(Listener, boolean)
209 public void setListener(SipAudioCall.Listener listener) {
368 Listener listener = mListener; local
407 Listener listener = mListener; local
424 Listener listener = mListener; local
438 Listener listener = mListener; local
455 Listener listener = mListener; local
    [all...]
SipSession.java 104 * Listener for events relating to a SIP session, such as when a session is being registered
106 * <p>Many of these events are also received by {@link SipAudioCall.Listener}.</p>
108 public static class Listener {
223 private Listener mListener;
236 SipSession(ISipSession realSession, Listener listener) {
238 setListener(listener);
329 * Sets the listener to listen to the session events. A {@code SipSession}
330 * can only hold one listener at a time. Subsequent calls to this method
331 * override the previous listener
    [all...]
SipManager.java 198 * @param listener to listen to registration events; can be null
211 SipRegistrationListener listener) throws SipException {
218 createRelay(listener, localProfile.getUriString()));
225 * Sets the listener to listen to registration events. No effect if the
230 * @param listener to listen to registration events; can be null
234 SipRegistrationListener listener) throws SipException {
237 localProfileUri, createRelay(listener, localProfileUri));
298 * {@link SipAudioCall.Listener#onError onError(SipAudioCall, SipErrorCode.TIME_OUT, String)}
303 * @param listener to listen to the call events from {@link SipAudioCall};
310 * @see SipAudioCall.Listener#onErro
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle1/
UiPropertySheetPage.java 27 import org.eclipse.swt.widgets.Listener;
68 final Listener listener = new Listener() { local
134 tree.addListener(SWT.Dispose, listener);
135 tree.addListener(SWT.KeyDown, listener);
136 tree.addListener(SWT.MouseMove, listener);
137 tree.addListener(SWT.MouseHover, listener);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
PropertySheetPage2.java 27 import org.eclipse.swt.widgets.Listener;
75 final Listener listener = new Listener() { local
141 tree.addListener(SWT.Dispose, listener);
142 tree.addListener(SWT.KeyDown, listener);
143 tree.addListener(SWT.MouseMove, listener);
144 tree.addListener(SWT.MouseHover, listener);
  /frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
TransformTestActivity.java 75 private class Listener implements ScaleGestureDetector.OnScaleGestureListener {
128 mDetector = new ScaleGestureDetector(context, new Listener());
  /frameworks/base/services/java/com/android/server/location/
GpsLocationProvider.java 245 private ArrayList<Listener> mListeners = new ArrayList<Listener>();
291 public void addGpsStatusListener(IGpsStatusListener listener) throws RemoteException {
292 if (listener == null) {
293 throw new NullPointerException("listener is null in addGpsStatusListener");
297 IBinder binder = listener.asBinder();
300 Listener test = mListeners.get(i);
302 // listener already added
307 Listener l = new Listener(listener)
1071 Listener listener = mListeners.get(i); local
1136 Listener listener = mListeners.get(i); local
1183 Listener listener = mListeners.get(i); local
1289 Listener listener = mListeners.get(i); local
    [all...]
  /frameworks/base/location/java/android/location/
LocationManager.java 49 private final HashMap<GpsStatus.Listener, GpsStatusListenerTransport> mGpsStatusListeners =
50 new HashMap<GpsStatus.Listener, GpsStatusListenerTransport>();
169 ListenerTransport(LocationListener listener, Looper looper) {
170 mListener = listener;
430 * @param listener a {#link LocationListener} whose
434 * @throws IllegalArgumentException if provider or listener is null
439 long minTime, float minDistance, LocationListener listener) {
443 if (listener == null) {
444 throw new IllegalArgumentException("listener==null");
446 _requestLocationUpdates(provider, null, minTime, minDistance, false, listener, null)
    [all...]
GpsStatus.java 25 * This class is used in conjunction with the {@link Listener} interface.
98 public interface Listener {
  /packages/apps/Gallery3D/src/com/cooliris/media/
PopupMenu.java 52 private Listener mListener = null;
75 public void setListener(Listener listener) {
76 mListener = listener;
270 public interface Listener {
  /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/
SdkTargetSelector.java 34 import org.eclipse.swt.widgets.Listener;
160 * Sets a selection listener. Set it to null to remove it.
161 * The listener will be called <em>after</em> this table processed its selection
169 * @param selectionListener The new listener or null to remove it.
178 * If the selection is actually changed, this will invoke the selection listener
233 * Adds a listener to adjust the columns width when the parent is resized.
243 // Add a listener to resize the column to the full width of the table
258 * Creates a selection listener that will check or uncheck the whole line when
266 // Add a selection listener that will check/uncheck items when they are double-clicked
368 final Listener listener = new Listener() local
    [all...]
  /sdk/traceview/src/com/android/traceview/
ProfileView.java 45 import org.eclipse.swt.widgets.Listener;
73 SelectionAdapter listener = mProfileProvider.getColumnListener(); local
87 column.addSelectionListener(listener);
91 // Add a listener to the tree so that we can make the row
93 tree.addListener(SWT.MeasureItem, new Listener() {
130 // Add a key listener to the text box so that we can clear
146 // Also add a key listener to the tree viewer so that the
177 // Add a selection listener to the tree so that the user can click
203 // Add a tree listener so that we can expand the parents and children
217 tree.addListener(SWT.MouseDown, new Listener() {
    [all...]
  /frameworks/base/test-runner/src/android/test/
TestPrinter.java 36 public class TestPrinter implements TestRunner.Listener, TestListener {

Completed in 696 milliseconds

1 2 3