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/core/java/android/webkit/
DWebMessage.java45 public WebMessage(String data, WebMessagePort[] ports) { in WebMessage() argument
47 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/midi/
DMidiDeviceInfo.java283 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/
DAudioPortEventHandler.java98 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init()
101 int status = AudioManager.updateAudioPortCache(ports, patches, null); in init()
116 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
DAudioManager.java6186 public static int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts() argument
6187 return updateAudioPortCache(ports, null, null); in listAudioPorts()
6196 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { in listPreviousAudioPorts() argument
6197 return updateAudioPortCache(null, null, ports); in listPreviousAudioPorts()
6209 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts() local
6210 int status = updateAudioPortCache(ports, null, null); in listAudioDevicePorts()
6212 filterDevicePorts(ports, devices); in listAudioDevicePorts()
6226 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listPreviousAudioDevicePorts() local
6227 int status = updateAudioPortCache(null, null, ports); in listPreviousAudioDevicePorts()
6229 filterDevicePorts(ports, devices); in listPreviousAudioDevicePorts()
[all …]
/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/base/core/java/android/hardware/usb/
DUsbManager.java1222 ArrayList<UsbPort> ports = new ArrayList<>(numPorts); in getPorts() local
1224 ports.add(parcelablePorts.get(i).getUsbPort(this)); in getPorts()
1227 return ports; in getPorts()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp308 const std::unordered_map<std::string, uint8_t>& ports = config->portAssociations; in configure() local
309 const auto& displayPort = ports.find(inputPort); in configure()
310 if (displayPort != ports.end()) { in configure()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiControlManager.java896 List<HdmiPortInfo> ports = new ArrayList<>(); in onReceived() local
898 ports = mService.getPortInfo(); in onReceived()
902 if (ports.isEmpty()) { in onReceived()
908 for (HdmiPortInfo port : ports) { in onReceived()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp269 struct audio_port_v7 ports[numPorts]; in findDevicePort() local
270 ret = mManager->listAudioPorts(role, AUDIO_PORT_TYPE_DEVICE, &numPorts, ports, &generation2); in findDevicePort()
275 for (const auto &port : ports) { in findDevicePort()
902 struct audio_port_v7 ports[numPorts]; in getFormatsFromPorts() local
904 AUDIO_PORT_ROLE_SINK, AUDIO_PORT_TYPE_DEVICE, &numPorts, ports, &generation1); in getFormatsFromPorts()
909 for (const auto &port : ports) { in getFormatsFromPorts()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp52 struct audio_port *ports) in listAudioPorts() argument
55 return mPatchPanel.listAudioPorts(num_ports, ports); in listAudioPorts()
109 struct audio_port *ports __unused) in listAudioPorts()
DPatchPanel.h52 struct audio_port *ports);
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceTv.java167 List<HdmiPortInfo> ports = mService.getPortInfo(); in onAddressAllocated() local
168 for (HdmiPortInfo port : ports) { in onAddressAllocated()
1551 List<HdmiPortInfo> ports = mService.getPortInfo(); in getDeviceFeatures() local
1552 for (HdmiPortInfo port : ports) { in getDeviceFeatures()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java688 final UsbPort[] ports = mPortManager.getPorts(); in getPorts() local
690 final int numPorts = ports.length; in getPorts()
693 parcelablePorts.add(ParcelableUsbPort.of(ports[i])); in getPorts()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyService.aidl213 out AudioPort[] ports); in listAudioPorts() argument
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp306 struct audio_port_v7 ports[numPorts]; in findDevicePort() local
307 ret = mManager->listAudioPorts(role, AUDIO_PORT_TYPE_DEVICE, &numPorts, ports, &generation2); in findDevicePort()
312 for (const auto &port : ports) { in findDevicePort()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java1067 int[] ports = res.getIntArray( in isDisplayPrivate() local
1069 if (ports != null) { in isDisplayPrivate()
1071 for (int p : ports) { in isDisplayPrivate()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h234 struct audio_port_v7 *ports,
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1328 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in configureHdmiPlugIntent() local
1330 int status = AudioSystem.listAudioPorts(ports, portGeneration); in configureHdmiPlugIntent()
1335 for (AudioPort port : ports) { in configureHdmiPlugIntent()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1463 std::unique_ptr<audio_port_v7[]> ports(new audio_port_v7[num_ports]); in listAudioPorts() local
1472 mAudioPolicyManager->listAudioPorts(role, type, &num_ports, ports.get(), &generation))); in listAudioPorts()
1475 convertRange(ports.get(), ports.get() + numPortsReq, std::back_inserter(*portsAidl), in listAudioPorts()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h364 struct audio_port_v7 *ports,
/frameworks/base/core/proto/android/service/
Dusb.proto228 // ID of the port. A device (eg: Chromebooks) might have multiple ports.
/frameworks/native/opengl/include/EGL/
Deglext.h809 …EXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports,…
818 …PortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports,…

12