/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/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/core/java/android/webkit/ |
D | WebMessage.java | 45 public WebMessage(String data, WebMessagePort[] ports) { in WebMessage() argument 47 mPorts = ports; in WebMessage()
|
/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/media/java/android/media/ |
D | AudioPortEventHandler.java | 96 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init() 99 int status = AudioManager.updateAudioPortCache(ports, patches, null); in init() 114 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
|
D | AudioManager.java | 4578 public static int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts() argument 4579 return updateAudioPortCache(ports, null, null); in listAudioPorts() 4588 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { in listPreviousAudioPorts() argument 4589 return updateAudioPortCache(null, null, ports); in listPreviousAudioPorts() 4601 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts() local 4602 int status = updateAudioPortCache(ports, null, null); in listAudioDevicePorts() 4604 filterDevicePorts(ports, devices); in listAudioDevicePorts() 4618 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listPreviousAudioDevicePorts() local 4619 int status = updateAudioPortCache(null, null, ports); in listPreviousAudioDevicePorts() 4621 filterDevicePorts(ports, devices); in listPreviousAudioDevicePorts() [all …]
|
/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/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 158 const std::unordered_map<std::string, uint8_t>& ports = config->portAssociations; in configure() local 159 const auto& displayPort = ports.find(inputPort); in configure() 160 if (displayPort != ports.end()) { in configure()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 866 ArrayList<UsbPort> ports = new ArrayList<>(numPorts); in getPorts() local 868 ports.add(parcelablePorts.get(i).getUsbPort(this)); in getPorts() 871 return ports; in getPorts()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 777 struct audio_port *ports) in listAudioPorts() argument 779 if (num_ports == NULL || *num_ports == 0 || ports == NULL) { in listAudioPorts() 791 reply.read(ports, *num_ports * sizeof(struct audio_port)); in listAudioPorts() 1460 struct audio_port *ports = in onTransact() local 1463 if (ports == NULL) { in onTransact() 1468 status_t status = listAudioPorts(&numPorts, ports); in onTransact() 1475 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact() 1477 free(ports); in onTransact()
|
D | IAudioPolicyService.cpp | 655 struct audio_port *ports, in listAudioPorts() argument 658 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) || in listAudioPorts() 664 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; in listAudioPorts() 678 reply.read(ports, numPortsReq * sizeof(struct audio_port)); in listAudioPorts() 1903 struct audio_port *ports = in onTransact() local 1905 if (ports == NULL) { in onTransact() 1911 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); in onTransact() 1919 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact() 1922 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/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 514 final UsbPort[] ports = mPortManager.getPorts(); in getPorts() local 516 final int numPorts = ports.length; in getPorts() 519 parcelablePorts.add(ParcelableUsbPort.of(ports[i])); in getPorts()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 808 int[] ports = res.getIntArray( in isDisplayPrivate() local 810 if (ports != null) { in isDisplayPrivate() 812 for (int p : ports) { in isDisplayPrivate()
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.cpp | 51 struct audio_port *ports) in listAudioPorts() argument 54 return mPatchPanel.listAudioPorts(num_ports, ports); in listAudioPorts() 99 struct audio_port *ports __unused) in listAudioPorts()
|
D | PatchPanel.h | 52 struct audio_port *ports);
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 916 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in configureHdmiPlugIntent() local 918 int status = AudioSystem.listAudioPorts(ports, portGeneration); in configureHdmiPlugIntent() 923 for (AudioPort port : ports) { in configureHdmiPlugIntent()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyService.h | 155 struct audio_port *ports,
|
D | IAudioFlinger.h | 486 struct audio_port *ports) = 0;
|
D | AudioSystem.h | 320 struct audio_port *ports,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 873 String ports = (String) XmlUtil.readNextValueWithName(in, XML_TAG_PORTS); in deserializeProtoPortMap() local 874 protoPortMap.put(proto, ports); in deserializeProtoPortMap()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 219 struct audio_port ports[numPorts]; in findDevicePort() local 220 ret = mManager->listAudioPorts(role, AUDIO_PORT_TYPE_DEVICE, &numPorts, ports, &generation2); in findDevicePort() 225 for (const auto &port : ports) { in findDevicePort()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 217 struct audio_port *ports,
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1020 struct audio_port *ports, in listAudioPorts() argument 1028 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation); in listAudioPorts()
|