Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/
DProxySelector.java122 mPortField = (EditText)view.findViewById(R.id.port); in initView()
142 int port = -1; in populateFields() local
151 port = proxy.getPort(); in populateFields()
161 String portStr = port == -1 ? "" : Integer.toString(port); in populateFields()
183 public static int validate(String hostname, String port, String exclList) { in validate() argument
184 switch (Proxy.validate(hostname, port, exclList)) { in validate()
212 int port = 0; in saveToDb() local
222 port = Integer.parseInt(portStr); in saveToDb()
228 ProxyInfo p = new ProxyInfo(hostname, port, exclList); in saveToDb()
/packages/services/Car/tests/carservice_test/src/android/media/tests/
DAudioPolicyTest.java81 for (AudioPort port : ports) { in dumpAudioPorts()
82 Log.i(TAG, "port:" + port.toString() + " name:" + port.name()); in dumpAudioPorts()
109 for (AudioPort port : portList) { in onAudioPortListUpdate()
110 Log.i(TAG, "port:" + port.toString() + " name:" + port.name()); in onAudioPortListUpdate()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailClientConnectionManager.java67 int port = hostAuth.mPort; in newInstance() local
72 ssl ? STANDARD_PORT : port)); in newInstance()
76 ssl ? port : STANDARD_SSL_PORT)); in newInstance()
80 ssl ? port : STANDARD_SSL_PORT)); in newInstance()
DSSLSocketFactory.java286 final int port, in connectSocket() argument
318 remoteAddress = new InetSocketAddress(nameResolver.resolve(host), port); in connectSocket()
320 remoteAddress = new InetSocketAddress(host, port); in connectSocket()
380 final int port, in createSocket() argument
386 port, in createSocket()
DSSLSocketFactoryWrapper.java115 public Socket createSocket(final Socket socket, final String host, final int port, in createSocket() argument
117 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(socket, host, port, autoClose); in createSocket()
127 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() argument
128 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(host, port); in createSocket()
DCertificateRequestor.java46 int port = i.getIntExtra(EXTRA_PORT, -1); in onCreate() local
52 host, port, in onCreate()
DUtility.java125 Integer port; in isPortFieldValid()
129 port = Integer.parseInt(chars.toString()); in isPortFieldValid()
133 return port > 0 && port < 65536; in isPortFieldValid()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java127 String port = ""; in toString() local
130 port = ":" + Integer.toString(mPort); in toString()
137 return mScheme + "://" + authInfo + mHost + port + mPath; in toString()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java354 public void setConnection(String protocol, String address, int port, int flags) { in setConnection() argument
355 setConnection(protocol, address, port, flags, null); in setConnection()
369 int port, int flags, String clientCertAlias) { in setConnection() argument
382 mPort = port; in setConnection()
547 public void setConnection(String scheme, String host, int port) { in setConnection() argument
562 setConnection(protocol, host, port, flags, clientCertAlias); in setConnection()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java100 public static int validate(String hostname, String port, String exclList) { in validate() argument
111 if (hostname.length() > 0 && port.length() == 0) { in validate()
115 if (port.length() > 0) { in validate()
121 portVal = Integer.parseInt(port); in validate()
DAdvancedWifiOptionsFlow.java358 int port = 0; in processProxySettings() local
361 port = Integer.parseInt(portStr); in processProxySettings()
367 mIpConfiguration.setHttpProxy(new ProxyInfo(host, port, exclusionList)); in processProxySettings()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dinsituparsing.dot19 <td>"</td><td port="a">m</td><td>s</td><td>g</td><td bgcolor="yellow">\\0</td>
21 <td>"</td><td port="b">H</td><td>e</td><td>l</td><td>l</td><td>o</td><td bgcolor="yellow">\\n</td><…
23 <td>"</td><td port="c" bgcolor="yellow">s</td><td bgcolor="yellow">t</td><td bgcolor="yellow">a</td…
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java258 final int port = sendAuth.mPort; in loadSettings() local
259 if (port != -1) { in loadSettings()
260 mPortView.setText(Integer.toString(port)); in loadSettings()
311 final int port = getPortFromSecurityType(); in updatePortFromSecurityType() local
312 mPortView.setText(Integer.toString(port)); in updatePortFromSecurityType()
DAccountSetupIncomingFragment.java397 final int port = recvAuth.mPort; in loadSettings() local
398 if (port != HostAuth.PORT_UNKNOWN) { in loadSettings()
399 mPortView.setText(Integer.toString(port)); in loadSettings()
433 return useSsl ? mServiceInfo.portSsl : mServiceInfo.port; in getPortFromSecurityType()
460 final int port = getPortFromSecurityType(sslSelected); in updatePortFromSecurityType() local
461 mPortView.setText(Integer.toString(port)); in updatePortFromSecurityType()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java460 static final int port = 6500; field in TestTcpServer
467 updateStatus("[server:] listen on port " + port); in run()
468 TestTcpSessionNotifier rsn = new TestTcpSessionNotifier(port); in run()
567 public TestTcpSessionNotifier(int port) throws IOException { in TestTcpSessionNotifier() argument
568 server = new ServerSocket(port); in TestTcpSessionNotifier()
DBluetoothOppTransfer.java518 public SocketConnectThread(String host, int port, int dummy) { in SocketConnectThread() argument
521 this.channel = port; in SocketConnectThread()
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapStore.java54 public ImapStore(Context context, ImapHelper helper, String username, String password, int port, in ImapStore() argument
61 network, serverName, port, flags); in ImapStore()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java101 public BaseApn(final String mmsc, final String proxy, final int port) { in BaseApn() argument
104 mMmsProxyPort = port; in BaseApn()
369 final int port = gservices.getInt(BugleGservicesKeys.MMS_PROXY_PORT, -1); in loadFromGservices() local
370 final Apn apn = BaseApn.from("mms", mmsc, proxy, Integer.toString(port)); in loadFromGservices()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java76 Port(R.string.port, R.string.default_port, R.string.default_port),
335 int port = Integer.parseInt(PreferenceKey.Port.getValue()); in validateAndSetResult() local
336 if ((port < 1000) || (port > 65534)) { in validateAndSetResult()
/packages/services/Telephony/src/com/android/phone/common/mail/
DMailTransport.java71 int port, int flags) { in MailTransport() argument
76 mPort = port; in MailTransport()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1321 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1329 return service.connectSocket(device, type, uuid, port, flag); in connectSocket()
1333 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1341 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel()
2092 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
2095 type, Utils.uuidToByteArray(uuid), port, flag, Binder.getCallingUid()); in connectSocket()
2104 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
2107 Utils.uuidToByteArray(uuid), port, flag, Binder.getCallingUid()); in createSocketChannel()
2553 byte[] uuid, int port, int flag, int callingUid); in connectSocketNative() argument
2555 byte[] uuid, int port, int flag, int callingUid); in createSocketChannelNative() argument
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
DImapHelper.java96 int port = Integer.parseInt( in ImapHelper() local
105 port = 993; in ImapHelper()
110 context, this, username, password, port, serverName, auth, network); in ImapHelper()
/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultApnSettingsLoader.java90 public BaseApn(final String mmsc, final String proxy, final int port) { in BaseApn() argument
93 mMmsProxyPort = port; in BaseApn()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java190 public int port; field in EmailServiceUtils.EmailServiceInfo
575 info.port = ta.getInteger(R.styleable.EmailServiceInfo_port, 0); in getServiceMap()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java642 int port = 0; in ipAndProxyFieldsAreValid() local
645 port = Integer.parseInt(portStr); in ipAndProxyFieldsAreValid()
651 mHttpProxy = new ProxyInfo(host, port, exclusionList); in ipAndProxyFieldsAreValid()

12