Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/
DProxySelector.java140 mPortField = (EditText)view.findViewById(R.id.port); in initView()
160 int port = -1; in populateFields() local
169 port = proxy.getPort(); in populateFields()
179 String portStr = port == -1 ? "" : Integer.toString(port); in populateFields()
201 public static int validate(String hostname, String port, String exclList) { in validate() argument
212 if (hostname.length() > 0 && port.length() == 0) { in validate()
216 if (port.length() > 0) { in validate()
222 portVal = Integer.parseInt(port); in validate()
241 int port = 0; in saveToDb() local
251 port = Integer.parseInt(portStr); in saveToDb()
[all …]
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupExchangeFragment.java262 int port = useSsl ? PORT_SSL : PORT_NORMAL; in getPortFromSecurityType() local
263 return port; in getPortFromSecurityType()
267 int port = getPortFromSecurityType(); in updatePortFromSecurityType() local
268 mPortView.setText(Integer.toString(port)); in updatePortFromSecurityType()
319 int port = hostAuth.mPort; in loadSettings() local
320 if (port != HostAuth.PORT_UNKNOWN) { in loadSettings()
321 mPortView.setText(Integer.toString(port)); in loadSettings()
449 int port; in onNext() local
451 port = Integer.parseInt(portText); in onNext()
454 port = mSslSecurityView.isChecked() ? 443 : 80; in onNext()
[all …]
DAccountSetupOutgoingFragment.java274 int port = sendAuth.mPort; in loadSettings() local
275 if (port != -1) { in loadSettings()
276 mPortView.setText(Integer.toString(port)); in loadSettings()
316 int port = (securityType & HostAuth.FLAG_SSL) != 0 ? SMTP_PORT_SSL : SMTP_PORT_NORMAL; in getPortFromSecurityType() local
317 return port; in getPortFromSecurityType()
321 int port = getPortFromSecurityType(); in updatePortFromSecurityType() local
322 mPortView.setText(Integer.toString(port)); in updatePortFromSecurityType()
DAccountSetupIncomingFragment.java365 int port = recvAuth.mPort; in loadSettings() local
366 if (port != HostAuth.PORT_UNKNOWN) { in loadSettings()
367 mPortView.setText(Integer.toString(port)); in loadSettings()
398 int port = useSsl ? IMAP_PORT_SSL : IMAP_PORT_NORMAL; // default to IMAP in getPortFromSecurityType() local
400 port = useSsl ? POP3_PORT_SSL : POP3_PORT_NORMAL; in getPortFromSecurityType()
402 return port; in getPortFromSecurityType()
406 int port = getPortFromSecurityType(); in updatePortFromSecurityType() local
407 mPortView.setText(Integer.toString(port)); in updatePortFromSecurityType()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailClientConnectionManager.java63 int port) { in newInstance() argument
69 ssl ? STANDARD_PORT : port)); in newInstance()
72 SSLUtils.getHttpSocketFactory(false, keyManager), ssl ? port : STANDARD_SSL_PORT)); in newInstance()
76 ssl ? port : STANDARD_SSL_PORT)); in newInstance()
DSSLSocketFactory.java284 final int port, in connectSocket() argument
316 remoteAddress = new InetSocketAddress(nameResolver.resolve(host), port); in connectSocket()
318 remoteAddress = new InetSocketAddress(host, port); in connectSocket()
376 final int port, in createSocket() argument
382 port, in createSocket()
DCertificateRequestor.java45 int port = i.getIntExtra(EXTRA_PORT, -1); in onCreate() local
50 host, port, in onCreate()
DUtility.java174 Integer port; in isPortFieldValid()
178 port = Integer.parseInt(chars.toString()); in isPortFieldValid()
182 return port > 0 && port < 65536; in isPortFieldValid()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java241 public void setConnection(String protocol, String address, int port, int flags) { in setConnection() argument
242 setConnection(protocol, address, port, flags, null); in setConnection()
256 int port, int flags, String clientCertAlias) { in setConnection() argument
269 mPort = port; in setConnection()
423 public void setConnection(String scheme, String host, int port) { in setConnection() argument
438 setConnection(protocol, host, port, flags, clientCertAlias); in setConnection()
/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.java516 public SocketConnectThread(String host, int port, int dummy) { in SocketConnectThread() argument
519 this.channel = port; in SocketConnectThread()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java81 int port = defaultPort; in SmtpSender() local
83 port = sendAuth.mPort; in SmtpSender()
87 mTransport.setPort(port); in SmtpSender()
DMailTransport.java116 public void setPort(int port) { in setPort() argument
117 mPort = port; in setPort()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java841 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
849 return service.connectSocket(device, type, uuid, port, flag); in connectSocket()
853 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
861 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel()
1284 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1287 type, Utils.uuidToByteArray(uuid), port, flag); in connectSocket()
1296 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1299 Utils.uuidToByteArray(uuid), port, flag); in createSocketChannel()
1377 byte[] uuid, int port, int flag); in connectSocketNative() argument
1379 byte[] uuid, int port, int flag); in createSocketChannelNative() argument
/packages/apps/Email/src/com/android/email/mail/
DTransport.java65 public void setPort(int port); in setPort() argument
/packages/apps/Mms/src/org/w3c/dom/smil/
DSMILMediaElement.java90 public void setPort(String port) in setPort() argument
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilMediaElementImpl.java224 public void setPort(String port) throws DOMException { in setPort() argument
225 this.setAttribute("port", port); in setPort()
/packages/apps/Phone/src/com/android/phone/sip/
DSipEditor.java86 Port(R.string.port, R.string.default_port, R.string.default_port),
343 int port = Integer.parseInt(PreferenceKey.Port.getValue()); in validateAndSetResult() local
344 if ((port < 1000) || (port > 65534)) { in validateAndSetResult()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java237 int port = getIntent().getIntExtra(KeyChain.EXTRA_PORT, -1); in displayCertChooserDialog() local
238 if (port != -1) { in displayCertChooserDialog()
239 hostString += ":" + port; in displayCertChooserDialog()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java124 int port = defaultPort; in ImapStore() local
126 port = recvAuth.mPort; in ImapStore()
130 mTransport.setPort(port); in ImapStore()
DPop3Store.java119 int port = defaultPort; in Pop3Store() local
121 port = recvAuth.mPort; in Pop3Store()
125 mTransport.setPort(port); in Pop3Store()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java268 String port = parser.getAttributeValue(null, "port"); in getRow() local
269 if (port != null) { in getRow()
270 map.put(Telephony.Carriers.PORT, port); in getRow()
/packages/apps/Browser/src/com/android/browser/
DTab.java586 int port;
589 port = -1;
593 port = Integer.parseInt(portString);
597 port = -1;
609 }, null, null, host, port, null);
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DMockTransport.java247 public void setPort(int port) { in setPort() argument
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java416 int port = 0; in ipAndProxyFieldsAreValid() local
419 port = Integer.parseInt(portStr); in ipAndProxyFieldsAreValid()
425 ProxyProperties proxyProperties= new ProxyProperties(host, port, exclusionList); in ipAndProxyFieldsAreValid()

12