Home
last modified time | relevance | path

Searched refs:mPort (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/net/
DWebAddress.java44 private int mPort; field in WebAddress
72 mPort = -1; in WebAddress()
89 mPort = Integer.parseInt(t); in WebAddress()
112 if (mPort == 443 && mScheme.equals("")) { in WebAddress()
114 } else if (mPort == -1) { in WebAddress()
116 mPort = 443; in WebAddress()
118 mPort = 80; // default in WebAddress()
126 if ((mPort != 443 && mScheme.equals("https")) || in toString()
127 (mPort != 80 && mScheme.equals("http"))) { in toString()
128 port = ":" + Integer.toString(mPort); in toString()
[all …]
DProxyProperties.java36 private int mPort; field in ProxyProperties
42 mPort = port; in ProxyProperties()
48 mPort = port; in ProxyProperties()
57 mPort = source.getPort(); in ProxyProperties()
66 inetSocketAddress = new InetSocketAddress(mHost, mPort); in getSocketAddress()
76 return mPort; in getPort()
121 InetSocketAddress inetSocketAddress = new InetSocketAddress(mHost, mPort); in makeProxy()
136 sb.append(Integer.toString(mPort)); in toString()
156 if (mPort != p.mPort) return false; in equals()
175 + mPort; in hashCode()
[all …]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/
DForwarder.java34 private int mPort; field in Forwarder
42 mPort = port; in Forwarder()
48 Log.i(LOG_TAG, "start(): Starting fowarder on port: " + mPort); in start()
51 mServerSocket = new ServerSocket(mPort); in start()
53 Log.e(LOG_TAG, "mPort=" + mPort, e); in start()
68 Log.w(LOG_TAG, "mPort=" + mPort, e); in run()
77 mRemoteMachineIpAddress, mPort, localSocket, remoteSocket); in run()
82 Log.e(LOG_TAG, "mPort=" + mPort, e); in run()
88 Log.e(LOG_TAG, "mPort=" + mPort, e); in run()
129 Log.e(LOG_TAG, "mPort=" + mPort, e); in finish()
DConnectionHandler.java91 private int mPort; field in ConnectionHandler
99 mPort = port; in ConnectionHandler()
110 mRemoteMachineIpAddress, mPort); in ConnectionHandler()
/frameworks/base/voip/java/android/net/sip/
DSipProfile.java53 private int mPort = DEFAULT_PORT; field in SipProfile
103 mProfile.mPort = profile.getPort(); in Builder()
194 mProfile.mPort = port; in setPort()
285 if (mProfile.mPort != DEFAULT_PORT) { in build()
286 mUri.setPort(mProfile.mPort); in build()
314 mPort = in.readInt(); in SipProfile()
329 out.writeInt(mPort); in writeToParcel()
426 return mPort; in getPort()
492 if (mPort == 0) mPort = DEFAULT_PORT; in readResolve()
DSimpleSessionDescription.java238 private final int mPort; field in SimpleSessionDescription.Media
246 mPort = port; in Media()
262 return mPort; in getPort()
368 buffer.append("m=").append(mType).append(' ').append(mPort); in write()
/frameworks/base/services/java/com/android/server/wm/
DViewServer.java71 private final int mPort; field in ViewServer
86 mPort = port; in ViewServer()
104 mServer = new ServerSocket(mPort, VIEW_SERVER_MAX_CONNECTIONS, InetAddress.getLocalHost()); in start()
105 mThread = new Thread(this, "Remote View Server [port=" + mPort + "]"); in start()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java95 private int mPort; /* RFCOMM channel or L2CAP psm */ field in BluetoothSocket
132 mPort = port; in BluetoothSocket()
136 mPort = -1; in BluetoothSocket()
207 mPort = mSdp.doSdp(); // blocks in connect()
/frameworks/base/core/java/android/content/
DIntentFilter.java633 private final int mPort; field in IntentFilter.AuthorityEntry
639 mPort = port != null ? Integer.parseInt(port) : -1; in AuthorityEntry()
646 mPort = src.readInt(); in AuthorityEntry()
653 dest.writeInt(mPort); in writeToParcel()
661 return mPort; in getPort()
690 if (mPort >= 0) { in match()
691 if (mPort != data.getPort()) { in match()
1298 sb.append(ae.mPort); in dump()
/frameworks/base/tests/CoreTests/android/core/
DTestWebServer.java74 int mPort; field in TestWebServer
127 mPort = port; in initServer()
226 InetSocketAddress ia = new InetSocketAddress(mPort); in init()
802 psPrint(ps,"Server: TestWebServer"+mPort); in printHeaders()