Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DProxyInfo.java42 private int mPort; field in ProxyInfo
96 mPort = port; in ProxyInfo()
107 mPort = LOCAL_PORT; in ProxyInfo()
121 mPort = LOCAL_PORT; in ProxyInfo()
132 mPort = localProxyPort; in ProxyInfo()
142 mPort = port; in ProxyInfo()
155 mPort = source.getPort(); in ProxyInfo()
170 inetSocketAddress = new InetSocketAddress(mHost, mPort); in getSocketAddress()
196 return mPort; in getPort()
231 mPort == 0 ? "" : Integer.toString(mPort), in isValid()
[all …]
DWebAddress.java50 private int mPort; field in WebAddress
78 mPort = -1; in WebAddress()
95 mPort = Integer.parseInt(t); in WebAddress()
118 if (mPort == 443 && mScheme.equals("")) { in WebAddress()
120 } else if (mPort == -1) { in WebAddress()
122 mPort = 443; in WebAddress()
124 mPort = 80; // default in WebAddress()
132 if ((mPort != 443 && mScheme.equals("https")) || in toString()
133 (mPort != 80 && mScheme.equals("http"))) { in toString()
134 port = ":" + Integer.toString(mPort); in toString()
[all …]
/frameworks/base/media/java/android/media/
DAudioDeviceInfo.java119 private final AudioDevicePort mPort; field in AudioDeviceInfo
122 mPort = port; in AudioDeviceInfo()
129 return mPort.handle().id(); in getId()
136 String portName = mPort.name(); in getProductName()
146 return mPort.address(); in getAddress()
153 return mPort.role() == AudioPort.ROLE_SOURCE; in isSource()
160 return mPort.role() == AudioPort.ROLE_SINK; in isSink()
169 return mPort.samplingRates(); in getSampleRates()
181 return mPort.channelMasks(); in getChannelMasks()
192 return mPort.channelIndexMasks(); in getChannelIndexMasks()
[all …]
DAudioPortConfig.java33 final AudioPort mPort; field in AudioPortConfig
50 mPort = port; in AudioPortConfig()
62 return mPort; in port()
96 return "{mPort:" + mPort in toString()
DAudioMixPortConfig.java38 return (AudioMixPort)mPort; in port()
DAudioDevicePortConfig.java43 return (AudioDevicePort)mPort; in port()
/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/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/wifi/service/java/com/android/server/wifi/anqp/
DHSConnectionCapabilityElement.java22 private final int mPort; field in HSConnectionCapabilityElement.ProtocolTuple
30 mPort = payload.getShort() & Constants.SHORT_MASK; in ProtocolTuple()
42 return mPort;
53 ", mPort=" + mPort +
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java128 private int mPort; /* RFCOMM channel or L2CAP psm */ field in BluetoothSocket
202 mPort = port; in BluetoothSocket()
223 mPort = s.mPort; in BluetoothSocket()
363 mUuid, mPort, getSecurityFlags()); in connect()
377 mPort = channel; in connect()
405 mUuid, mPort, getSecurityFlags()); in bindListen()
432 if (mPort <= -1) { in bindListen()
433 mPort = channel; in bindListen()
559 if (DBG) Log.d(TAG, "close() in, this: " + this + ", channel: " + mPort + ", state: " in close()
570 if (DBG) Log.d(TAG, "close() this: " + this + ", channel: " + mPort + in close()
[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()
314 .append(", port: ").append(mPort); in toString()
338 dest.writeInt(mPort); in writeToParcel()
369 info.mPort = in.readInt();
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java147 private final int mPort; field in SntpClientTest.SntpTestServer
156 mPort = mSocket.getLocalPort(); in SntpTestServer()
157 Log.d(TAG, "testing server listening on (" + mAddress + ", " + mPort + ")"); in SntpTestServer()
218 public int getPort() { return mPort; } in getPort()
/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/java/android/content/
DIntentFilter.java854 private final int mPort; field in IntentFilter.AuthorityEntry
860 mPort = port != null ? Integer.parseInt(port) : -1; in AuthorityEntry()
867 mPort = src.readInt(); in AuthorityEntry()
874 dest.writeInt(mPort); in writeToParcel()
882 return mPort; in getPort()
893 if (mPort != other.mPort) { in match()
934 if (mPort >= 0) { in match()
935 if (mPort != data.getPort()) { in match()
1734 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()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h69 virtual sp<AudioPort> getAudioPort() const { return mPort; } in getAudioPort()
77 sp<AudioPort> mPort; variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp36 : mPort(port), mDevice(AUDIO_DEVICE_NONE), in AudioOutputDescriptor()
59 return mPort->getModuleHandle(); in getModuleHandle()
181 mPort->toAudioPort(port); in toAudioPort()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp67 jfieldID mPort; member
645 jobject jAudioPort = env->GetObjectField(jAudioPortConfig, gAudioPortConfigFields.mPort); in convertAudioPortConfigToNative()
1837 gAudioPortConfigFields.mPort = GetFieldIDOrDie(env, audioPortConfigClass, "mPort", in register_android_media_AudioSystem()