Home
last modified time | relevance | path

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

123

/packages/apps/Settings/src/com/android/settings/
DProxySelector.java128 mPortField = (EditText)view.findViewById(R.id.port); in initView()
148 int port = -1; in populateFields() local
157 port = proxy.getPort(); in populateFields()
167 String portStr = port == -1 ? "" : Integer.toString(port); in populateFields()
189 public static int validate(String hostname, String port, String exclList) { in validate() argument
190 switch (Proxy.validate(hostname, port, exclList)) { in validate()
218 int port = 0; in saveToDb() local
228 port = Integer.parseInt(portStr); in saveToDb()
234 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/
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()
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()
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/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/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/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java125 String port = ""; in toString() local
128 port = ":" + Integer.toString(mPort); in toString()
135 return mScheme + "://" + authInfo + mHost + port + mPath; in toString()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DTelephonyMangerCompat.java35 int port, in sendVisualVoicemailSms() argument
48 return (String) method.invoke(telephonyManager, number, port, text, sentIntent); in sendVisualVoicemailSms()
68 method.invoke(null, context, phoneAccountHandle, number, (short) port, text, sentIntent); in sendVisualVoicemailSms()
/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()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java112 Port(R.string.port, R.string.default_port, R.string.default_port),
363 int port; in validateAndSetResult() local
365 port = Integer.parseInt(PreferenceKey.Port.getValue()); in validateAndSetResult()
370 if ((port < 1000) || (port > 65534)) { in validateAndSetResult()
/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/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1240 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1248 return service.connectSocket(device, type, uuid, port, flag); in connectSocket()
1252 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1260 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel()
1857 BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1860 Utils.uuidToByteArray(uuid), port, flag, Binder.getCallingUid()); in connectSocket()
1869 int type, String serviceName, ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1872 type, serviceName, Utils.uuidToByteArray(uuid), port, flag, Binder.getCallingUid()); in createSocketChannel()
2302 byte[] address, int type, byte[] uuid, int port, int flag, int callingUid); in connectSocketNative() argument
2304 int type, String serviceName, byte[] uuid, int port, int flag, int callingUid); in createSocketChannelNative() argument
/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/BuiltInPrintService/jni/ipphelper/
Dipp_print.c28 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port,
77 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port, in _init() argument
96 int ippPortNumber = ((port == IPP_PORT) ? ippPort() : port); in _init()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensResolverActivity.java257 int port = a.getPort(); in buildIntentFilterForResolveInfo() local
259 port >= 0 ? Integer.toString(port) : null); in buildIntentFilterForResolveInfo()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapStore.java57 int port, in ImapStore() argument
65 mTransport = new MailTransport(context, this.getImapHelper(), network, serverName, port, flags); in ImapStore()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DBackend.java271 native int nativeGetCapabilities(String address, int port, String httpResource,
307 native int nativeStartJob(String address, int port, String mime_type, LocalJobParams jobParams,
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java119 int port = Integer.parseInt(mPrefs.getString(OmtpConstants.IMAP_PORT, null)); in ImapHelper() local
124 port = sslPort; in ImapHelper()
129 new ImapStore(context, this, username, password, port, serverName, auth, network); in ImapHelper()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java72 int port, in MailTransport() argument
78 mPort = port; in MailTransport()

123