/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphExporter.java | 167 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/ |
D | SerialService.java | 40 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/ |
D | com_android_server_hdmi_HdmiCecController.cpp | 266 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/ |
D | WebMessage.java | 43 public WebMessage(String data, WebMessagePort[] ports) { in WebMessage() argument 45 mPorts = ports; in WebMessage()
|
/frameworks/base/tests/SerialChat/src/com/android/serialchat/ |
D | SerialChat.java | 74 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/ |
D | AudioManager.java | 3878 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 …]
|
D | AudioPortEventHandler.java | 84 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()
|
D | AudioSystem.java | 740 public static native int listAudioPorts(ArrayList<AudioPort> ports, int[] generation); in listAudioPorts() argument
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceInfo.java | 270 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/ |
D | Policy.java | 94 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/ |
D | SimpleSessionDescription.java | 93 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/ |
D | PatchPanel.h | 32 struct audio_port *ports);
|
D | PatchPanel.cpp | 49 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/ |
D | IAudioPolicyService.cpp | 537 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()
|
D | IAudioFlinger.cpp | 816 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/ |
D | PpsMoParser.java | 1460 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/ |
D | IAudioPolicyService.h | 131 struct audio_port *ports,
|
D | IAudioFlinger.h | 224 struct audio_port *ports) = 0;
|
D | AudioSystem.h | 303 struct audio_port *ports,
|
/frameworks/av/include/media/ |
D | IAudioPolicyService.h | 131 struct audio_port *ports,
|
D | IAudioFlinger.h | 224 struct audio_port *ports) = 0;
|
D | AudioSystem.h | 303 struct audio_port *ports,
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 618 struct audio_port *ports, in listAudioPorts() argument 626 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation); in listAudioPorts()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 213 struct audio_port *ports,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 865 String ports = (String) XmlUtil.readNextValueWithName(in, XML_TAG_PORTS); in deserializeProtoPortMap() local 866 protoPortMap.put(proto, ports); in deserializeProtoPortMap()
|