/frameworks/base/core/java/android/webkit/ |
H A D | WebMessage.java | 41 * @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 D | SerialService.java | 40 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 D | GraphExporter.java | 38 * 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 D | MidiDeviceInfo.java | 141 * 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 D | SerialChat.java | 74 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 D | AudioPortEventHandler.java | 84 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); 87 int status = AudioManager.updateAudioPortCache(ports, patches, null); 96 AudioPort[] portList = ports.toArray(new AudioPort[0]);
|
H A D | AudioManager.java | 3538 * Returns a list of descriptors for all audio ports managed by the audio framework. 3539 * Audio ports are nodes in the audio framework or audio hardware that can be configured 3542 * @param ports An AudioPort ArrayList where the list will be returned. 3545 public static int listAudioPorts(ArrayList<AudioPort> ports) { argument 3546 return updateAudioPortCache(ports, null, null); 3550 * Returns a list of descriptors for all audio ports managed by the audio framework as 3552 * @param ports An AudioPort ArrayList where the list will be returned. 3555 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { argument 3556 return updateAudioPortCache(null, null, ports); 3568 ArrayList<AudioPort> ports 3593 filterDevicePorts(ArrayList<AudioPort> ports, ArrayList<AudioDevicePort> devices) argument 3732 updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, ArrayList<AudioPort> previousPorts) argument 3814 updatePortConfig(AudioPortConfig portCfg, ArrayList<AudioPort> ports) argument 3917 infoListFromPortList(ArrayList<AudioDevicePort> ports, int flags) argument [all...] |
H A D | AudioSystem.java | 706 public static native int listAudioPorts(ArrayList<AudioPort> ports, int[] generation); argument
|
/frameworks/av/services/audioflinger/ |
H A D | PatchPanel.h | 30 /* List connected audio ports and their attributes */ 32 struct audio_port *ports); 37 /* Create a patch between several source and sink ports */
|
H A D | PatchPanel.cpp | 47 /* 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 */ 658 /* List connected audio ports and they attributes */ 48 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
|
H A D | AudioFlinger.h | 237 /* List available audio ports and their attributes */ 239 struct audio_port *ports); 244 /* Create an audio patch between several source and sink ports */
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
H A D | Policy.java | 94 List<Integer> ports = new ArrayList<>(portSegments.length); 97 ports.add(Integer.parseInt(portSegment)); 102 mRequiredProtos.put(protocol, ports);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
H A D | Policy.java | 103 List<Integer> ports = new ArrayList<>(portSegments.length); 106 ports.add(Integer.parseInt(portSegment)); 112 mRequiredProtos.put(protocol, ports);
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 93 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 D | com_android_server_hdmi_HdmiCecController.cpp | 60 // 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 D | IAudioPolicyService.cpp | 524 struct audio_port *ports, 527 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) || 533 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; 547 reply.read(ports, numPortsReq * sizeof(struct audio_port)); 1162 struct audio_port *ports = local 1164 if (ports == NULL) { 1170 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); 1178 reply->write(ports, numPortsReq * sizeof(struct audio_port)); 1181 free(ports); 521 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 D | IAudioFlinger.cpp | 810 struct audio_port *ports) 812 if (num_ports == NULL || *num_ports == 0 || ports == NULL) { 824 reply.read(ports, *num_ports * sizeof(struct audio_port)); 1346 struct audio_port *ports = local 1349 if (ports == NULL) { 1354 status_t status = listAudioPorts(&numPorts, ports); 1361 reply->write(ports, numPortsReq * sizeof(struct audio_port)); 1363 free(ports); 809 listAudioPorts(unsigned int *num_ports, struct audio_port *ports) argument
|
/frameworks/av/include/media/ |
H A D | IAudioFlinger.h | 220 /* List available audio ports and their attributes */ 222 struct audio_port *ports) = 0; 227 /* Create an audio patch between several source and sink ports */
|
H A D | IAudioPolicyService.h | 127 /* 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 D | AudioSystem.h | 297 /* List available audio ports and their attributes */ 301 struct audio_port *ports, 307 /* Create an audio patch between several source and sink ports */
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImpl.cpp | 587 struct audio_port *ports, 595 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation); 584 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 D | AudioPolicyInterfaceImplLegacy.cpp | 530 struct audio_port *ports __unused,
|
H A D | AudioPolicyService.h | 176 struct audio_port *ports, 506 /* Create a patch between several source and sink ports */
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterface.h | 203 struct audio_port *ports, 319 /* Create a patch between several source and sink ports */
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.h | 201 struct audio_port *ports,
|