Searched refs:ports (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
H A DWebMessage.java43 * @param ports the ports that are sent with the message.
45 public WebMessage(String data, WebMessagePort[] ports) { argument
47 mPorts = ports;
58 * Returns the ports that are sent with the message, or {@code null} if no port
/frameworks/support/webkit/src/main/java/androidx/webkit/
H A DWebMessageCompat.java42 * @param ports the ports that are sent with the message.
44 public WebMessageCompat(@Nullable String data, @Nullable WebMessagePortCompat[] ports) { argument
46 mPorts = ports;
57 * Returns the ports that are sent with the message, or {@code null} if no port
/frameworks/support/webkit/src/main/java/androidx/webkit/internal/
H A DWebMessagePortImpl.java103 public static WebMessagePortCompat[] portsToCompat(WebMessagePort[] ports) { argument
104 if (ports == null) return null;
105 WebMessagePortCompat[] compatPorts = new WebMessagePortCompat[ports.length];
106 for (int n = 0; n < ports.length; n++) {
107 compatPorts[n] = new WebMessagePortImpl(ports[n]);
118 WebMessagePort[] ports = new WebMessagePort[compatPorts.length];
119 for (int n = 0; n < ports.length; n++) {
120 ports[n] = compatPorts[n].getFrameworkPort();
122 return ports;
/frameworks/base/services/core/java/com/android/server/
H A DSerialService.java40 ArrayList<String> ports = new ArrayList<String>();
44 ports.add(path);
47 String[] result = new String[ports.size()];
48 ports.toArray(result);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java38 * Optionally, one may /exclude/ unconnected optional ports (third parameter = false),
69 // Write upper part of element (i.e., input ports)
84 // Write lower part of element (i.e., output ports)
100 // Iterate over all filters again to collect connections and find unconnected ports
118 ? "red" : "blue"; // red for unconnected, required ports
136 ? "red" : "blue"; // red for unconnected, required ports
160 // Retrieve all input ports of a filter, including:
161 // unconnected ports (which can not be retrieved from the filter, only from the signature), and
162 // additional (connected) ports not listed in the signature (which is allowed by default,
164 // With second parameter = false, *omit* unconnected optional ports
[all...]
/frameworks/base/media/java/android/media/midi/
H A DMidiDeviceInfo.java148 * Port type for input ports
153 * Port type for output ports
246 * Returns the device's number of input ports.
248 * @return the number of input ports
255 * Returns the device's number of output ports.
257 * @return the number of output ports
264 * Returns information about the device's ports.
265 * The ports are in unspecified order.
270 PortInfo[] ports = new PortInfo[mInputPortCount + mOutputPortCount];
274 ports[inde
[all...]
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
H A DSerialChat.java74 String[] ports = mSerialManager.getSerialPorts();
75 if (ports != null && ports.length > 0) {
77 mSerialPort = mSerialManager.openSerialPort(ports[0], 115200);
/frameworks/base/media/java/android/media/
H A DAudioPortEventHandler.java89 ArrayList<AudioPort> ports = new ArrayList<AudioPort>();
92 int status = AudioManager.updateAudioPortCache(ports, patches, null);
94 // Since audio ports and audio patches are not null, the return
107 AudioPort[] portList = ports.toArray(new AudioPort[0]);
H A DAudioManager.java4237 * Returns a list of descriptors for all audio ports managed by the audio framework.
4238 * Audio ports are nodes in the audio framework or audio hardware that can be configured
4241 * @param ports An AudioPort ArrayList where the list will be returned.
4244 public static int listAudioPorts(ArrayList<AudioPort> ports) { argument
4245 return updateAudioPortCache(ports, null, null);
4249 * Returns a list of descriptors for all audio ports managed by the audio framework as
4251 * @param ports An AudioPort ArrayList where the list will be returned.
4254 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { argument
4255 return updateAudioPortCache(null, null, ports);
4267 ArrayList<AudioPort> ports
4292 filterDevicePorts(ArrayList<AudioPort> ports, ArrayList<AudioDevicePort> devices) argument
4431 updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, ArrayList<AudioPort> previousPorts) argument
4521 updatePortConfig(AudioPortConfig portCfg, ArrayList<AudioPort> ports) argument
4624 infoListFromPortList(ArrayList<AudioDevicePort> ports, int flags) argument
[all...]
/frameworks/av/services/audioflinger/
H A DPatchPanel.h30 /* List connected audio ports and their attributes */
32 struct audio_port *ports);
37 /* Create a patch between several source and sink ports */
H A DPatchPanel.cpp47 /* List connected audio ports and their attributes */
49 struct audio_port *ports)
53 return mPatchPanel->listAudioPorts(num_ports, ports);
69 /* Connect a patch between several source and sink ports */
91 /* List connected audio ports and they attributes */
122 /* List connected audio ports and their attributes */
124 struct audio_port *ports __unused)
138 /* Connect a patch between several source and sink ports */
662 /* List connected audio ports and they attributes */
48 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_hdmi_HdmiCecController.cpp74 // Get Port information on all the HDMI ports.
266 hidl_vec<HdmiPortInfo> ports; local
267 Return<void> ret = mHdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) {
268 ports = list;
274 jobjectArray res = env->NewObjectArray(ports.size(), hdmiPortInfo, NULL);
278 for (size_t i = 0; i < ports.size(); ++i) {
279 jboolean cecSupported = (jboolean) ports[i].cecSupported;
280 jboolean arcSupported = (jboolean) ports[i].arcSupported;
281 jobject infoObj = env->NewObject(hdmiPortInfo, ctor, ports[i].portId, ports[
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java93 String[] ports = parts[1].split("/", 2);
94 Media media = newMedia(parts[0], Integer.parseInt(ports[0]),
95 (ports.length < 2) ? 1 : Integer.parseInt(ports[1]),
115 * @param portCount The number of contiguous ports used by this media.
267 * Returns the number of contiguous ports used by this media.
/frameworks/av/media/libaudioclient/
H A DIAudioPolicyService.cpp539 struct audio_port *ports,
542 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) ||
548 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports;
562 reply.read(ports, numPortsReq * sizeof(struct audio_port));
1323 struct audio_port *ports = local
1325 if (ports == NULL) {
1331 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
1339 reply->write(ports, numPortsReq * sizeof(struct audio_port));
1342 free(ports);
536 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
H A DIAudioFlinger.cpp727 struct audio_port *ports)
729 if (num_ports == NULL || *num_ports == 0 || ports == NULL) {
741 reply.read(ports, *num_ports * sizeof(struct audio_port));
1356 struct audio_port *ports = local
1359 if (ports == NULL) {
1364 status_t status = listAudioPorts(&numPorts, ports);
1371 reply->write(ports, numPortsReq * sizeof(struct audio_port));
1373 free(ports);
726 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
/frameworks/av/include/media/
H A DIAudioPolicyService.h122 /* List available audio ports and their attributes */
126 struct audio_port *ports,
132 /* Create an audio patch between several source and sink ports */
H A DAudioSystem.h296 /* List available audio ports and their attributes */
300 struct audio_port *ports,
306 /* Create an audio patch between several source and sink ports */
H A DIAudioFlinger.h463 /* List available audio ports and their attributes */
465 struct audio_port *ports) = 0;
470 /* Create an audio patch between several source and sink ports */
/frameworks/av/media/libaudioclient/include/media/
H A DIAudioPolicyService.h122 /* List available audio ports and their attributes */
126 struct audio_port *ports,
132 /* Create an audio patch between several source and sink ports */
H A DAudioSystem.h296 /* List available audio ports and their attributes */
300 struct audio_port *ports,
306 /* Create an audio patch between several source and sink ports */
H A DIAudioFlinger.h463 /* List available audio ports and their attributes */
465 struct audio_port *ports) = 0;
470 /* Create an audio patch between several source and sink ports */
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
H A DPpsMoParser.java1460 String ports = null;
1467 ports = getPpsNodeValue(child);
1477 if (ports == null) {
1480 return Pair.create(proto, ports);
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h213 struct audio_port *ports,
340 /* Create a patch between several source and sink ports */
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp843 struct audio_port *ports,
851 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation);
840 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointXmlUtils.java865 String ports = (String) XmlUtil.readNextValueWithName(in, XML_TAG_PORTS);
866 protoPortMap.put(proto, ports);

Completed in 363 milliseconds

12