Home
last modified time | relevance | path

Searched refs:mPort (Results 1 – 11 of 11) 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/core/java/android/net/nsd/
DNsdServiceInfo.java38 private int mPort; field in NsdServiceInfo
92 return mPort; in getPort()
97 mPort = p; in setPort()
106 append("port: ").append(mPort). in toString()
127 dest.writeInt(mPort); in writeToParcel()
145 info.mPort = in.readInt();
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java60 private int mPort = DEFAULT_PORT; field in SipProfile
110 mProfile.mPort = profile.getPort(); in Builder()
201 mProfile.mPort = port; in setPort()
292 if (mProfile.mPort != DEFAULT_PORT) { in build()
293 mUri.setPort(mProfile.mPort); in build()
321 mPort = in.readInt(); in SipProfile()
336 out.writeInt(mPort); in writeToParcel()
433 return mPort; in getPort()
499 if (mPort == 0) mPort = DEFAULT_PORT; in readResolve()
DSimpleSessionDescription.java239 private final int mPort; field in SimpleSessionDescription.Media
247 mPort = port; in Media()
263 return mPort; in getPort()
369 buffer.append("m=").append(mType).append(' ').append(mPort); in write()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java117 private int mPort; /* RFCOMM channel or L2CAP psm */ field in BluetoothSocket
163 mPort = port; in BluetoothSocket()
183 mPort = s.mPort; in BluetoothSocket()
308 mUuid, mPort, getSecurityFlags()); in connect()
322 mPort = channel; in connect()
349 mUuid, mPort, getSecurityFlags()); in bindListen()
376 if (mPort == -1) { in bindListen()
377 mPort = channel; in bindListen()
444 …if (VDBG) Log.d(TAG, "close() in, this: " + this + ", channel: " + mPort + ", state: " + mSocketSt… in close()
454 …if (VDBG) Log.d(TAG, "close() this: " + this + ", channel: " + mPort + ", mSocketIS: " + mSocketIS… in close()
[all …]
/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/content/
DIntentFilter.java634 private final int mPort; field in IntentFilter.AuthorityEntry
640 mPort = port != null ? Integer.parseInt(port) : -1; in AuthorityEntry()
647 mPort = src.readInt(); in AuthorityEntry()
654 dest.writeInt(mPort); in writeToParcel()
662 return mPort; in getPort()
691 if (mPort >= 0) { in match()
692 if (mPort != data.getPort()) { in match()
1299 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()