Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/
DProxyInfo.java44 private final int mPort; field in ProxyInfo
108 mPort = port; in ProxyInfo()
120 mPort = LOCAL_PORT; in ProxyInfo()
135 mPort = LOCAL_PORT; in ProxyInfo()
147 mPort = localProxyPort; in ProxyInfo()
166 mPort = port; in ProxyInfo()
178 mPort = source.getPort(); in ProxyInfo()
184 mPort = 0; in ProxyInfo()
197 inetSocketAddress = new InetSocketAddress(mHost, mPort); in getSocketAddress()
223 return mPort; in getPort()
[all …]
DWebAddress.java56 private int mPort; field in WebAddress
85 mPort = -1; in WebAddress()
102 mPort = Integer.parseInt(t); in WebAddress()
125 if (mPort == 443 && mScheme.equals("")) { in WebAddress()
127 } else if (mPort == -1) { in WebAddress()
129 mPort = 443; in WebAddress()
131 mPort = 80; // default in WebAddress()
140 if ((mPort != 443 && mScheme.equals("https")) || in toString()
141 (mPort != 80 && mScheme.equals("http"))) { in toString()
142 port = ":" + Integer.toString(mPort); in toString()
[all …]
DIpSecManager.java549 private final int mPort; field in IpSecManager.UdpEncapsulationSocket
569 mPort = result.port; in UdpEncapsulationSocket()
587 return mPort; in getPort()
616 Log.e(TAG, "Failed to close UDP Encapsulation Socket with Port= " + mPort); in close()
640 .append(mPort) in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DProtocolPortTuple.java47 private final int mPort; field in ProtocolPortTuple
53 mPort = port; in ProtocolPortTuple()
77 return mPort; in getPort()
94 && mPort == that.mPort in equals()
100 return (mProtocol * 31 + mPort) * 31 + mStatus; in hashCode()
105 return "ProtocolTuple{" + "mProtocol=" + mProtocol + ", mPort=" + mPort in toString()
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareNetworkInfo.java50 private int mPort = 0; // a value of 0 is considered invalid field in WifiAwareNetworkInfo
61 mPort = port; in WifiAwareNetworkInfo()
84 return mPort; in getPort()
115 dest.writeInt(mPort); in writeToParcel()
157 ", port=").append(mPort).append(", transportProtocol=").append( in toString()
173 return Objects.equals(mIpv6Addr, lhs.mIpv6Addr) && mPort == lhs.mPort in equals()
180 return Objects.hash(mIpv6Addr, mPort, mTransportProtocol); in hashCode()
DWifiAwareNetworkSpecifier.java285 private int mPort = 0; // invalid value field in WifiAwareNetworkSpecifier.Builder
366 mPort = port; in setPort()
428 if (mPort != 0 || mTransportProtocol != -1) { in build()
443 null, mPmk, mPskPassphrase, mPort, mTransportProtocol); in build()
/frameworks/base/core/java/android/app/admin/
DConnectEvent.java38 private final int mPort; field in ConnectEvent
44 this.mPort = port; in ConnectEvent()
49 this.mPort = in.readInt(); in ConnectEvent()
66 return mPort; in getPort()
71 return String.format("ConnectEvent(%d, %s, %d, %d, %s)", mId, mIpAddress, mPort, mTimestamp, in toString()
101 out.writeInt(mPort); in writeToParcel()
/frameworks/base/media/java/android/media/
DAudioDeviceInfo.java318 private final AudioDevicePort mPort; field in AudioDeviceInfo
321 mPort = port; in AudioDeviceInfo()
329 return mPort; in getPort()
336 return mPort.handle().id(); in getId()
343 String portName = mPort.name(); in getProductName()
352 return mPort.address(); in getAddress()
359 return mPort.role() == AudioPort.ROLE_SOURCE; in isSource()
366 return mPort.role() == AudioPort.ROLE_SINK; in isSink()
375 return mPort.samplingRates(); in getSampleRates()
387 return mPort.channelMasks(); in getChannelMasks()
[all …]
DAudioPortConfig.java36 final AudioPort mPort; field in AudioPortConfig
59 mPort = port; in AudioPortConfig()
72 return mPort; in port()
105 return "{mPort:" + mPort in toString()
DAudioMixPortConfig.java41 return (AudioMixPort)mPort; in port()
DAudioDevicePortConfig.java46 return (AudioDevicePort)mPort; in port()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiHotplugEvent.java31 private final int mPort; field in HdmiHotplugEvent
42 mPort = port; in HdmiHotplugEvent()
52 return mPort; in getPort()
82 dest.writeInt(mPort); in writeToParcel()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java61 private int mPort = DEFAULT_PORT; field in SipProfile
111 mProfile.mPort = profile.getPort(); in Builder()
202 mProfile.mPort = port; in setPort()
293 if (mProfile.mPort != DEFAULT_PORT) { in build()
294 mUri.setPort(mProfile.mPort); in build()
322 mPort = in.readInt(); in SipProfile()
337 out.writeInt(mPort); in writeToParcel()
434 return mPort; in getPort()
502 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.java141 private int mPort; /* RFCOMM channel or L2CAP psm */ field in BluetoothSocket
219 mPort = port; in BluetoothSocket()
241 mPort = s.mPort; in BluetoothSocket()
394 mUuid, mPort, getSecurityFlags()); in connect()
408 mPort = channel; in connect()
435 if (DBG) Log.d(TAG, "bindListen(): mPort=" + mPort + ", mType=" + mType); in bindListen()
437 mUuid, mPort, getSecurityFlags()); in bindListen()
470 if (DBG) Log.d(TAG, "bindListen(): channel=" + channel + ", mPort=" + mPort); in bindListen()
471 if (mPort <= -1) { in bindListen()
472 mPort = channel; in bindListen()
[all …]
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java60 private int mPort; field in ProxyServer
324 mPort = -1; in ProxyServer()
367 mPort = port; in setPort()
371 if (mPort != -1) { in setCallback()
373 callback.setProxyPort(mPort); in setCallback()
399 return (mPort != -1); in isBound()
403 return mPort; in getPort()
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java50 private int mPort; field in NsdServiceInfo
93 return mPort; in getPort()
98 mPort = p; in setPort()
316 .append(", port: ").append(mPort); in toString()
340 dest.writeInt(mPort); in writeToParcel()
371 info.mPort = in.readInt();
/frameworks/base/services/core/java/com/android/server/pm/
DShareTargetInfo.java51 final String mPort; field in ShareTargetInfo.TargetData
61 mPort = port; in TargetData()
75 if (!TextUtils.isEmpty(mPort)) { in toStringInner()
76 strBuilder.append(" port=").append(mPort); in toStringInner()
135 ShortcutService.writeAttr(out, ATTR_PORT, mTargetData[i].mPort); in saveToXml()
/frameworks/base/media/native/midi/
Damidi.cpp305 MidiReceiver(AMIDI_Port *port) : mPort(port) {} in MidiReceiver()
309 mPort->state.store(MIDI_PORT_STATE_OPEN_IDLE); in ~MidiReceiver()
316 if (!mPort->state.compare_exchange_strong(portState, MIDI_PORT_STATE_OPEN_ACTIVE)) { in receive()
321 struct pollfd checkFds[1] = { { mPort->ufd, POLLIN, 0 } }; in receive()
328 ssize_t readCount = read(mPort->ufd, readBuffer, sizeof(readBuffer)); in receive()
350 AMIDI_Port *mPort; member in MidiReceiver
/frameworks/base/services/core/java/com/android/server/wm/
DViewServer.java74 private final int mPort; field in ViewServer
89 mPort = port; in ViewServer()
107 mServer = new ServerSocket(mPort, VIEW_SERVER_MAX_CONNECTIONS, InetAddress.getLocalHost()); in start()
108 mThread = new Thread(this, "Remote View Server [port=" + mPort + "]"); in start()
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java174 private final int mPort; field in SntpClientTest.SntpTestServer
183 mPort = mSocket.getLocalPort(); in SntpTestServer()
184 Log.d(TAG, "testing server listening on (" + mAddress + ", " + mPort + ")"); in SntpTestServer()
245 public int getPort() { return mPort; } in getPort()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DServerMain.java51 private final int mPort; field in ServerMain
55 mPort = port; in ServerMain()
60 return mPort; in getPort()
/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/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java189 private int mPort; field in AdbDebuggingManager.PairingThread
203 mPort = -1; in PairingThread()
213 mPort = native_pairing_start(mGuid, mPairingCode); in run()
214 if (mPort <= 0 || mPort > 65535) { in run()
223 serviceInfo.setPort(mPort); in run()
229 msg.obj = mPort; in run()
536 private int mPort; field in AdbDebuggingManager.AdbConnectionInfo
541 mPort = -1; in AdbConnectionInfo()
552 mPort = other.mPort; in AdbConnectionInfo()
564 return mPort; in getPort()
[all …]
/frameworks/base/core/java/android/content/
DIntentFilter.java1084 private final int mPort; field in IntentFilter.AuthorityEntry
1090 mPort = port != null ? Integer.parseInt(port) : -1; in AuthorityEntry()
1097 mPort = src.readInt(); in AuthorityEntry()
1104 dest.writeInt(mPort); in writeToParcel()
1112 proto.write(AuthorityEntryProto.PORT, mPort); in dumpDebug()
1121 return mPort; in getPort()
1132 if (mPort != other.mPort) { in match()
1192 if (!wildcardSupported && mPort >= 0) { in match()
1193 if (mPort != data.getPort()) { in match()
2182 sb.append(ae.mPort); in dump()

12