Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DWebAddress.java45 private int mPort; field in WebAddress
73 mPort = -1; in WebAddress()
90 mPort = Integer.parseInt(t); in WebAddress()
113 if (mPort == 443 && mScheme.equals("")) { in WebAddress()
115 } else if (mPort == -1) { in WebAddress()
117 mPort = 443; in WebAddress()
119 mPort = 80; // default in WebAddress()
127 if ((mPort != 443 && mScheme.equals("https")) || in toString()
128 (mPort != 80 && mScheme.equals("http"))) { in toString()
129 port = ":" + Integer.toString(mPort); in toString()
[all …]
DProxyProperties.java35 private int mPort; field in ProxyProperties
46 mPort = port; in ProxyProperties()
52 mPort = LOCAL_PORT; in ProxyProperties()
60 mPort = localProxyPort; in ProxyProperties()
67 mPort = port; in ProxyProperties()
77 mPort = source.getPort(); in ProxyProperties()
87 inetSocketAddress = new InetSocketAddress(mHost, mPort); in getSocketAddress()
101 return mPort; in getPort()
145 Proxy.validate(mHost == null ? "" : mHost, mPort == 0 ? "" : Integer.toString(mPort), in isValid()
157 InetSocketAddress inetSocketAddress = new InetSocketAddress(mHost, mPort); in makeProxy()
[all …]
/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.java118 private int mPort; /* RFCOMM channel or L2CAP psm */ field in BluetoothSocket
164 mPort = port; in BluetoothSocket()
184 mPort = s.mPort; in BluetoothSocket()
309 mUuid, mPort, getSecurityFlags()); in connect()
323 mPort = channel; in connect()
350 mUuid, mPort, getSecurityFlags()); in bindListen()
377 if (mPort == -1) { in bindListen()
378 mPort = channel; in bindListen()
445 …if (VDBG) Log.d(TAG, "close() in, this: " + this + ", channel: " + mPort + ", state: " + mSocketSt… in close()
455 …if (VDBG) Log.d(TAG, "close() this: " + this + ", channel: " + mPort + ", mSocketIS: " + mSocketIS… in close()
[all …]
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java56 private int mPort; field in ProxyServer
188 mPort = -1; in ProxyServer()
233 mPort = port; in setPort()
237 if (mPort != -1) { in setCallback()
239 callback.setProxyPort(mPort); in setCallback()
265 return (mPort != -1); in isBound()
269 return mPort; in getPort()
/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/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()
/frameworks/base/core/java/android/content/
DIntentFilter.java653 private final int mPort; field in IntentFilter.AuthorityEntry
659 mPort = port != null ? Integer.parseInt(port) : -1; in AuthorityEntry()
666 mPort = src.readInt(); in AuthorityEntry()
673 dest.writeInt(mPort); in writeToParcel()
681 return mPort; in getPort()
710 if (mPort >= 0) { in match()
711 if (mPort != data.getPort()) { in match()
1462 sb.append(ae.mPort); in dump()