Searched refs:port (Results 1 - 25 of 84) sorted by last modified time

1234

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java546 // See if message is partial or port addressed.
557 // The message was sent to a port, so concoct a URI for it.
561 // Normal short and non-port-addressed message, dispatch it.
588 * @param destPort the destination port for the message, or -1 for no destination port
658 // Read the destination port from the first segment (needed for CDMA WAP PDU).
659 // It's not a bad idea to prefer the port from the first segment for 3GPP as well.
698 // The messages were sent to any other WAP port
717 // The messages were sent to a port, so concoct a URI for it
721 // The messages were not sent to a port
745 dispatchPortAddressedPdus(byte[][] pdus, int port) argument
[all...]
H A DApnSetting.java29 public final String port; field in class:ApnSetting
55 String proxy, String port,
64 this.port = port;
87 * <carrier>, <apn>, <proxy>, <port>, <mmsc>, <mmsproxy>,
92 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <mmsc>, <mmsproxy>,
166 .append(", ").append(port)
54 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/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmDataConnection.java80 + "' proxy: '" + mApn.proxy + "' port: '" + mApn.port);
H A DGsmDataConnectionTracker.java1802 String port = apn.port;
1803 if (TextUtils.isEmpty(port)) port = "8080";
1805 Integer.parseInt(port), null);
1809 apn.port + "): " + e);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DApnSettingTest.java31 assertEquals(a1.port, a2.port);
101 99, "12345", "Name", "apn", "proxy", "port",
105 "mmsc, mmsproxy, mmsport, port, 0, default | *, " +
/frameworks/native/include/media/hardware/
H A DHDCPAPI.h59 // on the specified port.
60 virtual status_t initAsync(const char *host, unsigned port) = 0;
/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py432 # TODO: handle possibility that port 8700 is in use (may help with
472 # Forward port for java debugger to Dalvik
498 + " port=" + str(self.gdbserver_port) + ") ==--"
500 # Forward port for gdbserver
507 print "--==GDB Plugin requested attach (port=" \
518 def start_jdb(self, port):
524 "com.sun.jdi.SocketAttach:hostname=localhost,port=" + str(port)]
/frameworks/base/voip/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/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java114 * @param port The first transport port used by this media.
118 public Media newMedia(String type, int port, int portCount, argument
120 Media media = new Media(type, port, portCount, protocol);
244 private Media(String type, int port, int portCount, String protocol) { argument
247 mPort = port;
260 * Returns the first transport port used by this media.
H A DSipProfile.java191 * Sets the port number of the server. By default, it is 5060.
193 * @param port port number of the server
195 * @throws IllegalArgumentException if the port number is out of range
197 public Builder setPort(int port) throws IllegalArgumentException { argument
198 if ((port > 65535) || (port < 1000)) {
199 throw new IllegalArgumentException("incorrect port arugment: " + port);
201 mProfile.mPort = port;
[all...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipHelper.java160 String ip, int port) throws ParseException,
166 ip, port);
186 String ip, int port) throws ParseException {
189 uri.setPort(port);
321 // in resolving the initiator's NAT port mapping for relaying the
159 createContactHeader(SipProfile profile, String ip, int port) argument
185 createSipUri(String username, String transport, String ip, int port) argument
H A DSipSessionGroup.java157 int port = mLocalProfile.getPort();
162 server + ':' + port + '/' + protocol);
174 socket.connect(remote, port);
177 port = socket.getLocalPort();
200 mSipStack.createListeningPoint(local, port, protocol));
1696 int port = uri.getPort();
1700 if (port > 0) builder.setPort(port);
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp54 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss);
73 // proxies. A firewall might remove a port mapping when there is no outgoing
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...]
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);
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pWfdInfo.java125 public void setControlPort(int port) { argument
126 mCtrlPort = port;
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java3062 int port = 0;
3067 port = mGlobalProxy.getPort();
3074 Settings.Global.putInt(res, Settings.Global.GLOBAL_HTTP_PROXY_PORT, port);
3088 int port = Settings.Global.getInt(res, Settings.Global.GLOBAL_HTTP_PROXY_PORT, 0);
3092 ProxyProperties proxyProperties = new ProxyProperties(host, port, exclList);
H A DNetworkManagementService.java1481 public void setFirewallEgressDestRule(String addr, int port, boolean allow) { argument
1486 mConnector.execute("firewall", "set_egress_dest_rule", addr, port, rule);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java1088 String port = "";
1092 port = Integer.toString(proxy.getPort());
1100 r.thread.setHttpProxy(host, port, exclList);
/frameworks/base/services/java/com/android/server/display/
H A DWifiDisplayController.java582 final int port = getPortNumber(mConnectedDevice);
583 final String iface = addr.getHostAddress() + ":" + port;
813 // These dongles ignore the port we broadcast in our WFD IE.
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java1637 private native void native_set_agps_server(int type, String hostname, int port); argument
/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 + "]");
H A DWindowManagerService.java6217 * Starts the view server on the specified port.
6219 * @param port The port to listener to.
6226 public boolean startViewServer(int port) { argument
6235 if (port < 1024) {
6251 mViewServer = new ViewServer(this, port);
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp509 jint type, jstring hostname, jint port)
516 sAGpsInterface->set_server(type, c_hostname, port);
508 android_location_GpsLocationProvider_set_agps_server(JNIEnv* env, jobject obj, jint type, jstring hostname, jint port) argument
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java70 * @param port The port the request is being sent to.
78 private void fetch(SSLSocketFactory socketFactory, String host, int port, argument
81 InetSocketAddress address = new InetSocketAddress(host, port);
180 private void fetch(String host, int port, boolean secure, String path, argument
183 fetch(clientFactory, host, port, secure, path, outerLoop, innerLoop,
617 * port, requests client authentication (if specified), and read 256 bytes
632 private int port; field in class:SSLSocketTest.TestServer
638 public TestServer(int port, boolean provideKeys, int clientAuth) { argument
639 this.port
711 private int port; field in class:SSLSocketTest.TestClient
715 TestClient(int port, boolean provideKeys) argument
988 getSessionData(String host, int port) argument
1078 getSessionData(String host, int port) argument
[all...]

Completed in 859 milliseconds

1234