/frameworks/av/media/libstagefright/omx/ |
D | SimpleSoftOMXComponent.cpp | 134 const PortInfo *port = in internalGetParameter() local 137 memcpy(defParams, &port->mDef, sizeof(port->mDef)); in internalGetParameter() 161 PortInfo *port = in internalSetParameter() local 164 if (defParams->nBufferSize != port->mDef.nBufferSize) { in internalSetParameter() 165 CHECK_GE(defParams->nBufferSize, port->mDef.nBufferSize); in internalSetParameter() 166 port->mDef.nBufferSize = defParams->nBufferSize; in internalSetParameter() 170 != port->mDef.nBufferCountActual) { in internalSetParameter() 172 port->mDef.nBufferCountMin); in internalSetParameter() 174 port->mDef.nBufferCountActual = defParams->nBufferCountActual; in internalSetParameter() 216 PortInfo *port = &mPorts.editItemAt(portIndex); in useBuffer() local [all …]
|
/frameworks/base/voip/jni/rtp/ |
D | RtpStream.cpp | 32 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss); 59 uint16_t port = ntohs(*p); in create() local 60 if ((port & 1) == 0) { in create() 62 return port; in create() 68 uint16_t delta = port << 1; in create() 69 ++port; in create() 73 port += delta; in create() 74 } while (port < 1024); in create() 75 *p = htons(port); in create() 79 return port; in create()
|
D | util.cpp | 25 int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss) in parse() argument 31 if (port < 0 || port > 65535) { in parse() 45 sin->sin_port = htons(port); in parse() 53 sin6->sin6_port = htons(port); in parse()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Filter.java | 147 FilterPort port = getInputPort(inputName); in setInputFrame() local 148 if (!port.isOpen()) { in setInputFrame() 149 port.open(); in setInputFrame() 151 port.setFrame(frame); in setInputFrame() 315 InputPort port = new StreamPort(this, name); in addMaskedInputPort() local 316 if (mLogVerbose) Log.v(TAG, "Filter " + this + " adding " + port); in addMaskedInputPort() 317 mInputPorts.put(name, port); in addMaskedInputPort() 318 port.setPortFormat(formatMask); in addMaskedInputPort() 331 OutputPort port = new OutputPort(this, name); in addOutputPort() local 332 if (mLogVerbose) Log.v(TAG, "Filter " + this + " adding " + port); in addOutputPort() [all …]
|
D | FilterGraph.java | 182 for (InputPort port : filter.getInputPorts()) { in readyForProcessing() 183 Filter dependency = port.getSourceFilter(); in readyForProcessing() 209 for (OutputPort port : filter.getOutputPorts()) { in runTypeCheck() 210 Filter target = port.getTargetFilter(); in runTypeCheck() 280 for (OutputPort port : filter.getOutputPorts()) { in discardUnconnectedOutputs() 281 if (!port.isConnected()) { in discardUnconnectedOutputs() 282 … if (mLogVerbose) Log.v(TAG, "Autoconnecting unconnected " + port + " to Null filter."); in discardUnconnectedOutputs() 286 port.connectTo(nullFilter.getInputPort("frame")); in discardUnconnectedOutputs()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPSession.cpp | 65 unsigned port; in setup() local 66 if (!validateMediaFormat(i, &port) || (port & 1) != 0) { in setup() 77 int rtpSocket = MakeUDPSocket(port); in setup() 78 int rtcpSocket = MakeUDPSocket(port + 1); in setup() 100 int ARTPSession::MakeUDPSocket(unsigned port) { in MakeUDPSocket() argument 108 addr.sin_port = htons(port); in MakeUDPSocket() 198 bool ARTPSession::validateMediaFormat(size_t index, unsigned *port) const { in validateMediaFormat() 228 *port = x; in validateMediaFormat()
|
D | ARTPSession.h | 61 bool validateMediaFormat(size_t index, unsigned *port) const; 62 static int MakeUDPSocket(unsigned port);
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 249 public static void validate(String hostname, String port, String exclList) { in validate() argument 261 if (hostname.length() > 0 && port.length() == 0) { in validate() 265 if (port.length() > 0) { in validate() 271 portVal = Integer.parseInt(port); in validate() 326 String port = null; in setHttpProxySystemProperty() local 330 port = Integer.toString(p.getPort()); in setHttpProxySystemProperty() 333 setHttpProxySystemProperty(host, port, exclList); in setHttpProxySystemProperty() 337 public static final void setHttpProxySystemProperty(String host, String port, String exclList) { in setHttpProxySystemProperty() argument 339 if (false) Log.d(TAG, "setHttpProxySystemProperty :"+host+":"+port+" - "+exclList); in setHttpProxySystemProperty() 347 if (port != null) { in setHttpProxySystemProperty() [all …]
|
D | SSLCertificateSocketFactory.java | 327 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { in createSocket() argument 328 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close); in createSocket() 361 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) in createSocket() argument 364 addr, port, localAddr, localPort); in createSocket() 378 public Socket createSocket(InetAddress addr, int port) throws IOException { in createSocket() argument 379 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(addr, port); in createSocket() 392 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) in createSocket() argument 395 host, port, localAddr, localPort); in createSocket() 411 public Socket createSocket(String host, int port) throws IOException { in createSocket() argument 412 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port); in createSocket()
|
D | WebAddress.java | 125 String port = ""; in toString() local 128 port = ":" + Integer.toString(mPort); in toString() 135 return mScheme + "://" + authInfo + mHost + port + mPath; in toString() 154 public void setPort(int port) { in setPort() argument 155 mPort = port; in setPort()
|
D | ProxyProperties.java | 40 public ProxyProperties(String host, int port, String exclList) { in ProxyProperties() argument 42 mPort = port; in ProxyProperties() 46 private ProxyProperties(String host, int port, String exclList, String[] parsedExclList) { in ProxyProperties() argument 48 mPort = port; in ProxyProperties() 202 int port = 0; 205 port = in.readInt(); 210 new ProxyProperties(host, port, exclList, parsedExclList);
|
/frameworks/base/voip/java/android/net/rtp/ |
D | RtpStream.java | 153 public void associate(InetAddress address, int port) { in associate() argument 161 if (port < 0 || port > 65535) { in associate() 165 mRemotePort = port; in associate()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/ |
D | ForwarderManager.java | 64 int port; in getHostSchemePort() local 68 port = HTTPS_PORT; in getHostSchemePort() 71 port = HTTP_PORT; in getHostSchemePort() 76 url = new URL(protocol, HOST_IP, port, "/"); in getHostSchemePort()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | SocketTest.java | 53 int port; in testSocketSimple() local 59 for (port = 9900; port < 9999; port++) { in testSocketSimple() 61 ss.bind(new InetSocketAddress("127.0.0.1", port)); in testSocketSimple() 73 s = new Socket("127.0.0.1", port); in testSocketSimple()
|
D | SSLSocketTest.java | 78 private void fetch(SSLSocketFactory socketFactory, String host, int port, in fetch() argument 81 InetSocketAddress address = new InetSocketAddress(host, port); in fetch() 180 private void fetch(String host, int port, boolean secure, String path, in fetch() argument 183 fetch(clientFactory, host, port, secure, path, outerLoop, innerLoop, in fetch() 632 private int port; field in SSLSocketTest.TestServer 638 public TestServer(int port, boolean provideKeys, int clientAuth) { in TestServer() argument 639 this.port = port; in TestServer() 668 serverSocket.bind(new InetSocketAddress(port)); in run() 711 private int port; field in SSLSocketTest.TestClient 715 public TestClient(int port, boolean provideKeys) { in TestClient() argument [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 131 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException { in BluetoothSocket() argument 133 if (port < 1 || port > MAX_RFCOMM_CHANNEL) { in BluetoothSocket() 134 throw new IOException("Invalid RFCOMM channel: " + port); in BluetoothSocket() 138 mPort = port; in BluetoothSocket() 176 int port) throws IOException { in BluetoothSocket() argument 177 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null); in BluetoothSocket()
|
D | BluetoothServerSocket.java | 82 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) in BluetoothServerSocket() argument 84 mChannel = port; in BluetoothServerSocket() 85 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket()
|
/frameworks/base/core/java/android/hardware/ |
D | SerialManager.java | 77 SerialPort port = new SerialPort(name); in openSerialPort() local 78 port.open(pfd, speed); in openSerialPort() 79 return port; in openSerialPort()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ApnSetting.java | 29 public final String port; field in ApnSetting 55 String proxy, String port, in ApnSetting() argument 64 this.port = port; in ApnSetting() 166 .append(", ").append(port) in toString()
|
/frameworks/av/media/libaah_rtp/ |
D | aah_rx_player.cpp | 91 uint16_t port; in setDataSource() local 101 if (5 != sscanf(url, "%*[^:/]://%u.%u.%u.%u:%hu", &a, &b, &c, &d, &port)) { in setDataSource() 106 if ((a > 255) || (b > 255) || (c > 255) || (d > 255) || (port == 0)) { in setDataSource() 111 ALOGI("setDataSource :: %u.%u.%u.%u:%hu", a, b, c, d, port); in setDataSource() 117 listen_addr_.sin_port = htons(port); in setDataSource()
|
D | aah_tx_sender.cpp | 217 uint16_t port = port32; in onSendPacket() local 220 doSendPacket_l(packet, Endpoint(ipAddr, port)); in onSendPacket() 246 addr.sin_port = endpoint.port; in doSendPacket_l() 523 , port(0) { } in Endpoint() 527 , port(p) {} in Endpoint() 531 (addr == other.addr && port < other.port)); in operator <()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | AdditionalTextOutput.java | 56 int port = 0; in appendExceededDbQuotaMessage() local 63 port = url.getPort(); in appendExceededDbQuotaMessage() 72 output.append(protocol + ", " + host + ", " + port + "} "); in appendExceededDbQuotaMessage()
|
/frameworks/base/docs/html/tools/debugging/ |
D | index.jd | 24 port so it can communicate with the application VMs on your devices. The main components that 52 a VM. Each application runs in a VM and exposes a unique port that you can attach a debugger to 53 via DDMS. If you want to debug multiple applications, attaching to each port might become 54 tedious, so DDMS provides a port forwarding feature that can forward a specific VM's debugging 55 … port to port 8700. You can switch freely from application to application by highlighting it in the 56 …Devices tab of DDMS. DDMS forwards the appropriate port to port 8700. Most modern Java IDEs includ… 77 <p>Each application VM on the device or emulator exposes a debugging port that you can attach to 78 via DDMS. DDMS can forward any of these ports to a static debugging port (typically port 8700) by 80 attach to this static debugging port and debug all the applications that are running on the
|
D | debugging-projects-cmdline.jd | 52 <li>Attach your debugger to the debugging port 8700, or to the specific port shown for the 58 <p>DDMS assigns a specific debugging port to every virtual machine that it finds on the 59 emulator. You must either attach your IDE to that port (listed on the Info tab for that VM), or 60 you can use a default port 8700 to connect to whatever application is currently selected on the
|
/frameworks/base/voip/java/android/net/sip/ |
D | SipProfile.java | 197 public Builder setPort(int port) throws IllegalArgumentException { in setPort() argument 198 if ((port > 65535) || (port < 1000)) { in setPort() 199 throw new IllegalArgumentException("incorrect port arugment: " + port); in setPort() 201 mProfile.mPort = port; in setPort()
|