Searched refs:ports (Results 1 - 25 of 28) 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/native/services/surfaceflinger/tests/screencap/
H A DAndroid.mk23 external/skia/src/ports \
/frameworks/base/media/java/android/media/midi/
H A DMidiDeviceInfo.java141 * Port type for input ports
146 * Port type for output ports
239 * Returns the device's number of input ports.
241 * @return the number of input ports
248 * Returns the device's number of output ports.
250 * @return the number of output ports
257 * Returns information about the device's ports.
258 * The ports are in unspecified order.
263 PortInfo[] ports = new PortInfo[mInputPortCount + mOutputPortCount];
267 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.java3404 * Returns a list of descriptors for all audio ports managed by the audio framework.
3405 * Audio ports are nodes in the audio framework or audio hardware that can be configured
3408 * @param ports An AudioPort ArrayList where the list will be returned.
3411 public static int listAudioPorts(ArrayList<AudioPort> ports) { argument
3412 return updateAudioPortCache(ports, null, null);
3416 * Returns a list of descriptors for all audio ports managed by the audio framework as
3418 * @param ports An AudioPort ArrayList where the list will be returned.
3421 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { argument
3422 return updateAudioPortCache(null, null, ports);
3434 ArrayList<AudioPort> ports
3459 filterDevicePorts(ArrayList<AudioPort> ports, ArrayList<AudioDevicePort> devices) argument
3598 updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, ArrayList<AudioPort> previousPorts) argument
3680 updatePortConfig(AudioPortConfig portCfg, ArrayList<AudioPort> ports) argument
3783 infoListFromPortList(ArrayList<AudioDevicePort> ports, int flags) argument
[all...]
H A DAudioSystem.java635 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 */
600 /* List connected audio ports and they attributes */
48 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
H A DAudioFlinger.h236 /* List available audio ports and their attributes */
238 struct audio_port *ports);
243 /* Create an audio patch between several source and sink 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/base/services/core/jni/
H A Dcom_android_server_hdmi_HdmiCecController.cpp60 // Get Port information on all the HDMI ports.
240 hdmi_port_info* ports; local
242 mDevice->get_port_info(mDevice, &ports, &numPorts);
248 hdmi_port_info* info = &ports[i];
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp520 struct audio_port *ports,
523 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) ||
529 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports;
543 reply.read(ports, numPortsReq * sizeof(struct audio_port));
1126 struct audio_port *ports = local
1128 if (ports == NULL) {
1134 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
1142 reply->write(ports, numPortsReq * sizeof(struct audio_port));
1145 free(ports);
517 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.cpp802 struct audio_port *ports)
804 if (num_ports == NULL || *num_ports == 0 || ports == NULL) {
816 reply.read(ports, *num_ports * sizeof(struct audio_port));
1314 struct audio_port *ports = local
1317 if (ports == NULL) {
1322 status_t status = listAudioPorts(&numPorts, ports);
1329 reply->write(ports, numPortsReq * sizeof(struct audio_port));
1331 free(ports);
801 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
H A DAudioSystem.cpp993 struct audio_port *ports,
998 return aps->listAudioPorts(role, type, num_ports, ports, generation);
990 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/include/media/
H A DIAudioFlinger.h224 /* List available audio ports and their attributes */
226 struct audio_port *ports) = 0;
231 /* Create an audio patch between several source and sink ports */
H A DIAudioPolicyService.h126 /* List available audio ports and their attributes */
130 struct audio_port *ports,
136 /* Create an audio patch between several source and sink ports */
H A DAudioSystem.h283 /* List available audio ports and their attributes */
287 struct audio_port *ports,
293 /* Create an audio patch between several source and sink ports */
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h203 struct audio_port *ports,
315 /* Create a patch between several source and sink ports */
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp569 struct audio_port *ports,
577 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation);
566 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 DAudioPolicyInterfaceImplLegacy.cpp529 struct audio_port *ports __unused,
H A DAudioPolicyService.h175 struct audio_port *ports,
479 /* Create a patch between several source and sink ports */
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.h201 struct audio_port *ports,

Completed in 1122 milliseconds

12