Searched refs:port (Results 51 - 75 of 123) sorted by relevance

12345

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java140 * @param port remote port
146 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException {
148 if (port < 1 || port > MAX_RFCOMM_CHANNEL) {
149 throw new IOException("Invalid RFCOMM channel: " + port);
159 mPort = port;
208 * @param port remote port
213 int port) throw
145 BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, BluetoothDevice device, int port, ParcelUuid uuid) argument
212 BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, int port) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.cpp83 status_t HDCP::initAsync(const char *host, unsigned port) { argument
90 return mHDCPModule->initAsync(host, port);
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.cpp32 UDPPusher::UDPPusher(const char *filename, unsigned port) argument
51 mRemoteAddr.sin_port = htons(port);
H A DARTPConnection.cpp124 for (unsigned port = start; port < 65536; port += 2) {
129 addr.sin_port = htons(port);
136 addr.sin_port = htons(port + 1);
140 *rtpPort = port;
H A DARTSPConnection.h46 const char *url, AString *host, unsigned *port, AString *path,
H A DARTSPConnection.cpp133 const char *url, AString *host, unsigned *port, AString *path,
136 *port = 0;
181 *port = x;
187 *port = 554;
235 unsigned port; local
236 if (!ParseURL(url.c_str(), &host, &port, &path, &mUser, &mPass)
280 remote.sin_port = htons(port);
132 ParseURL( const char *url, AString *host, unsigned *port, AString *path, AString *user, AString *pass) argument
/frameworks/base/core/java/android/net/
H A DPacProxySelector.java116 int port = Integer.parseInt(hostPort[1]);
117 return new Proxy(type, InetSocketAddress.createUnresolved(host, port));
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSurfaceHolderTarget.java106 protected void onInputPortOpen(InputPort port) { argument
107 super.connectViewInputs(port);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DApnSettingTest.java44 assertEquals(a1.port, a2.port);
142 99, "12345", "Name", "apn", "proxy", "port",
146 "mmsc, mmsproxy, mmsport, port, 0, default | *, " +
/frameworks/av/media/libmedia/
H A DIHDCP.cpp73 virtual status_t initAsync(const char *host, unsigned port) { argument
77 data.writeInt32(port);
219 unsigned port = data.readInt32(); local
221 reply->writeInt32(initAsync(host, port));
H A DIAudioPolicyService.cpp535 virtual status_t getAudioPort(struct audio_port *port) argument
537 if (port == NULL) {
542 data.write(port, sizeof(struct audio_port));
548 reply.read(port, sizeof(struct audio_port));
1078 struct audio_port port; local
1079 data.read(&port, sizeof(struct audio_port));
1080 status_t status = getAudioPort(&port);
1083 reply->write(&port, sizeof(struct audio_port));
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp107 PortInfo *port = editPortInfo(1); local
110 port->mBuffers.editItemAt(mNumSamplesOutput & 1).mHeader;
203 PortInfo *port = editPortInfo(1); local
204 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader;
/frameworks/av/media/libstagefright/include/
H A DSoftVideoEncoderOMXComponent.h81 OMX_COLOR_FORMATTYPE mColorFormat; // Color format for the input port
85 OMX_ERRORTYPE internalSetPortParams(const OMX_PARAM_PORTDEFINITIONTYPE* port);
/frameworks/base/core/java/android/os/
H A DCommonTimeUtils.java188 int port = 0;
195 port = reply.readInt();
207 port = reply.readInt();
220 ret_val = new InetSocketAddress(addrStr, port);
H A DINetworkManagementService.aidl330 void setFirewallEgressDestRule(String addr, int port, boolean allow);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPacManager.java322 public void setProxyPort(int port) throws RemoteException {
324 // Always need to send if port changed
327 mLastPort = port;
328 if (port != -1) {
329 Log.d(TAG, "Local proxy is bound on " + port);
332 Log.e(TAG, "Received invalid port from Local Proxy,"
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java53 /* 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/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java114 * @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.
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java124 public static final String EXTRA_PORT = "port";
232 * <p>{@code host} and {@code port} may be used to give the user
250 * @param port The port number of the server requesting the
257 String host, int port,
285 intent.putExtra(EXTRA_PORT, port);
255 choosePrivateKeyAlias(Activity activity, KeyChainAliasCallback response, String[] keyTypes, Principal[] issuers, String host, int port, String alias) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java43 * The default port used to start view servers.
77 * specified local port. The server is not started by default.
80 * @param port The port for the server to listen to.
84 ViewServer(WindowManagerService windowManager, int port) { argument
86 mPort = port;
105 mThread = new Thread(this, "Remote View Server [port=" + mPort + "]");
/frameworks/base/core/java/android/content/
H A DIntentFilter.java144 private static final String PORT_STR = "port";
214 * authority host and port.
660 public AuthorityEntry(String host, String port) { argument
664 mPort = port != null ? Integer.parseInt(port) : -1;
851 * @param port Optional port part of the authority to match. If null, any
852 * port is allowed.
857 public final void addDataAuthority(String host, String port) { argument
858 if (port !
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp209 msg->setInt32("server-port", ntohs(localAddr.sin_port));
211 msg->setInt32("client-port", ntohs(remoteAddr.sin_port));
856 const char *host, unsigned port, const sp<AMessage> &notify,
861 0 /* port */,
863 port,
869 const struct in_addr &addr, unsigned port,
874 port,
903 const struct in_addr &addr, unsigned port,
908 port,
965 unsigned port,
855 createRTSPClient( const char *host, unsigned port, const sp<AMessage> &notify, int32_t *sessionID) argument
868 createRTSPServer( const struct in_addr &addr, unsigned port, const sp<AMessage> &notify, int32_t *sessionID) argument
902 createTCPDatagramSession( const struct in_addr &addr, unsigned port, const sp<AMessage> &notify, int32_t *sessionID) argument
962 createClientOrServer( Mode mode, const struct in_addr *localAddr, unsigned port, const char *remoteHost, unsigned remotePort, const sp<AMessage> &notify, int32_t *sessionID) argument
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java158 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
/frameworks/base/media/java/android/media/
H A DAudioManager.java3485 * See AudioPort for a list of attributes of each audio port.
3570 public int setAudioPortGain(AudioPort port, AudioGainConfig gain) { argument
3571 if (port == null || gain == null) {
3574 AudioPortConfig activeConfig = port.activeConfig();
3575 AudioPortConfig config = new AudioPortConfig(port, activeConfig.samplingRate(),
3582 * Listener registered by client to be notified upon new audio port connections,
3588 * Callback method called upon audio port list update.
3606 * Register an audio port list update listener.
3614 * Unregister an audio port list update listener.
3693 // is responsible for dealing with the port chang
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.h173 virtual status_t getAudioPort(struct audio_port *port);
255 virtual void toAudioPort(struct audio_port *port) const;
257 void importAudioPort(const sp<AudioPort> port);
355 virtual void toAudioPort(struct audio_port *port) const;
498 void toAudioPort(struct audio_port *port) const;
545 void toAudioPort(struct audio_port *port) const;

Completed in 1451 milliseconds

12345