/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 | 45 public WebMessage(String data, WebMessagePort[] ports) { in WebMessage() argument 47 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/midi/ |
D | MidiDeviceInfo.java | 283 PortInfo[] ports = new PortInfo[mInputPortCount + mOutputPortCount]; in getPorts() local 287 ports[index++] = new PortInfo(PortInfo.TYPE_INPUT, i, mInputPortNames[i]); in getPorts() 290 ports[index++] = new PortInfo(PortInfo.TYPE_OUTPUT, i, mOutputPortNames[i]); in getPorts() 293 return ports; in getPorts()
|
/frameworks/base/media/java/android/media/ |
D | AudioPortEventHandler.java | 97 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init() 100 int status = AudioManager.updateAudioPortCache(ports, patches, null); in init() 115 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
|
D | AudioManager.java | 5191 public static int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts() argument 5192 return updateAudioPortCache(ports, null, null); in listAudioPorts() 5201 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { in listPreviousAudioPorts() argument 5202 return updateAudioPortCache(null, null, ports); in listPreviousAudioPorts() 5214 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts() local 5215 int status = updateAudioPortCache(ports, null, null); in listAudioDevicePorts() 5217 filterDevicePorts(ports, devices); in listAudioDevicePorts() 5231 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listPreviousAudioDevicePorts() local 5232 int status = updateAudioPortCache(null, null, ports); in listPreviousAudioDevicePorts() 5234 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/base/core/java/android/hardware/hdmi/ |
D | HdmiControlManager.java | 361 List<HdmiPortInfo> ports = new ArrayList<>(); in onReceived() local 363 ports = mService.getPortInfo(); in onReceived() 367 if (ports.isEmpty()) { in onReceived() 373 for (HdmiPortInfo port : ports) { in onReceived()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 885 ArrayList<UsbPort> ports = new ArrayList<>(numPorts); in getPorts() local 887 ports.add(parcelablePorts.get(i).getUsbPort(this)); in getPorts() 890 return ports; in getPorts()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 280 const std::unordered_map<std::string, uint8_t>& ports = config->portAssociations; in configure() local 281 const auto& displayPort = ports.find(inputPort); in configure() 282 if (displayPort != ports.end()) { in configure()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 780 struct audio_port *ports) in listAudioPorts() argument 782 if (num_ports == NULL || *num_ports == 0 || ports == NULL) { in listAudioPorts() 794 reply.read(ports, *num_ports * sizeof(struct audio_port)); in listAudioPorts() 1463 struct audio_port *ports = in onTransact() local 1466 if (ports == NULL) { in onTransact() 1471 status_t status = listAudioPorts(&numPorts, ports); in onTransact() 1478 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact() 1480 free(ports); in onTransact()
|
D | IAudioPolicyService.cpp | 681 struct audio_port *ports, in listAudioPorts() argument 684 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) || in listAudioPorts() 690 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; in listAudioPorts() 704 reply.read(ports, numPortsReq * sizeof(struct audio_port)); in listAudioPorts() 2062 struct audio_port *ports = in onTransact() local 2064 if (ports == NULL) { in onTransact() 2070 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); in onTransact() 2078 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact() 2081 free(ports); in onTransact()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParser.java | 1502 String ports = null; in parseProtoPortTuple() local 1509 ports = getPpsNodeValue(child); in parseProtoPortTuple() 1519 if (ports == null) { in parseProtoPortTuple() 1522 return Pair.create(proto, ports); in parseProtoPortTuple()
|
/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/usb/java/com/android/server/usb/ |
D | UsbService.java | 662 final UsbPort[] ports = mPortManager.getPorts(); in getPorts() local 664 final int numPorts = ports.length; in getPorts() 667 parcelablePorts.add(ParcelableUsbPort.of(ports[i])); in getPorts()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 994 int[] ports = res.getIntArray( in isDisplayPrivate() local 996 if (ports != null) { in isDisplayPrivate() 998 for (int p : ports) { in isDisplayPrivate()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyService.h | 163 struct audio_port *ports,
|
D | IAudioFlinger.h | 504 struct audio_port *ports) = 0;
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 227 struct audio_port ports[numPorts]; in findDevicePort() local 228 ret = mManager->listAudioPorts(role, AUDIO_PORT_TYPE_DEVICE, &numPorts, ports, &generation2); in findDevicePort() 233 for (const auto &port : ports) { in findDevicePort()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 893 String ports = (String) XmlUtil.readNextValueWithName(in, XML_TAG_PORTS); in deserializeProtoPortMap() local 894 protoPortMap.put(proto, ports); in deserializeProtoPortMap()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 230 struct audio_port *ports,
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 1250 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in configureHdmiPlugIntent() local 1252 int status = AudioSystem.listAudioPorts(ports, portGeneration); in configureHdmiPlugIntent() 1257 for (AudioPort port : ports) { in configureHdmiPlugIntent()
|