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

12

/frameworks/base/core/java/android/webkit/
H A DWebMessage.java41 * @param ports the ports that are sent with the message.
43 public WebMessage(String data, WebMessagePort[] ports) { argument
45 mPorts = ports;
56 * Returns the ports that are sent with the message, or null if no port
/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.java84 ArrayList<AudioPort> ports = new ArrayList<AudioPort>();
87 int status = AudioManager.updateAudioPortCache(ports, patches, null);
96 AudioPort[] portList = ports.toArray(new AudioPort[0]);
H A DAudioManager.java3871 * Returns a list of descriptors for all audio ports managed by the audio framework.
3872 * Audio ports are nodes in the audio framework or audio hardware that can be configured
3875 * @param ports An AudioPort ArrayList where the list will be returned.
3878 public static int listAudioPorts(ArrayList<AudioPort> ports) { argument
3879 return updateAudioPortCache(ports, null, null);
3883 * Returns a list of descriptors for all audio ports managed by the audio framework as
3885 * @param ports An AudioPort ArrayList where the list will be returned.
3888 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { argument
3889 return updateAudioPortCache(null, null, ports);
3901 ArrayList<AudioPort> ports
3926 filterDevicePorts(ArrayList<AudioPort> ports, ArrayList<AudioDevicePort> devices) argument
4065 updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, ArrayList<AudioPort> previousPorts) argument
4147 updatePortConfig(AudioPortConfig portCfg, ArrayList<AudioPort> ports) argument
4252 infoListFromPortList(ArrayList<AudioDevicePort> ports, int flags) argument
[all...]
H A DAudioSystem.java740 public static native int listAudioPorts(ArrayList<AudioPort> ports, int[] generation); argument
/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 */
663 /* 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/base/packages/Osu/src/com/android/hotspot2/pps/
H A DPolicy.java94 List<Integer> ports = new ArrayList<>(portSegments.length);
97 ports.add(Integer.parseInt(portSegment));
102 mRequiredProtos.put(protocol, ports);
/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.cpp537 struct audio_port *ports,
540 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) ||
546 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports;
560 reply.read(ports, numPortsReq * sizeof(struct audio_port));
1201 struct audio_port *ports = local
1203 if (ports == NULL) {
1209 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
1217 reply->write(ports, numPortsReq * sizeof(struct audio_port));
1220 free(ports);
534 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.cpp816 struct audio_port *ports)
818 if (num_ports == NULL || *num_ports == 0 || ports == NULL) {
830 reply.read(ports, *num_ports * sizeof(struct audio_port));
1378 struct audio_port *ports = local
1381 if (ports == NULL) {
1386 status_t status = listAudioPorts(&numPorts, ports);
1393 reply->write(ports, numPortsReq * sizeof(struct audio_port));
1395 free(ports);
815 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
/frameworks/av/include/media/
H A DIAudioFlinger.h222 /* List available audio ports and their attributes */
224 struct audio_port *ports) = 0;
229 /* Create an audio patch between several source and sink ports */
H A DIAudioPolicyService.h127 /* List available audio ports and their attributes */
131 struct audio_port *ports,
137 /* Create an audio patch between several source and sink ports */
H A DAudioSystem.h299 /* List available audio ports and their attributes */
303 struct audio_port *ports,
309 /* Create an audio patch between several source and sink ports */
/frameworks/av/media/libaudioclient/include/media/
H A DIAudioFlinger.h222 /* List available audio ports and their attributes */
224 struct audio_port *ports) = 0;
229 /* Create an audio patch between several source and sink ports */
H A DIAudioPolicyService.h127 /* List available audio ports and their attributes */
131 struct audio_port *ports,
137 /* Create an audio patch between several source and sink ports */
H A DAudioSystem.h299 /* List available audio ports and their attributes */
303 struct audio_port *ports,
309 /* 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/service/
H A DAudioPolicyInterfaceImpl.cpp618 struct audio_port *ports,
626 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation);
615 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h213 struct audio_port *ports,
329 /* Create a patch between several source and sink ports */
/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 650 milliseconds

12