Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/
DProxyInfo.java47 private final int mPort; field in ProxyInfo
111 mPort = port; in ProxyInfo()
123 mPort = LOCAL_PORT; in ProxyInfo()
138 mPort = localProxyPort; in ProxyInfo()
157 mPort = port; in ProxyInfo()
169 mPort = source.getPort(); in ProxyInfo()
175 mPort = 0; in ProxyInfo()
188 inetSocketAddress = new InetSocketAddress(mHost, mPort); in getSocketAddress()
214 return mPort; in getPort()
240 mPort == 0 ? "" : Integer.toString(mPort), in isValid()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareNetworkInfo.java51 private final int mPort; field in WifiAwareNetworkInfo
57 mPort = 0; // a value of 0 is considered invalid in WifiAwareNetworkInfo()
64 mPort = 0; // a value of 0 is considered invalid in WifiAwareNetworkInfo()
71 mPort = port; in WifiAwareNetworkInfo()
77 mPort = source != null ? source.mPort : 0; in WifiAwareNetworkInfo()
100 return mPort; in getPort()
131 dest.writeInt(mPort); in writeToParcel()
173 ", port=").append(mPort).append(", transportProtocol=").append( in toString()
189 return Objects.equals(mIpv6Addr, lhs.mIpv6Addr) && mPort == lhs.mPort in equals()
196 return Objects.hash(mIpv6Addr, mPort, mTransportProtocol); in hashCode()
DWifiAwareNetworkSpecifier.java293 private int mPort = 0; // invalid value field in WifiAwareNetworkSpecifier.Builder
403 mPort = port; in setPort()
462 if (mPort != 0 || mTransportProtocol != -1) { in build()
479 null, mPmk, mPskPassphrase, mPort, mTransportProtocol); in build()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java46 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()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepClient.java38 private final int mPort; field in SnepClient
51 mPort = SnepServer.DEFAULT_PORT; in SnepClient()
60 mPort = -1; in SnepClient()
69 mPort = SnepServer.DEFAULT_PORT; in SnepClient()
78 mPort = -1; in SnepClient()
87 mPort = -1; in SnepClient()
149 if (mPort == -1) { in connect()
153 if (DBG) Log.d(TAG, "about to connect to port " + mPort); in connect()
154 socket.connectToSap(mPort); in connect()
/packages/modules/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()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbBackend.java58 private UsbPort mPort; field in UsbBackend
132 if (mPort != null) { in setPowerRole()
133 mPort.setRoles(role, newDataRole); in setPowerRole()
151 if (mPort != null) { in setDataRole()
152 mPort.setRoles(newPowerRole, role); in setDataRole()
157 return mPort != null && mPortStatus != null in areAllRolesSupported()
218 mPort = null; in updatePorts()
227 mPort = ports.get(i); in updatePorts()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DDtaSnepClient.java53 private final int mPort; field in DtaSnepClient
66 mPort = DEFAULT_PORT; in DtaSnepClient()
75 mPort = -1; in DtaSnepClient()
288 if (mPort == -1) { in connect()
292 if (DBG) Log.d(TAG, "about to connect to port " + mPort); in connect()
293 socket.connectToSap(mPort); in connect()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditor.java94 EditTextPreference mPort; field in ApnEditor
442 return mPort; in getPreferenceFromFieldName()
501 mPort.setEnabled(false); in disableAllFields()
532 mPort.setText(mApnData.getString(PORT_INDEX)); in fillUI()
606 mPort.setSummary(checkNull(mPort.getText())); in fillUI()
974 checkNotSet(mPort.getText()), in validateAndSaveApnData()
1278 mPort = (EditTextPreference) findPreference("apn_http_port"); in initApnEditorUi()
/packages/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java55 private int mPort; field in AdbIpAddressPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/apn/
DApnEditorTest.java530 mApnEditorUT.mPort = new EditTextPreference(context); in setMockPreference()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1182 Landroid/net/ProxyInfo;->mPort:I