Searched refs:LinkSocket (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/net/
H A DLinkSocketNotifier.java22 * Interface used to get feedback about a {@link android.net.LinkSocket}. Instance is optionally
23 * passed when a LinkSocket is constructed. Multiple LinkSockets may use the same notifier.
34 * @param original the original LinkSocket
35 * @param duplicate the new LinkSocket that better meets the application
48 public boolean onBetterLinkAvailable(LinkSocket original, LinkSocket duplicate);
51 * This callback function will be called when a LinkSocket no longer has
53 * @param socket the LinkSocket that lost its link
60 public void onLinkLost(LinkSocket socket);
64 * requestNewLink on a LinkSocket bu
[all...]
H A DLinkSocket.java34 public class LinkSocket extends Socket { class in inherits:Socket
35 private final static String TAG = "LinkSocket";
41 public LinkSocket() { method in class:LinkSocket
42 if (DBG) log("LinkSocket() EX");
49 public LinkSocket(LinkSocketNotifier notifier) { method in class:LinkSocket
50 if (DBG) log("LinkSocket(notifier) EX");
61 public LinkSocket(LinkSocketNotifier notifier, Proxy proxy) { method in class:LinkSocket
62 if (DBG) log("LinkSocket(notifier, proxy) EX");
108 * @return the filtered {@code LinkCapabilities} of this LinkSocket, may be empty
117 * for this LinkSocket
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DLinkSocketTest.java19 import android.net.LinkSocket;
24 * Test LinkSocket
30 LinkSocket ls;
32 ls = new LinkSocket();

Completed in 64 milliseconds