/frameworks/base/core/java/android/net/ |
H A D | Network.java | 134 private Socket connectToHost(String host, int port, SocketAddress localAddress) argument 143 socket.connect(new InetSocketAddress(hostAddresses[i], port)); 153 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException { argument 154 return connectToHost(host, port, new InetSocketAddress(localHost, localPort)); 158 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, argument 162 socket.connect(new InetSocketAddress(address, port)); 167 public Socket createSocket(InetAddress host, int port) throws IOException { argument 169 socket.connect(new InetSocketAddress(host, port)); 174 public Socket createSocket(String host, int port) throws IOException { argument 175 return connectToHost(host, port, nul [all...] |
H A D | PacProxySelector.java | 116 int port = Integer.parseInt(hostPort[1]); 117 return new Proxy(type, InetSocketAddress.createUnresolved(host, port));
|
H A D | Proxy.java | 134 * @deprecated Use standard java vm proxy values to find the host, port 148 * Return the proxy port set by the user. 149 * @param ctx A Context used to get the settings for the proxy port. 150 * @return The port number to use or -1 if no proxy is to be used. 151 * @deprecated Use standard java vm proxy values to find the host, port 168 * @deprecated Use standard java vm proxy values to find the host, port and 179 * Return the default proxy port specified by the carrier. 180 * @return The port number to be used with the proxy host or -1 if there is 182 * @deprecated Use standard java vm proxy values to find the host, port and 239 * Validate syntax of hostname, port an 242 validate(String hostname, String port, String exclList) argument 281 setHttpProxySystemProperty(String host, String port, String exclList, Uri pacFileUrl) argument [all...] |
H A D | ProxyInfo.java | 69 * on the specified host and port. 71 public static ProxyInfo buildDirectProxy(String host, int port) { argument 72 return new ProxyInfo(host, port, null); 77 * on the specified host and port. 84 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { argument 86 return new ProxyInfo(host, port, TextUtils.join(",", array), array); 101 public ProxyInfo(String host, int port, String exclList) { argument 103 mPort = port; 147 private ProxyInfo(String host, int port, String exclList, String[] parsedExclList) { argument 149 mPort = port; [all...] |
H A D | SSLCertificateSocketFactory.java | 434 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { argument 435 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close); 472 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) argument 475 addr, port, localAddr, localPort); 491 public Socket createSocket(InetAddress addr, int port) throws IOException { argument 492 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(addr, port); 507 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) argument 510 host, port, localAddr, localPort); 528 public Socket createSocket(String host, int port) throws IOException { argument 529 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port); [all...] |
H A D | Uri.java | 204 * {@code [ userinfo '@' ] host [ ':' port ]} 215 * {@code [ userinfo '@' ] host [ ':' port ]} 251 * Gets the port from the authority for this URI. For example, 254 * @return the port for this URI or -1 if invalid or not present 326 * default port explicitly and the other leaves it implicit, they will not 1086 // Parse out user info and then port. 1097 private volatile int port = NOT_CALCULATED; field in class:Uri.AbstractHierarchicalUri 1100 return port == NOT_CALCULATED 1101 ? port = parsePort() 1102 : port; [all...] |
H A D | WebAddress.java | 40 * If given an https scheme but no port, fills in port 64 /* port */ "(?:\\:([0-9]*))?" + 97 throw new ParseException("Bad port"); 116 /* Get port from scheme or scheme from port, if necessary and 131 String port = ""; 134 port = ":" + Integer.toString(mPort); 141 return mScheme + "://" + authInfo + mHost + port + mPath; 165 public void setPort(int port) { argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | CommonTimeUtils.java | 188 int port = 0; 195 port = reply.readInt(); 207 port = reply.readInt(); 220 ret_val = new InetSocketAddress(addrStr, port);
|
H A D | Debug.java | 475 * Change the JDWP port. 480 public static void changeDebugPort(int port) {} argument
|
H A D | INetworkManagementService.aidl | 330 void setFirewallEgressDestRule(String addr, int port, boolean allow);
|
/frameworks/base/core/java/android/text/style/ |
H A D | TtsSpan.java | 137 * protocol://username:password@domain:port/path?query_string#fragment_id 418 * Argument used to specify the port number of a URI. Should be specified as 422 public static final String ARG_PORT = "android.arg.port"; 1384 public ElectronicBuilder setPort(int port) { argument 1385 return setIntArgument(TtsSpan.ARG_PORT, port);
|
/frameworks/base/core/java/android/view/ |
H A D | IWindowManager.aidl | 56 boolean startViewServer(int port); // Transaction #1
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 658 int port = a.getPort(); 660 port >= 0 ? Integer.toString(port) : null);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyChain.java | 124 public static final String EXTRA_PORT = "port"; 232 * <p>{@code host} and {@code port} may be used to give the user 250 * @param port The port number of the server requesting the 257 String host, int port, 285 intent.putExtra(EXTRA_PORT, port); 255 choosePrivateKeyAlias(Activity activity, KeyChainAliasCallback response, String[] keyTypes, Principal[] issuers, String host, int port, String alias) argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioDevice.java | 121 return (mConfig.port().role() == AudioPort.ROLE_SOURCE); 130 return (mConfig.port().role() == AudioPort.ROLE_SINK); 139 return INT_TO_EXT_DEVICE_MAPPING.get(mConfig.port().type(), TYPE_UNKNOWN); 148 return mConfig.port().address();
|
H A D | AudioDevicePortConfig.java | 35 this(config.port(), config.samplingRate(), config.channelMask(), config.format(), 40 * Returns the audio device port this AudioDevicePortConfig is issued from. 42 public AudioDevicePort port() { method in class:AudioDevicePortConfig
|
H A D | AudioManager.java | 3485 * See AudioPort for a list of attributes of each audio port. 3570 public int setAudioPortGain(AudioPort port, AudioGainConfig gain) { argument 3571 if (port == null || gain == null) { 3574 AudioPortConfig activeConfig = port.activeConfig(); 3575 AudioPortConfig config = new AudioPortConfig(port, activeConfig.samplingRate(), 3582 * Listener registered by client to be notified upon new audio port connections, 3588 * Callback method called upon audio port list update. 3606 * Register an audio port list update listener. 3614 * Unregister an audio port list update listener. 3693 // is responsible for dealing with the port chang [all...] |
H A D | AudioMixPortConfig.java | 35 * Returns the audio mix port this AudioMixPortConfig is issued from. 37 public AudioMixPort port() { method in class:AudioMixPortConfig
|
H A D | AudioPortConfig.java | 20 * An AudioPortConfig contains a possible configuration of an audio port chosen 48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, argument 50 mPort = port; 59 * Returns the audio port this AudioPortConfig is issued from. 61 public AudioPort port() { method in class:AudioPortConfig 87 * The gain configuration if this port supports gain control, null otherwise
|
H A D | AudioService.java | 4843 for (AudioPort port : ports) { 4844 if (port instanceof AudioDevicePort) { 4845 final AudioDevicePort devicePort = (AudioDevicePort) port;
|
H A D | MediaPlayer.java | 2449 * aahRX://<multicastIP>:<port> 2456 * @param endpoint the address and UDP port of the re-transmission target or 2468 int port = 0; 2472 port = endpoint.getPort(); 2475 int ret = native_setRetransmitEndpoint(addrString, port); 2481 private native final int native_setRetransmitEndpoint(String addrString, int port); argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaPlayer.cpp | 788 jstring addrString, jint port) { 804 cAddrString ? cAddrString : "(null)", port); 807 if (cAddrString && (port > 0xFFFF)) { 811 static_cast<uint16_t>(port)); 787 android_media_MediaPlayer_setRetransmitEndpoint(JNIEnv *env, jobject thiz, jstring addrString, jint port) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Filter.java | 146 FilterPort port = getInputPort(inputName); 147 if (!port.isOpen()) { 148 port.open(); 150 port.setFrame(frame); 224 throw new NullPointerException("Attempting to access input port '" + portName 229 throw new IllegalArgumentException("Unknown input port '" + portName + "' on filter " 237 throw new NullPointerException("Attempting to access output port '" + portName 242 throw new IllegalArgumentException("Unknown output port '" + portName + "' on filter " 250 if (mLogVerbose) Log.v(TAG, "Default-setting output Frame timestamp on port " + name + " to " + mCurrentTimestamp); 260 if (mLogVerbose) Log.v(TAG, "Default-setting current timestamp from input port " [all...] |
H A D | FilterGraph.java | 95 throw new RuntimeException("Unknown output port '" + outputName + "' on Filter " + 98 throw new RuntimeException("Unknown input port '" + inputName + "' on Filter " + 182 for (InputPort port : filter.getInputPorts()) { 183 Filter dependency = port.getSourceFilter(); 209 for (OutputPort port : filter.getOutputPorts()) { 210 Filter target = port.getTargetFilter(); 241 if (mLogVerbose) Log.v(TAG, "Type checking port " + inputPort); 280 for (OutputPort port : filter.getOutputPorts()) { 281 if (!port.isConnected()) { 282 if (mLogVerbose) Log.v(TAG, "Autoconnecting unconnected " + port [all...] |
/frameworks/base/packages/services/Proxy/com/android/net/ |
H A D | IProxyPortListener.aidl | 21 oneway void setProxyPort(int port);
|