Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java198 for (PortInfo portInfo : mPorts.values()) { in updateContaminantNotification()
199 contaminantStatus = portInfo.mUsbPortStatus.getContaminantDetectionStatus(); in updateContaminantNotification()
202 currentPortInfo = portInfo; in updateContaminantNotification()
302 final PortInfo portInfo = mPorts.get(portId); in getPortStatus() local
303 return portInfo != null ? portInfo.mUsbPortStatus : null; in getPortStatus()
315 final PortInfo portInfo = mPorts.get(portId); in enableContaminantDetection() local
316 if (portInfo == null) { in enableContaminantDetection()
323 if (!portInfo.mUsbPort.supportsEnableContaminantPresenceDetection()) { in enableContaminantDetection()
327 if ((enable && portInfo.mUsbPortStatus.getContaminantDetectionStatus() in enableContaminantDetection()
329 && portInfo.mUsbPortStatus.getContaminantDetectionStatus() in enableContaminantDetection()
[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/
DHdmiCecController.java819 for (android.hardware.tv.cec.V1_0.HdmiPortInfo portInfo : hdmiPortInfos) { in nativeGetPortInfos()
820 hdmiPortInfo[i] = new HdmiPortInfo(portInfo.portId, in nativeGetPortInfos()
821 portInfo.type, in nativeGetPortInfos()
822 portInfo.physicalAddress, in nativeGetPortInfos()
823 portInfo.cecSupported, in nativeGetPortInfos()
825 portInfo.arcSupported); in nativeGetPortInfos()
DHdmiControlService.java872 HdmiPortInfo portInfo = getPortInfo(portId); in portIdToPath() local
873 if (portInfo == null) { in portIdToPath()
877 return portInfo.getAddress(); in portIdToPath()