Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 25 of 35) 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/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/
DAudioPortEventHandler.java78 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init()
81 int status = AudioManager.updateAudioPortCache(ports, patches); in init()
90 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
DAudioManager.java3489 public int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts() argument
3490 return updateAudioPortCache(ports, null); in listAudioPorts()
3499 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts() local
3500 int status = updateAudioPortCache(ports, null); in listAudioDevicePorts()
3503 for (int i = 0; i < ports.size(); i++) { in listAudioDevicePorts()
3504 if (ports.get(i) instanceof AudioDevicePort) { in listAudioDevicePorts()
3505 devices.add(ports.get(i)); in listAudioDevicePorts()
3639 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches) { in updateAudioPortCache() argument
3702 if (ports != null) { in updateAudioPortCache()
3703 ports.clear(); in updateAudioPortCache()
[all …]
DAudioSystem.java559 public static native int listAudioPorts(ArrayList<AudioPort> ports, int[] generation); in listAudioPorts() argument
/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/native/services/surfaceflinger/tests/screencap/
DAndroid.mk23 external/skia/src/ports \
/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()
DAudioFlinger.h232 struct audio_port *ports);
/frameworks/base/services/core/jni/
Dcom_android_server_hdmi_HdmiCecController.cpp240 hdmi_port_info* ports; in getPortInfos() local
242 mDevice->get_port_info(mDevice, &ports, &numPorts); in getPortInfos()
248 hdmi_port_info* info = &ports[i]; in getPortInfos()
/frameworks/av/media/libmedia/
DIAudioPolicyService.cpp505 struct audio_port *ports, in listAudioPorts() argument
508 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) || in listAudioPorts()
514 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; in listAudioPorts()
528 reply.read(ports, numPortsReq * sizeof(struct audio_port)); in listAudioPorts()
1059 struct audio_port *ports = in onTransact() local
1061 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); in onTransact()
1069 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact()
1072 free(ports); in onTransact()
DIAudioFlinger.cpp793 struct audio_port *ports) in listAudioPorts() argument
795 if (num_ports == NULL || *num_ports == 0 || ports == NULL) { in listAudioPorts()
807 reply.read(ports, *num_ports * sizeof(struct audio_port)); in listAudioPorts()
1293 struct audio_port *ports = in onTransact() local
1296 status_t status = listAudioPorts(&num_ports, ports); in onTransact()
1300 reply->write(&ports, num_ports * sizeof(struct audio_port)); in onTransact()
1302 free(ports); in onTransact()
DAudioSystem.cpp886 struct audio_port *ports, in listAudioPorts() argument
891 return aps->listAudioPorts(role, type, num_ports, ports, generation); in listAudioPorts()
/frameworks/base/docs/html/training/tv/tif/
Dindex.jd23 from hardware sources, such as HDMI ports and built-in-tuners, and software sources, such as
/frameworks/av/include/media/
DIAudioPolicyService.h125 struct audio_port *ports,
DIAudioFlinger.h220 struct audio_port *ports) = 0;
DAudioSystem.h300 struct audio_port *ports,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterfaceImpl.cpp544 struct audio_port *ports, in listAudioPorts() argument
555 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation); in listAudioPorts()
DAudioPolicyInterface.h197 struct audio_port *ports,
DAudioPolicyService.h168 struct audio_port *ports,
DAudioPolicyInterfaceImplLegacy.cpp527 struct audio_port *ports __unused, in listAudioPorts()
/frameworks/base/docs/html/tools/debugging/
Dindex.jd79 via DDMS. DDMS can forward any of these ports to a static debugging port (typically port 8700) by
82 device or emulator without having to attach to multiple ports.</p>
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd419 <li>912619: Emulator console listens on non-local ports 5554-5584.
500ports 5554-5587. Future versions will only accept connections from localhost. It is recommend that…

12