Searched defs:port (Results 1 - 25 of 102) sorted by relevance

12345

/frameworks/base/tools/aapt2/link/
H A DProductFilter_test.cpp27 const ConfigDescription port = test::ParseConfigOrDie("port"); local
40 test::ParseNameOrDie("android:string/one"), port, "",
41 test::ValueBuilder<Id>().SetSource(Source("port/default.xml")).Build(),
44 test::ParseNameOrDie("android:string/one"), port, "tablet",
45 test::ValueBuilder<Id>().SetSource(Source("port/tablet.xml")).Build(),
56 &table, "android:string/one", port, ""));
58 &table, "android:string/one", port, "tablet"));
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioCollections.cpp30 sp<AudioPort> port = 0; local
33 port = itemAt(i);
37 return port;
/frameworks/base/core/java/org/apache/http/conn/scheme/
H A DLayeredSocketFactory.java60 * @param port the port on the host
73 int port,
70 createSocket( Socket socket, String host, int port, boolean autoClose ) argument
H A DSocketFactory.java83 * @param port the port to connect to on the host
86 * @param localPort the port on the local machine,
103 int port,
100 connectSocket( Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params ) argument
/frameworks/base/media/java/android/media/
H A DAudioDevicePortConfig.java35 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 DAudioMixPortConfig.java35 * Returns the audio mix port this AudioMixPortConfig is issued from.
37 public AudioMixPort port() { method in class:AudioMixPortConfig
H A DAudioPortConfig.java20 * 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
/frameworks/opt/net/voip/src/jni/rtp/
H A Dutil.cpp25 int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss) argument
31 if (port < 0 || port > 65535) {
32 jniThrowException(env, "java/lang/IllegalArgumentException", "port");
45 sin->sin_port = htons(port);
53 sin6->sin6_port = htons(port);
H A DRtpStream.cpp32 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss);
59 uint16_t port = ntohs(*p); local
60 if ((port & 1) == 0) {
62 return port;
68 uint16_t delta = port << 1;
69 ++port;
73 port += delta;
74 } while (port < 1024);
75 *p = htons(port);
79 return port;
[all...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiHotplugEvent.java24 * A class that describes the HDMI port hotplug event.
41 public HdmiHotplugEvent(int port, boolean connected) { argument
42 mPort = port;
47 * Returns the port number for which the event occurred.
49 * @return port number
97 int port = p.readInt();
99 return new HdmiHotplugEvent(port, connected);
/frameworks/base/core/java/android/webkit/
H A DWebMessagePort.java27 * <p>A Message port represents one endpoint of a Message Channel. In Android
33 * <p>When a message port is first created or received via transfer, it does not
37 * <p>A message port should be closed when it is not used by the embedder application
38 * anymore. A closed port cannot be transferred or cannot be reopened to send
41 * <p>When a port is transferred to JS, it cannot be used to send or receive messages
42 * at the Java side anymore. Different from HTML5 Spec, a port cannot be transferred
44 * posted on it. A transferred port cannot be closed by the application, since
65 * @param port the WebMessagePort that the message is destined for
66 * @param message the message from the entangled port.
68 public void onMessage(WebMessagePort port, WebMessag argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBranchFilter.java49 public void onInputPortOpen(InputPort port) { argument
50 if (port.getName().equals("input")) {
52 port.attachToOutputPort(outputPort);
54 } else if (port.getName().equals("synchronized")) {
55 port.bindToFieldNamed("mSynchronized");
56 port.setAutoPullEnabled(true);
77 for (OutputPort port : getConnectedOutputPorts()) {
78 port.setWaitsUntilAvailable(true);
81 for (OutputPort port : getConnectedOutputPorts()) {
82 port
[all...]
H A DBrightnessFilter.java65 public void onInputPortOpen(InputPort port) { argument
66 if (port.getName().equals("brightness")) {
67 port.bindToFieldNamed("mBrightness");
68 port.setAutoPullEnabled(true);
H A DRotateFilter.java52 public void onInputPortOpen(InputPort port) { argument
53 if (port.getName().equals("rotateAngle")) {
54 port.bindToFieldNamed("mRotateAngle");
55 port.setAutoPullEnabled(true);
56 } else if (port.getName().equals("sourceRect")) {
57 port.bindToFieldNamed("mSourceRect");
58 port.setAutoPullEnabled(true);
H A DScaleFilter.java46 public void onInputPortOpen(InputPort port) { argument
47 if (port.getName().equals("scale")) {
48 port.bindToFieldNamed("mScale");
49 port.setAutoPullEnabled(true);
50 } else if (port.getName().equals("useMipmaps")) {
51 port.bindToFieldNamed("mUseMipmaps");
52 port.setAutoPullEnabled(true);
H A DThroughputFilter.java49 public void onInputPortOpen(InputPort port) { argument
50 if (port.getName().equals("period")) {
51 port.bindToFieldNamed("mPeriod");
53 port.attachToOutputPort(getConnectedOutputPort("frame"));
H A DCropFilter.java62 public void onInputPortOpen(InputPort port) { argument
63 if (port.getName().equals("cropRect")) {
64 port.bindToFieldNamed("mCropRect");
65 port.setAutoPullEnabled(true);
66 } else if (port.getName().equals("outputWidth")) {
67 port.bindToFieldNamed("mOutputWidth");
68 port.setAutoPullEnabled(true);
69 } else if (port.getName().equals("outputHeight")) {
70 port.bindToFieldNamed("mOutputHeight");
71 port
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DWaveTriggerFilter.java51 public void onInputPortOpen(InputPort port) { argument
52 if (port.getName().equals("trigger")) {
53 port.bindToFieldNamed("mTrigger");
54 port.setAutoPullEnabled(true);
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DTestUtils.java34 public static void assertConnectionFails(SSLContext context, String host, int port) argument
37 Socket s = context.getSocketFactory().createSocket(host, port);
39 fail("Expected connection to " + host + ":" + port + " to fail.");
44 public static void assertConnectionSucceeds(SSLContext context, String host, int port) argument
46 Socket s = context.getSocketFactory().createSocket(host, port);
50 public static void assertUrlConnectionFails(SSLContext context, String host, int port) argument
52 URL url = new URL("https://" + host + ":" + port);
57 fail("Connection to " + host + ":" + port + " expected to fail");
63 public static void assertUrlConnectionSucceeds(SSLContext context, String host, int port) argument
65 URL url = new URL("https://" + host + ":" + port);
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.cpp32 UDPPusher::UDPPusher(const char *filename, unsigned port) argument
51 mRemoteAddr.sin_port = htons(port);
/frameworks/base/core/java/android/app/admin/
H A DConnectEvent.java33 /** The destination port number. */
34 private final int port; field in class:ConnectEvent
37 public ConnectEvent(String ipAddress, int port, String packageName, long timestamp) { argument
40 this.port = port;
45 this.port = in.readInt();
61 return port;
66 return String.format("ConnectEvent(%s, %d, %d, %s)", ipAddress, port, timestamp,
96 out.writeInt(port);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DProtocolPortTupleTest.java42 * @param port Port value
46 private ByteBuffer getTestBuffer(int protocol, int port, int status) { argument
50 buffer.putShort((short) port);
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp153 const PortInfo *port = local
156 memcpy(defParams, &port->mDef, sizeof(port->mDef));
185 PortInfo *port =
189 if (defParams->nBufferSize > port->mDef.nBufferSize) {
190 port->mDef.nBufferSize = defParams->nBufferSize;
193 if (defParams->nBufferCountActual < port->mDef.nBufferCountMin) {
195 port->mDef.nBufferCountMin, defParams->nBufferCountActual);
199 port->mDef.nBufferCountActual = defParams->nBufferCountActual;
239 PortInfo *port
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java81 * @param port remote port
85 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) argument
87 mChannel = port;
88 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
89 if (port == BluetoothAdapter.SOCKET_CHANNEL_AUTO_STATIC_NO_SDP) {
99 * @param port remote port
105 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port, argument
108 mChannel = port;
[all...]
/frameworks/base/services/net/java/android/net/util/
H A DIpUtils.java142 public static String addressAndPortToString(InetAddress address, int port) { argument
145 address.getHostAddress(), port);
148 public static boolean isValidUdpOrTcpPort(int port) { argument
149 return port > 0 && port < 65536;

Completed in 504 milliseconds

12345