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.java199 for (PortInfo portInfo : mPorts.values()) { in updateContaminantNotification()
200 contaminantStatus = portInfo.mUsbPortStatus.getContaminantDetectionStatus(); in updateContaminantNotification()
203 currentPortInfo = portInfo; in updateContaminantNotification()
303 final PortInfo portInfo = mPorts.get(portId); in getPortStatus() local
304 return portInfo != null ? portInfo.mUsbPortStatus : null; in getPortStatus()
316 final PortInfo portInfo = mPorts.get(portId); in enableContaminantDetection() local
317 if (portInfo == null) { in enableContaminantDetection()
324 if (!portInfo.mUsbPort.supportsEnableContaminantPresenceDetection()) { in enableContaminantDetection()
328 if ((enable && portInfo.mUsbPortStatus.getContaminantDetectionStatus() in enableContaminantDetection()
330 && 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.java858 for (android.hardware.tv.cec.V1_0.HdmiPortInfo portInfo : hdmiPortInfos) { in nativeGetPortInfos()
859 hdmiPortInfo[i] = new HdmiPortInfo(portInfo.portId, in nativeGetPortInfos()
860 portInfo.type, in nativeGetPortInfos()
861 portInfo.physicalAddress, in nativeGetPortInfos()
862 portInfo.cecSupported, in nativeGetPortInfos()
864 portInfo.arcSupported); in nativeGetPortInfos()
DHdmiControlService.java952 void setPortInfo(List<HdmiPortInfo> portInfo) { in setPortInfo() argument
954 mPortInfo = portInfo; in setPortInfo()
973 HdmiPortInfo portInfo = getPortInfo(portId); in portIdToPath() local
974 if (portInfo == null) { in portIdToPath()
978 return portInfo.getAddress(); in portIdToPath()