/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ThroughputFilter.java | 49 public void onInputPortOpen(InputPort port) { argument 50 if (port.getName().equals("period")) { 51 port.bindToFieldNamed("mPeriod"); 53 port.attachToOutputPort(getConnectedOutputPort("frame"));
|
H A D | ViewFilter.java | 121 protected void connectViewInputs(InputPort port) { argument 122 if (port.getName().equals("scaleMode")) { 123 port.bindToListener(mScaleModeListener); 124 port.setAutoPullEnabled(true); 125 } else if (port.getName().equals("flip")) { 126 port.bindToFieldNamed("mFlipVertically"); 127 port.setAutoPullEnabled(true); 142 public void onFrameReceived(InputPort port, Frame frame) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | WaveTriggerFilter.java | 51 public void onInputPortOpen(InputPort port) { argument 52 if (port.getName().equals("trigger")) { 53 port.bindToFieldNamed("mTrigger"); 54 port.setAutoPullEnabled(true);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 70 * @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...] |
H A D | SocketTest.java | 53 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 D | TestWebServer.java | 53 /* Default port for this server to listen on */ 73 /* Server port */ 103 * Initialize a new server with default port and timeout. 112 * @param port Sets the server to listen on this port 115 public void initServer(int port, boolean log) throws Exception { argument 116 initServer(port, DEFAULT_TIMEOUT, log); 120 * Initialize a new server with default port and timeout. 121 * @param port Sets the server to listen on this port 126 initServer(int port, int timeout, boolean log) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pWfdInfo.java | 127 public void setControlPort(int port) { argument 128 mCtrlPort = port;
|
/frameworks/compile/libbcc/gdb_plugin/ |
H A D | android-commands.py | 432 # TODO: handle possibility that port 8700 is in use (may help with 472 # Forward port for java debugger to Dalvik 498 + " port=" + str(self.gdbserver_port) + ") ==--" 500 # Forward port for gdbserver 507 print "--==GDB Plugin requested attach (port=" \ 518 def start_jdb(self, port): 524 "com.sun.jdi.SocketAttach:hostname=localhost,port=" + str(port)]
|
/frameworks/native/include/media/hardware/ |
H A D | HDCPAPI.h | 39 // 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;
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | RtpStream.java | 64 * port is assigned automatically to conform with RFC 3550. 85 * Returns the network port of the local host. 100 * Returns the network port of the remote host or {@code -1} if the stream 147 * @param port The network port of the remote host. 149 * port is invalid. 153 public void associate(InetAddress address, int port) { argument 161 if (port < 0 || port > 65535) { 162 throw new IllegalArgumentException("Invalid port"); [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 114 * @param port The first transport port used by this media. 118 public Media newMedia(String type, int port, int portCount, argument 120 Media media = new Media(type, port, portCount, protocol); 244 private Media(String type, int port, int portCount, String protocol) { argument 247 mPort = port; 260 * Returns the first transport port used by this media.
|
H A D | SipProfile.java | 191 * 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/net/voip/src/java/com/android/server/sip/ |
H A D | SipHelper.java | 158 String ip, int port) throws ParseException, 164 ip, port); 184 String ip, int port) throws ParseException { 187 uri.setPort(port); 319 // in resolving the initiator's NAT port mapping for relaying the 157 createContactHeader(SipProfile profile, String ip, int port) argument 183 createSipUri(String username, String transport, String ip, int port) argument
|
H A D | SipSessionGroup.java | 150 int port = mLocalProfile.getPort(); 155 server + ':' + port + '/' + protocol); 167 socket.connect(remote, port); 170 port = socket.getLocalPort(); 193 mSipStack.createListeningPoint(local, port, protocol)); 1712 int port = uri.getPort(); 1716 if (port > 0) builder.setPort(port);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 54 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss); 73 // proxies. A firewall might remove a port mapping when there is no outgoing
|
H A D | RtpStream.cpp | 32 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...] |
H A D | util.cpp | 25 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);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | InboundSmsHandler.java | 621 // The message was sent to a port. 623 if (DBG) log("destination port: " + destPort); 712 // Read the destination port from the first segment (needed for CDMA WAP PDU). 713 // It's not a bad idea to prefer the port from the first segment in other cases. 715 int port = cursor.getInt(DESTINATION_PORT_COLUMN); 716 // strip format flags and convert to real port number, or -1 717 port = InboundSmsTracker.getRealDestPort(port); 718 if (port != -1) { 719 destPort = port; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnSetting.java | 39 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
|
H A D | DataConnection.java | 507 + "' proxy='" + mApnSetting.proxy + "' port='" + mApnSetting.port + "'");
|
H A D | DcTracker.java | 1872 String port = apn.port; 1873 if (TextUtils.isEmpty(port)) port = "8080"; 1875 Integer.parseInt(port), null); 1879 apn.port + "): " + e); 2357 xorEquals(first.port, second.port) && 2385 String port = (TextUtils.isEmpty(dest.port) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | ApnSettingTest.java | 44 assertEquals(a1.port, a2.port); 142 99, "12345", "Name", "apn", "proxy", "port", 146 "mmsc, mmsproxy, mmsport, port, 0, default | *, " +
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewContentsClientAdapter.java | 793 String[] keyTypes, Principal[] principals, String host, int port) { 798 mPort = port; 842 String[] keyTypes, Principal[] principals, String host, int port) { 846 keyTypes, principals, host, port); 791 ClientCertRequestImpl( AwContentsClientBridge.ClientCertificateRequestCallback callback, String[] keyTypes, Principal[] principals, String host, int port) argument 840 onReceivedClientCertRequest( AwContentsClientBridge.ClientCertificateRequestCallback callback, String[] keyTypes, Principal[] principals, String host, int port) argument
|