Home
last modified time | relevance | path

Searched refs:portInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java165 final PortInfo portInfo = mPorts.get(portId); in getPortStatus() local
166 return portInfo != null ? portInfo.mUsbPortStatus : null; in getPortStatus()
173 final PortInfo portInfo = mPorts.get(portId); in setPortRoles() local
174 if (portInfo == null) { in setPortRoles()
182 if (!portInfo.mUsbPortStatus.isRoleCombinationSupported(newPowerRole, newDataRole)) { in setPortRoles()
191 final int currentDataRole = portInfo.mUsbPortStatus.getCurrentDataRole(); in setPortRoles()
192 final int currentPowerRole = portInfo.mUsbPortStatus.getCurrentPowerRole(); in setPortRoles()
206 final boolean canChangeMode = portInfo.mCanChangeMode; in setPortRoles()
207 final boolean canChangePowerRole = portInfo.mCanChangePowerRole; in setPortRoles()
208 final boolean canChangeDataRole = portInfo.mCanChangeDataRole; in setPortRoles()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DSignature.java177 PortInfo portInfo = entry.getValue(); in checkInputPortsConform() local
179 if (inputPort == null && portInfo.isRequired()) { in checkInputPortsConform()
198 PortInfo portInfo = entry.getValue(); in checkOutputPortsConform() local
200 if (outputPort == null && portInfo.isRequired()) { in checkOutputPortsConform()
221 private void addInputPort(String name, PortInfo portInfo) { in addInputPort() argument
228 mInputPorts.put(name, portInfo); in addInputPort()
231 private void addOutputPort(String name, PortInfo portInfo) { in addOutputPort() argument
238 mOutputPorts.put(name, portInfo); in addOutputPort()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java722 HdmiPortInfo portInfo = getPortInfo(portId); in portIdToPath() local
723 if (portInfo == null) { in portIdToPath()
727 return portInfo.getAddress(); in portIdToPath()