/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 | 148 * 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 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 | 3871 * 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 D | AudioSystem.java | 740 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 */ 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 D | com_android_server_hdmi_HdmiCecController.cpp | 74 // 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 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/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/av/media/libaudioclient/ |
H A D | IAudioPolicyService.cpp | 537 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 D | IAudioFlinger.cpp | 816 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 D | IAudioFlinger.h | 222 /* 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 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 | 299 /* 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 D | IAudioFlinger.h | 222 /* 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 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 | 299 /* 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 D | PpsMoParser.java | 1460 String ports = null; 1467 ports = getPpsNodeValue(child); 1477 if (ports == null) { 1480 return Pair.create(proto, ports);
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImpl.cpp | 618 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 D | AudioPolicyInterface.h | 213 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 D | PasspointXmlUtils.java | 865 String ports = (String) XmlUtil.readNextValueWithName(in, XML_TAG_PORTS); 866 protoPortMap.put(proto, ports);
|