Home
last modified time | relevance | path

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

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphExporter.java167 Set<String> ports = new HashSet<String>(); in getInputPorts() local
168 ports.addAll(filter.getConnectedInputPortMap().keySet()); in getInputPorts()
175 ports.add(e.getKey()); in getInputPorts()
179 return ports; in getInputPorts()
185 Set<String> ports = new HashSet<String>(); in getOutputPorts() local
186 ports.addAll(filter.getConnectedOutputPortMap().keySet()); in getOutputPorts()
193 ports.add(e.getKey()); in getOutputPorts()
197 return ports; in getOutputPorts()
/frameworks/base/services/core/java/com/android/server/
DSerialService.java40 ArrayList<String> ports = new ArrayList<String>(); in getSerialPorts() local
44 ports.add(path); in getSerialPorts()
47 String[] result = new String[ports.size()]; in getSerialPorts()
48 ports.toArray(result); in getSerialPorts()
/frameworks/base/services/core/jni/
Dcom_android_server_hdmi_HdmiCecController.cpp266 hidl_vec<HdmiPortInfo> ports; in getPortInfos() local
267 Return<void> ret = mHdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) { in getPortInfos()
268 ports = list; in getPortInfos()
274 jobjectArray res = env->NewObjectArray(ports.size(), hdmiPortInfo, NULL); in getPortInfos()
278 for (size_t i = 0; i < ports.size(); ++i) { in getPortInfos()
279 jboolean cecSupported = (jboolean) ports[i].cecSupported; in getPortInfos()
280 jboolean arcSupported = (jboolean) ports[i].arcSupported; in getPortInfos()
281 jobject infoObj = env->NewObject(hdmiPortInfo, ctor, ports[i].portId, ports[i].type, in getPortInfos()
282 ports[i].physicalAddress, cecSupported, mhlSupported, arcSupported); in getPortInfos()
/frameworks/base/core/java/android/webkit/
DWebMessage.java43 public WebMessage(String data, WebMessagePort[] ports) { in WebMessage() argument
45 mPorts = ports; in WebMessage()
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
DSerialChat.java74 String[] ports = mSerialManager.getSerialPorts(); in onResume() local
75 if (ports != null && ports.length > 0) { in onResume()
77 mSerialPort = mSerialManager.openSerialPort(ports[0], 115200); in onResume()
/frameworks/base/media/java/android/media/
DAudioManager.java3878 public static int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts() argument
3879 return updateAudioPortCache(ports, null, null); in listAudioPorts()
3888 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { in listPreviousAudioPorts() argument
3889 return updateAudioPortCache(null, null, ports); in listPreviousAudioPorts()
3901 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts() local
3902 int status = updateAudioPortCache(ports, null, null); in listAudioDevicePorts()
3904 filterDevicePorts(ports, devices); in listAudioDevicePorts()
3918 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listPreviousAudioDevicePorts() local
3919 int status = updateAudioPortCache(null, null, ports); in listPreviousAudioDevicePorts()
3921 filterDevicePorts(ports, devices); in listPreviousAudioDevicePorts()
[all …]
DAudioPortEventHandler.java84 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init()
87 int status = AudioManager.updateAudioPortCache(ports, patches, null); in init()
96 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
DAudioSystem.java740 public static native int listAudioPorts(ArrayList<AudioPort> ports, int[] generation); in listAudioPorts() argument
/frameworks/base/media/java/android/media/midi/
DMidiDeviceInfo.java270 PortInfo[] ports = new PortInfo[mInputPortCount + mOutputPortCount]; in getPorts() local
274 ports[index++] = new PortInfo(PortInfo.TYPE_INPUT, i, mInputPortNames[i]); in getPorts()
277 ports[index++] = new PortInfo(PortInfo.TYPE_OUTPUT, i, mOutputPortNames[i]); in getPorts()
280 return ports; in getPorts()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DPolicy.java94 List<Integer> ports = new ArrayList<>(portSegments.length); in Policy() local
97 ports.add(Integer.parseInt(portSegment)); in Policy()
102 mRequiredProtos.put(protocol, ports); in Policy()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSimpleSessionDescription.java93 String[] ports = parts[1].split("/", 2); in SimpleSessionDescription() local
94 Media media = newMedia(parts[0], Integer.parseInt(ports[0]), in SimpleSessionDescription()
95 (ports.length < 2) ? 1 : Integer.parseInt(ports[1]), in SimpleSessionDescription()
/frameworks/av/services/audioflinger/
DPatchPanel.h32 struct audio_port *ports);
DPatchPanel.cpp49 struct audio_port *ports) in listAudioPorts() argument
53 return mPatchPanel->listAudioPorts(num_ports, ports); in listAudioPorts()
124 struct audio_port *ports __unused) in listAudioPorts()
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp537 struct audio_port *ports, in listAudioPorts() argument
540 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) || in listAudioPorts()
546 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; in listAudioPorts()
560 reply.read(ports, numPortsReq * sizeof(struct audio_port)); in listAudioPorts()
1201 struct audio_port *ports = in onTransact() local
1203 if (ports == NULL) { in onTransact()
1209 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); in onTransact()
1217 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact()
1220 free(ports); in onTransact()
DIAudioFlinger.cpp816 struct audio_port *ports) in listAudioPorts() argument
818 if (num_ports == NULL || *num_ports == 0 || ports == NULL) { in listAudioPorts()
830 reply.read(ports, *num_ports * sizeof(struct audio_port)); in listAudioPorts()
1378 struct audio_port *ports = in onTransact() local
1381 if (ports == NULL) { in onTransact()
1386 status_t status = listAudioPorts(&numPorts, ports); in onTransact()
1393 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact()
1395 free(ports); in onTransact()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java1460 String ports = null; in parseProtoPortTuple() local
1467 ports = getPpsNodeValue(child); in parseProtoPortTuple()
1477 if (ports == null) { in parseProtoPortTuple()
1480 return Pair.create(proto, ports); in parseProtoPortTuple()
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h131 struct audio_port *ports,
DIAudioFlinger.h224 struct audio_port *ports) = 0;
DAudioSystem.h303 struct audio_port *ports,
/frameworks/av/include/media/
DIAudioPolicyService.h131 struct audio_port *ports,
DIAudioFlinger.h224 struct audio_port *ports) = 0;
DAudioSystem.h303 struct audio_port *ports,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp618 struct audio_port *ports, in listAudioPorts() argument
626 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation); in listAudioPorts()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h213 struct audio_port *ports,
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java865 String ports = (String) XmlUtil.readNextValueWithName(in, XML_TAG_PORTS); in deserializeProtoPortMap() local
866 protoPortMap.put(proto, ports); in deserializeProtoPortMap()

12