/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 121 private int port = -1; field in class:MockWebServer 133 if (port == -1) throw new IllegalStateException("Call start() before getPort()"); 134 return port; 275 public void play(int port) throws IOException { 276 start(port); 285 * Starts the server on the loopback interface for the given port. 287 * @param port the port to listen to, or 0 for any available port. Automated 288 * tests should always use port 0 to avoid flakiness when a specific por [all...] |
/external/openssh/ |
channels.h | 43 #define SSH_CHANNEL_PORT_LISTENER 2 /* Listening on a port. */ 52 #define SSH_CHANNEL_RPORT_LISTENER 11 /* Listening to a R-style port */ 88 int port; member in struct:channel_connect 126 int listening_port; /* port being listened for forwards */ 128 int host_port; /* remote port to connect for forwards */
|
readconf.h | 39 int use_privileged_port; /* Don't use privileged port if false. */ 64 int port; /* Port to connect. */ member in struct:__anon17325
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/ |
DefaultRequestDirector.java | 898 int port = target.getPort(); local 1127 int port = host.getPort(); local [all...] |
/external/selinux/libsepol/cil/src/ |
cil_verify.c | 1082 struct cil_portcon *port = node->data; local 1083 struct cil_context *ctx = port->context; [all...] |
/external/tcpdump/ |
print-slow.c | 220 u_int8_t port[2]; member in struct:lacp_tlv_actor_partner_info_t 389 ", Port %u, Port Priority %u\n\t State Flags [%s]", 393 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->port), 412 printf("\n\t Request System %s, Request Port %u, Request Transaction ID 0x%08x",
|
/external/valgrind/auxprogs/ |
valgrind-di-server.c | 1073 int port = VG_CLO_DEFAULT_LOGPORT; local [all...] |
/frameworks/av/media/libmedia/ |
IAudioPolicyService.cpp | 550 virtual status_t getAudioPort(struct audio_port *port) 552 if (port == NULL) { 557 data.write(port, sizeof(struct audio_port)); 563 reply.read(port, sizeof(struct audio_port)); 1151 struct audio_port port; local [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
WifiDisplaySource.cpp | 153 unsigned long port; local 159 port = strtoul(s, &end, 10); 161 if (end == s || *end != '\0' || port > 65535) { 167 port = kWifiDisplayDefaultPort; 175 mInterfaceAddr, port, notify, &mSessionID); 249 "server-port", &mClientInfo.mLocalPort)); 958 value.c_str() + 8, "port", &hdcpPort) [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
WifiDisplayController.java | 732 final int port = getPortNumber(mConnectedDevice); local 733 final String iface = addr.getHostAddress() + ":" + port; [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
Filter.java | 30 * 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) { 709 InputPort port = mConnectedInputPortArray[i]; local [all...] |
/hardware/intel/common/wrs_omxil_core/base/src/ |
componentbase.cpp | 489 PortBase *port = NULL; local 496 port = ports[index]; 498 if (!port) 501 memcpy(p, port->GetPortDefinition(), sizeof(*p)); 560 PortBase *port = NULL; local 567 port = ports[index]; 569 if (!port) 572 if (port->IsEnabled()) { 592 ret = port->SetPortDefinition(p, false); 666 /* update output port definition * 939 PortBase *port = NULL; local 995 PortBase *port = NULL; local 1042 PortBase *port = NULL; local 1083 PortBase *port = NULL; local 1152 PortBase *port = NULL; local 1640 PortBase *port = NULL; local [all...] |
/hardware/invensense/6515/libsensors_iio/ |
MPLSensor.cpp | 152 char *port = NULL; local [all...] |
/hardware/qcom/msm8x84/kernel-headers/media/ |
msm_vpu.h | 195 __u32 port; member in struct:vpu_control_port
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
msm_vpu.h | 110 * The single integer passed by these commands specifies port type in the 137 * payload data: enum v4l2_buf_type (buffer type of flushed port) 396 * Port specific controls 400 __u32 port; /* 0: INPUT, 1: OUTPUT */ member in struct:vpu_control_port 407 * IDs for port controls (use in control_id field of struct vpu_control_port) 426 /* Flush all buffers of given type (port) */ 442 /* VPU port (input/output) specific controls get/set ioctls */
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXCameraAdapter.cpp | 83 ///Update the preview and image capture port indexes 88 //currently not supported use preview port instead 118 // Register for port enable event 129 // Enable PREVIEW Port 139 // Wait for the port enable event to occur 142 CAMHAL_LOGDA("-Port enable event arrived"); 149 CAMHAL_LOGEA("Timeout for enabling preview port expired!"); 348 OMXCameraPortParameters *port = NULL; local 376 port = getPortParams(frameType); 377 if ( NULL == port ) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
MulticastSocketTest.java | 118 int port = orig.getLocalPort(); local 121 MulticastSocket dup = new MulticastSocket(port); [all...] |
ServerSocketTest.java | 54 int port; field in class:ServerSocketTest.SSClient 57 port = prt; 64 cs = new Socket(InetAddress.getLocalHost().getHostName(), port); 136 fail("Was able to create two serversockets on same port"); 180 assertEquals("Bad local port value", localPort1, localPort2); 278 // Try a specific port number, but don't complain if we don't get it 284 // we could not get the port, give up 287 assertEquals("Returned incorrect port", portNumber, s 367 assertEquals("ServerSocket[addr=::/::,port=0,localport=" 854 protected void startClient(int port) { [all...] |
/libcore/luni/src/main/java/java/net/ |
URI.java | 45 * <tr><td>{@link #getPort() Port} </td><td>{@code 8080} </td><td></td></tr> 88 * has an authority, user info, host, port, path or query. An opaque URIs may 115 * <tr><td>Port </td><td>{@code 0-9} </td><td> </td><td> </td><td>{@code 80}</td></tr> 120 * A URI's host, port and scheme are not eligible for encoding and must not 186 private transient int port = -1; field in class:URI 235 public URI(String scheme, String userInfo, String host, int port, String path, String query, 253 if (userInfo != null || host != null || port != -1) { 270 if (port != -1) { 272 uri.append(port); 346 * info, host and port [all...] |
/libcore/luni/src/main/java/java/nio/ |
SocketChannelImpl.java | 126 int port = 0; local 129 port = connectAddress.getPort(); 131 socket = new SocketAdapter(new PlainSocketImpl(fd, localPort, addr, port), this); 182 int port = inetSocketAddress.getPort(); local 199 IoBridge.connect(fd, normalAddr, port); 276 int port = connectAddress.getPort(); local 277 finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
|
/libcore/luni/src/test/java/libcore/java/net/ |
SocketTest.java | 57 // Bind to an ephemeral local port. 60 // What local port did we get? 65 // The RI returns the ANY address but the original local port after close. 92 // Open a local server port. 98 // Open a socket to the local port. 161 // bind() and after close(), but the port will be the same as it was before close(). 246 Socket socket = new Socket("localhost", server.port); 268 Socket socket = new Socket("localhost", server.port); 392 private int port = -1; field in class:SocketTest.MockServer 398 port = serverSocket.getLocalPort() [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceUtils.java | 190 public int port; field in class:EmailServiceUtils.EmailServiceInfo 575 info.port = ta.getInteger(R.styleable.EmailServiceInfo_port, 0); [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupIncomingFragment.java | 150 // Updates the port when the user changes the security type. This allows 179 // Only allow digits in the port field. 397 final int port = recvAuth.mPort; local 398 if (port != HostAuth.PORT_UNKNOWN) { 399 mPortView.setText(Integer.toString(port)); 433 return useSsl ? mServiceInfo.portSsl : mServiceInfo.port; 460 final int port = getPortFromSecurityType(sslSelected); local 461 mPortView.setText(Integer.toString(port)); 571 LogUtils.d(LogUtils.TAG, "Non-integer server port; using '" + serverPort + "'"); 627 LogUtils.d(LogUtils.TAG, "Couldn't parse port %s", mPortView.getText()) [all...] |
AccountSetupOutgoingFragment.java | 128 // Updates the port when the user changes the security type. This allows 163 // Only allow digits in the port field. 258 final int port = sendAuth.mPort; local 259 if (port != -1) { 260 mPortView.setText(Integer.toString(port)); 311 final int port = getPortFromSecurityType(); local 312 mPortView.setText(Integer.toString(port)); 395 LogUtils.d(LogUtils.TAG, "Non-integer server port; using '" + serverPort + "'");
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/resolver/ |
ResolverActivity.java | 340 int port = a.getPort(); local 342 port >= 0 ? Integer.toString(port) : null);
|