/packages/apps/Settings/src/com/android/settings/ |
D | ProxySelector.java | 126 mPortField = (EditText)view.findViewById(R.id.port); in initView() 146 int port = -1; in populateFields() local 155 port = proxy.getPort(); in populateFields() 165 String portStr = port == -1 ? "" : Integer.toString(port); in populateFields() 187 public static int validate(String hostname, String port, String exclList) { in validate() argument 188 switch (Proxy.validate(hostname, port, exclList)) { in validate() 216 int port = 0; in saveToDb() local 226 port = Integer.parseInt(portStr); in saveToDb() 232 ProxyInfo p = new ProxyInfo(hostname, port, exclList); in saveToDb()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | SSLSocketFactory.java | 286 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()
|
D | EmailClientConnectionManager.java | 67 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()
|
D | SSLSocketFactoryWrapper.java | 115 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()
|
D | Utility.java | 125 Integer port; in isPortFieldValid() 129 port = Integer.parseInt(chars.toString()); in isPortFieldValid() 133 return port > 0 && port < 65536; in isPortFieldValid()
|
D | CertificateRequestor.java | 46 int port = i.getIntExtra(EXTRA_PORT, -1); in onCreate() local 52 host, port, in onCreate()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | HostAuth.java | 354 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/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 1053 ParcelUuid uuid, int port, int flag) { in connectSocket() argument 1061 return service.connectSocket(device, type, uuid, port, flag); in connectSocket() 1065 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument 1073 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel() 1636 ParcelUuid uuid, int port, int flag) { in connectSocket() argument 1639 type, Utils.uuidToByteArray(uuid), port, flag); in connectSocket() 1648 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument 1651 Utils.uuidToByteArray(uuid), port, flag); in createSocketChannel() 1907 byte[] uuid, int port, int flag); in connectSocketNative() argument 1909 byte[] uuid, int port, int flag); in createSocketChannelNative() argument
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupOutgoingFragment.java | 258 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()
|
D | AccountSetupIncomingFragment.java | 397 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()
|
D | AccountSetupFinal.java | 888 ((recvAuth.mFlags & HostAuth.FLAG_SSL) != 0) ? info.portSsl : info.port; in finishAutoSetup()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | TestActivity.java | 460 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()
|
D | BluetoothOppTransfer.java | 516 public SocketConnectThread(String host, int port, int dummy) { in SocketConnectThread() argument 519 this.channel = port; in SocketConnectThread()
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
D | FmService.java | 1298 for (AudioPort port : ports) { in createAudioPatch() 1299 if (port instanceof AudioDevicePort) { in createAudioPatch() 1300 int type = ((AudioDevicePort) port).type(); in createAudioPatch() 1303 mAudioSource = (AudioDevicePort) port; in createAudioPatch() 1306 mAudioSink = (AudioDevicePort) port; in createAudioPatch() 1670 AudioPort sourcePort = sourceConfig.port(); in isPatchMixerToEarphone() 1671 AudioPort sinkPort = sinkConfig.port(); in isPatchMixerToEarphone() 1697 AudioPort sourcePort = sourceConfig.port(); in isPatchMixerToDeviceRemoved() 1698 AudioPort sinkPort = sinkConfig.port(); in isPatchMixerToDeviceRemoved()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 139 public static int validate(String hostname, String port, String exclList) { in validate() argument 150 if (hostname.length() > 0 && port.length() == 0) { in validate() 154 if (port.length() > 0) { in validate() 160 portVal = Integer.parseInt(port); in validate()
|
D | AdvancedWifiOptionsFlow.java | 361 int port = 0; in processProxySettings() local 364 port = Integer.parseInt(portStr); in processProxySettings() 370 mIpConfiguration.setHttpProxy(new ProxyInfo(host, port, exclusionList)); in processProxySettings()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipEditor.java | 77 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/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainActivity.java | 236 int port = getIntent().getIntExtra(KeyChain.EXTRA_PORT, -1); in displayCertChooserDialog() local 237 if (port != -1) { in displayCertChooserDialog() 238 hostString += ":" + port; in displayCertChooserDialog()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/resolver/ |
D | ResolverActivity.java | 341 int port = a.getPort(); in onIntentSelected() local 343 port >= 0 ? Integer.toString(port) : null); in onIntentSelected()
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
D | SmilMediaElementImpl.java | 225 public void setPort(String port) throws DOMException { in setPort() argument 226 this.setAttribute("port", port); in setPort()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 509 int port = 0; in ipAndProxyFieldsAreValid() local 512 port = Integer.parseInt(portStr); in ipAndProxyFieldsAreValid() 518 mHttpProxy = new ProxyInfo(host, port, exclusionList); in ipAndProxyFieldsAreValid()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 449 String port = parser.getAttributeValue(null, "port"); in getRow() local 450 if (port != null) { in getRow() 451 map.put(Telephony.Carriers.PORT, port); in getRow()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailServiceUtils.java | 190 public int port; field in EmailServiceUtils.EmailServiceInfo 575 info.port = ta.getInteger(R.styleable.EmailServiceInfo_port, 0); in getServiceMap()
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
D | SMILMediaElement.java | 90 public void setPort(String port) in setPort() argument
|
/packages/experimental/SELinux/CTS/src/ |
D | example_input_policy.conf | 157 sid port 4871 allow dnsmasq port:tcp_socket name_bind; 5264 allow drmserver port:tcp_socket name_connect; 6843 allow mtp port:tcp_socket name_connect; 7122 type port, port_type; 7499 allow racoon port:udp_socket name_bind; 9316 allow untrusted_app port:{ tcp_socket udp_socket } name_bind; 9776 sid port u:object_r:port:s0
|