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

/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/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.java78 ArrayList<AudioPort> ports = new ArrayList<AudioPort>();
81 int status = AudioManager.updateAudioPortCache(ports, patches);
90 AudioPort[] portList = ports.toArray(new AudioPort[0]);
H A DAudioManager.java3482 * Returns a list of descriptors for all audio ports managed by the audio framework.
3483 * Audio ports are nodes in the audio framework or audio hardware that can be configured
3486 * @param ports An AudioPort ArrayList where the list will be returned.
3489 public int listAudioPorts(ArrayList<AudioPort> ports) { argument
3490 return updateAudioPortCache(ports, null);
3499 ArrayList<AudioPort> ports = new ArrayList<AudioPort>();
3500 int status = updateAudioPortCache(ports, null);
3503 for (int i = 0; i < ports.size(); i++) {
3504 if (ports.get(i) instanceof AudioDevicePort) {
3505 devices.add(ports
3639 updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches) argument
3714 updatePortConfig(AudioPortConfig portCfg, ArrayList<AudioPort> ports) argument
[all...]
H A DAudioSystem.java559 public static native int listAudioPorts(ArrayList<AudioPort> ports, int[] generation); argument
H A DAudioService.java4839 ArrayList<AudioPort> ports = new ArrayList<AudioPort>();
4841 int status = AudioSystem.listAudioPorts(ports, portGeneration);
4843 for (AudioPort port : ports) {
/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 */
654 /* List connected audio ports and they attributes */
48 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
H A DAudioFlinger.h230 /* List available audio ports and their attributes */
232 struct audio_port *ports);
237 /* 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/av/media/libmedia/
H A DIAudioPolicyService.cpp507 struct audio_port *ports,
510 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) ||
516 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports;
530 reply.read(ports, numPortsReq * sizeof(struct audio_port));
1063 struct audio_port *ports = local
1065 if (ports == NULL) {
1071 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
1079 reply->write(ports, numPortsReq * sizeof(struct audio_port));
1082 free(ports);
504 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.cpp793 struct audio_port *ports)
795 if (num_ports == NULL || *num_ports == 0 || ports == NULL) {
807 reply.read(ports, *num_ports * sizeof(struct audio_port));
1293 struct audio_port *ports = local
1296 status_t status = listAudioPorts(&num_ports, ports);
1300 reply->write(&ports, num_ports * sizeof(struct audio_port));
1302 free(ports);
792 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
H A DAudioSystem.cpp886 struct audio_port *ports,
891 return aps->listAudioPorts(role, type, num_ports, ports, generation);
883 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
/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/include/media/
H A DIAudioFlinger.h218 /* List available audio ports and their attributes */
220 struct audio_port *ports) = 0;
225 /* Create an audio patch between several source and sink ports */
H A DIAudioPolicyService.h121 /* List available audio ports and their attributes */
125 struct audio_port *ports,
131 /* 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 */
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h197 struct audio_port *ports,
304 /* Create a patch between several source and sink ports */
H A DAudioPolicyInterfaceImpl.cpp544 struct audio_port *ports,
555 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation);
541 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.cpp527 struct audio_port *ports __unused,
H A DAudioPolicyService.h168 struct audio_port *ports,
454 /* Create a patch between several source and sink ports */
H A DAudioPolicyManager.h171 struct audio_port *ports,
H A DAudioPolicyManager.cpp2405 struct audio_port *ports,
2408 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) ||
2412 ALOGV("listAudioPorts() role %d type %d num_ports %d ports %p", role, type, *num_ports, ports);
2413 if (ports == NULL) {
2424 mAvailableOutputDevices[i]->toAudioPort(&ports[portsWritten++]);
2431 mAvailableInputDevices[i]->toAudioPort(&ports[portsWritten++]);
2439 mInputs[i]->toAudioPort(&ports[portsWritten++]);
2449 mOutputs[i]->toAudioPort(&ports[portsWritten++]);
2457 ALOGV("listAudioPorts() got %zu ports neede
2402 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
[all...]

Completed in 493 milliseconds