Searched defs:localPort (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/org/apache/http/conn/scheme/
H A DSocketFactory.java86 * @param localPort the port on the local machine,
105 int localPort,
100 connectSocket( Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params ) argument
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DSSLSocketFactory.java293 int localPort,
307 if ((localAddress != null) || (localPort > 0)) {
310 if (localPort < 0)
311 localPort = 0; // indicates "any"
314 new InetSocketAddress(localAddress, localPort);
288 connectSocket( final Socket sock, final String host, final int port, final InetAddress localAddress, int localPort, final HttpParams params ) argument
/frameworks/base/core/java/android/net/
H A DNetwork.java152 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException { argument
153 return connectToHost(host, port, new InetSocketAddress(localHost, localPort));
158 int localPort) throws IOException {
160 socket.bind(new InetSocketAddress(localAddress, localPort));
157 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
H A DSSLCertificateSocketFactory.java474 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) argument
477 addr, port, localAddr, localPort);
509 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) argument
512 host, port, localAddr, localPort);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUSocketFactory.java198 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument
200 return new Socket(host, port, localHost, localPort);
210 int localPort) throws IOException {
211 return new Socket(address, port, localAddress, localPort);
209 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp882 unsigned localPort, const sp<AMessage> &notify, int32_t *sessionID) {
883 return createUDPSession(localPort, NULL, 0, notify, sessionID);
887 unsigned localPort,
895 localPort,
916 unsigned localPort,
924 localPort,
881 createUDPSession( unsigned localPort, const sp<AMessage> &notify, int32_t *sessionID) argument
886 createUDPSession( unsigned localPort, const char *remoteHost, unsigned remotePort, const sp<AMessage> &notify, int32_t *sessionID) argument
915 createTCPDatagramSession( unsigned localPort, const char *remoteHost, unsigned remotePort, const sp<AMessage> &notify, int32_t *sessionID) argument

Completed in 126 milliseconds