Searched defs:port (Results 1 - 25 of 56) sorted by relevance

123

/frameworks/av/media/libstagefright/chromium_http/
H A Dchromium_http_stub.cpp30 const char *host, int32_t port, const char *exclusionList) {
31 return ChromiumHTTPDataSource::UpdateProxyConfig(host, port, exclusionList);
29 UpdateChromiumHTTPDataSourceProxyConfig( const char *host, int32_t port, const char *exclusionList) argument
H A DChromiumHTTPDataSource.cpp345 const char *host, int32_t port, const char *exclusionList) {
346 return SfDelegate::UpdateProxyConfig(host, port, exclusionList);
344 UpdateProxyConfig( const char *host, int32_t port, const char *exclusionList) argument
/frameworks/opt/net/voip/src/jni/rtp/
H A Dutil.cpp25 int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss) argument
31 if (port < 0 || port > 65535) {
32 jniThrowException(env, "java/lang/IllegalArgumentException", "port");
45 sin->sin_port = htons(port);
53 sin6->sin6_port = htons(port);
H A DRtpStream.cpp32 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss);
59 uint16_t port = ntohs(*p); local
60 if ((port & 1) == 0) {
62 return port;
68 uint16_t delta = port << 1;
69 ++port;
73 port += delta;
74 } while (port < 1024);
75 *p = htons(port);
79 return port;
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/
H A DForwarder.java28 * A port forwarding server. Listens on localhost on specified port and forwards the tcp
41 public Forwarder(int port, String remoteMachineIpAddress) { argument
42 mPort = port;
48 Log.i(LOG_TAG, "start(): Starting fowarder on port: " + mPort);
H A DConnectionHandler.java96 public ConnectionHandler(String remoteMachineIp, int port, Socket fromSocket, Socket toSocket) argument
99 mPort = port;
/frameworks/av/media/libstagefright/
H A Dchromium_http_stub.cpp34 const char *host, int32_t port, const char *exclusionList);
85 const char *host, int32_t port, const char *exclusionList) {
91 host, port, exclusionList);
84 UpdateChromiumHTTPDataSourceProxyConfig( const char *host, int32_t port, const char *exclusionList) argument
H A DHTTPBase.cpp63 const char *host, int32_t port, const char *exclusionList) {
65 return UpdateChromiumHTTPDataSourceProxyConfig(host, port, exclusionList);
62 UpdateProxyConfig( const char *host, int32_t port, const char *exclusionList) argument
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp134 const PortInfo *port = local
137 memcpy(defParams, &port->mDef, sizeof(port->mDef));
161 PortInfo *port =
164 if (defParams->nBufferSize != port->mDef.nBufferSize) {
165 CHECK_GE(defParams->nBufferSize, port->mDef.nBufferSize);
166 port->mDef.nBufferSize = defParams->nBufferSize;
170 != port->mDef.nBufferCountActual) {
172 port->mDef.nBufferCountMin);
174 port
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.cpp32 UDPPusher::UDPPusher(const char *filename, unsigned port) argument
51 mRemoteAddr.sin_port = htons(port);
H A DARTPSession.cpp65 unsigned port; local
66 if (!validateMediaFormat(i, &port) || (port & 1) != 0) {
77 int rtpSocket = MakeUDPSocket(port);
78 int rtcpSocket = MakeUDPSocket(port + 1);
100 int ARTPSession::MakeUDPSocket(unsigned port) { argument
108 addr.sin_port = htons(port);
198 bool ARTPSession::validateMediaFormat(size_t index, unsigned *port) const {
228 *port = x;
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.cpp83 status_t HDCP::initAsync(const char *host, unsigned port) { argument
90 return mHDCPModule->initAsync(host, port);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java80 * @param port remote port
84 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) argument
86 mChannel = port;
87 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
/frameworks/av/media/libmedia/
H A DIHDCP.cpp71 virtual status_t initAsync(const char *host, unsigned port) { argument
75 data.writeInt32(port);
185 unsigned port = data.readInt32(); local
187 reply->writeInt32(initAsync(host, port));
H A DIMediaPlayerService.cpp169 const char *host, int32_t port, const char *exclusionList) {
178 data.writeInt32(port);
295 int32_t port = 0; local
300 port = data.readInt32();
304 reply->writeInt32(updateProxyConfig(host, port, exclusionList));
168 updateProxyConfig( const char *host, int32_t port, const char *exclusionList) argument
/frameworks/base/core/java/android/net/
H A DProxyProperties.java40 public ProxyProperties(String host, int port, String exclList) { argument
42 mPort = port;
46 private ProxyProperties(String host, int port, String exclList, String[] parsedExclList) { argument
48 mPort = port;
202 int port = 0;
205 port = in.readInt();
210 new ProxyProperties(host, port, exclList, parsedExclList);
H A DWebAddress.java37 * If given an https scheme but no port, fills in port
58 /* port */ "(?:\\:([0-9]*))?" +
91 throw new ParseException("Bad port");
110 /* Get port from scheme or scheme from port, if necessary and
125 String port = "";
128 port = ":" + Integer.toString(mPort);
135 return mScheme + "://" + authInfo + mHost + port + mPath;
154 public void setPort(int port) { argument
[all...]
H A DProxy.java142 * @deprecated Use standard java vm proxy values to find the host, port
156 * Return the proxy port set by the user.
157 * @param ctx A Context used to get the settings for the proxy port.
158 * @return The port number to use or -1 if no proxy is to be used.
159 * @deprecated Use standard java vm proxy values to find the host, port
176 * @deprecated Use standard java vm proxy values to find the host, port and
187 * Return the default proxy port specified by the carrier.
188 * @return The port number to be used with the proxy host or -1 if there is
190 * @deprecated Use standard java vm proxy values to find the host, port and
246 * Validate syntax of hostname, port an
249 validate(String hostname, String port, String exclList) argument
337 setHttpProxySystemProperty(String host, String port, String exclList) argument
[all...]
H A DSSLCertificateSocketFactory.java393 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { argument
394 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close);
429 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) argument
432 addr, port, localAddr, localPort);
447 public Socket createSocket(InetAddress addr, int port) throws IOException { argument
448 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(addr, port);
462 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) argument
465 host, port, localAddr, localPort);
482 public Socket createSocket(String host, int port) throws IOException { argument
483 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port);
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DViewServer.java43 * The default port used to start view servers.
77 * specified local port. The server is not started by default.
80 * @param port The port for the server to listen to.
84 ViewServer(WindowManagerService windowManager, int port) { argument
86 mPort = port;
105 mThread = new Thread(this, "Remote View Server [port=" + mPort + "]");
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DRtpStream.java64 * port is assigned automatically to conform with RFC 3550.
85 * Returns the network port of the local host.
100 * Returns the network port of the remote host or {@code -1} if the stream
147 * @param port The network port of the remote host.
149 * port is invalid.
153 public void associate(InetAddress address, int port) { argument
161 if (port < 0 || port > 65535) {
162 throw new IllegalArgumentException("Invalid port");
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnSetting.java32 public final String port; field in class:ApnSetting
58 String proxy, String port,
67 this.port = port;
90 * <carrier>, <apn>, <proxy>, <port>, <mmsc>, <mmsproxy>,
95 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <mmsc>, <mmsproxy>,
168 .append(", ").append(port)
57 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer) argument
/frameworks/av/include/media/
H A DMediaPlayerInterface.h202 const char *host, int32_t port, const char *exclusionList) {
201 updateProxyConfig( const char *host, int32_t port, const char *exclusionList) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp209 if (profileLevel->nPortIndex != 0) { // Input port only
210 ALOGE("Invalid port index: %ld", profileLevel->nPortIndex);
324 PortInfo *port = editPortInfo(1); local
327 port->mBuffers.editItemAt(mNumSamplesOutput & 1).mHeader;
408 PortInfo *port = editPortInfo(1); local
409 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader;
/frameworks/av/media/libstagefright/wifi-display/
H A Dwfd.cpp41 " %s -l iface[:port]\tcreate a wifi display source\n"
158 static void createSource(const AString &addr, int32_t port) { argument
170 iface.append(StringPrintf(":%d", port).c_str());
184 const AString &addr, int32_t port, const char *path) {
195 AString iface = StringPrintf("%s:%d", addr.c_str(), port);
241 fprintf(stderr, "Illegal port specified.\n");
183 createFileSource( const AString &addr, int32_t port, const char *path) argument

Completed in 1712 milliseconds

123