Searched refs:port (Results 26 - 50 of 123) sorted by relevance

12345

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilter.java146 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 DFilterGraph.java95 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/core/java/android/net/
H A DWebAddress.java40 * 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...]
H A DProxyInfo.java69 * 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 DNetwork.java134 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 DSSLCertificateSocketFactory.java434 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...]
/frameworks/base/tests/CoreTests/android/core/
H A DSocketTest.java53 int port;
59 for (port = 9900; port < 9999; port++) {
61 ss.bind(new InetSocketAddress("127.0.0.1", port));
73 s = new Socket("127.0.0.1", port);
217 * ip 209.85.129.147 (one address of www.google.com) on port 80 (http) is
H A DSSLSocketTest.java70 * @param port The port the request is being sent to.
78 private void fetch(SSLSocketFactory socketFactory, String host, int port, argument
81 InetSocketAddress address = new InetSocketAddress(host, port);
180 private void fetch(String host, int port, boolean secure, String path, argument
183 fetch(clientFactory, host, port, secure, path, outerLoop, innerLoop,
617 * port, requests client authentication (if specified), and read 256 bytes
632 private int port; field in class:SSLSocketTest.TestServer
638 public TestServer(int port, boolean provideKeys, int clientAuth) { argument
639 this.port
711 private int port; field in class:SSLSocketTest.TestClient
715 TestClient(int port, boolean provideKeys) argument
988 getSessionData(String host, int port) argument
1078 getSessionData(String host, int port) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.h29 UDPPusher(const char *filename, unsigned port);
H A DARTPSession.cpp65 unsigned port; local
66 if (!validateMediaFormat(i, &port) || (port & 1) != 0) {
77 int rtpSocket = MakeUDPSocket(port);
78 int rtcpSocket = MakeUDPSocket(port + 1);
100 int ARTPSession::MakeUDPSocket(unsigned port) { argument
108 addr.sin_port = htons(port);
198 bool ARTPSession::validateMediaFormat(size_t index, unsigned *port) const {
228 *port = x;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DStatsFilter.java74 public void onInputPortOpen(InputPort port) { argument
75 if (port.getName().equals("cropRect")) {
76 port.bindToFieldNamed("mCropRect");
77 port.setAutoPullEnabled(true);
H A DFilter.java30 * TODO: More documentation on filter life-cycle, port and type checking, GL and RenderScript, ...
198 * Returns the input port with the given name.
202 * @return the input port with the specified name, or null if no connected input port
210 * Returns the output port with the given name.
214 * @return the output port with the specified name, or null if no connected output port
222 * Called when an input port has been attached in the graph.
228 * @param port The InputPort instance that was attached.
230 protected void onInputPortAttached(InputPort port) { argument
242 onOutputPortAttached(OutputPort port) argument
254 onInputPortOpen(InputPort port) argument
266 onOutputPortOpen(OutputPort port) argument
[all...]
H A DInputPort.java26 * {@link #pullFrame()} on an input port. If the input port is set to wait for an input frame
27 * (see {@link #setWaitsForFrame(boolean)}), there is guaranteed to be Frame on the port before
31 * InputPorts may be bound to fields of the Filter. When an input port is bound to a field, Frame
32 * values will be assigned to the field once a Frame is received on that port. The Frame value must
48 public void onFrameReceived(InputPort port, Frame frame); argument
59 public void onFrameReceived(InputPort port, Frame frame) { argument
61 if(port.mInfo.type.getNumberOfDimensions() > 0) {
76 * Attach this input port to an output port fo
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_hdmi_HdmiCecController.cpp65 void setAudioReturnChannel(int port, bool flag);
66 // Whether to hdmi device is connected to the given port.
67 bool isConnected(int port);
165 jint port = event.port_id; local
168 gHdmiCecControllerClassInfo.handleHotplug, port, connected);
263 void HdmiCecController::setAudioReturnChannel(int port, bool enabled) { argument
264 mDevice->set_audio_return_channel(mDevice, port, enabled ? 1 : 0);
267 // Whether to hdmi device is connected to the given port.
268 bool HdmiCecController::isConnected(int port) { argument
269 return mDevice->is_connected(mDevice, port)
376 nativeSetAudioReturnChannel(JNIEnv* env, jclass clazz, jlong controllerPtr, jint port, jboolean enabled) argument
382 nativeIsConnected(JNIEnv* env, jclass clazz, jlong controllerPtr, jint port) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp172 const OMX_PARAM_PORTDEFINITIONTYPE *port) {
173 if (port->nPortIndex == kInputPortIndex) {
174 mWidth = port->format.video.nFrameWidth;
175 mHeight = port->format.video.nFrameHeight;
178 mFramerate = port->format.video.xFramerate;
180 if (port->format.video.eCompressionFormat != OMX_VIDEO_CodingUnused
181 || (port->format.video.eColorFormat != OMX_COLOR_FormatYUV420Planar
182 && port->format.video.eColorFormat != OMX_COLOR_FormatYUV420SemiPlanar
183 && port->format.video.eColorFormat != OMX_COLOR_FormatAndroidOpaque)) {
187 mColorFormat = port
171 internalSetPortParams( const OMX_PARAM_PORTDEFINITIONTYPE *port) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java334 * @param port ID of HDMI port to which AVR is connected
338 void setAudioReturnChannel(int port, boolean enabled) { argument
340 nativeSetAudioReturnChannel(mNativePtr, port, enabled);
344 * Return the connection status of the specified port
346 * @param port port number to check connection status
350 boolean isConnected(int port) { argument
352 return nativeIsConnected(mNativePtr, port);
612 private void handleHotplug(int port, boolea argument
637 nativeSetAudioReturnChannel(long controllerPtr, int port, boolean flag) argument
638 nativeIsConnected(long controllerPtr, int port) argument
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipProfile.java191 * Sets the port number of the server. By default, it is 5060.
193 * @param port port number of the server
195 * @throws IllegalArgumentException if the port number is out of range
197 public Builder setPort(int port) throws IllegalArgumentException { argument
198 if ((port > 65535) || (port < 1000)) {
199 throw new IllegalArgumentException("incorrect port arugment: " + port);
201 mProfile.mPort = port;
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnSetting.java39 public final String port; field in class:ApnSetting
89 String proxy, String port,
100 this.port = port;
135 * <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
140 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
145 * [ApnSettingV3] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
277 .append(", ").append(port)
88 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) argument
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pWfdInfo.java127 public void setControlPort(int port) { argument
128 mCtrlPort = port;
/frameworks/av/include/media/
H A DIHDCP.h43 // on the specified port.
44 virtual status_t initAsync(const char *host, unsigned port) = 0;
57 // "storeMetaDataInBuffers" extension is enabled on its output port.
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.h31 virtual status_t initAsync(const char *host, unsigned port);
/frameworks/av/services/audioflinger/
H A DPatchPanel.h34 /* Get supported attributes for a given audio port */
35 status_t getAudioPort(struct audio_port *port);
48 /* Set audio port configuration */
/frameworks/base/core/java/android/bluetooth/
H A DIBluetooth.aidl89 ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in ParcelUuid uuid, int port, int flag);
90 ParcelFileDescriptor createSocketChannel(int type, in String serviceName, in ParcelUuid uuid, int port, int flag);
/frameworks/base/media/java/android/media/
H A DAudioDevice.java121 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();
/frameworks/native/include/media/hardware/
H A DHDCPAPI.h39 // holds the local TCP port the module is listening on.
69 // "storeMetaDataInBuffers" extension is enabled on its output port.
81 // by addr and listening on the specified port.
83 // address the module should bind its socket to. port will be 0.
84 // The module will pick the port to listen on itself and report its choice
86 virtual status_t initAsync(const char *addr, unsigned port) = 0;

Completed in 1886 milliseconds

12345