Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java199 contaminantStatus = portInfo.mUsbPortStatus.getContaminantDetectionStatus(); in updateContaminantNotification()
303 return portInfo != null ? portInfo.mUsbPortStatus : null; in getPortStatus()
327 if ((enable && portInfo.mUsbPortStatus.getContaminantDetectionStatus() in enableContaminantDetection()
329 && portInfo.mUsbPortStatus.getContaminantDetectionStatus() in enableContaminantDetection()
331 || (portInfo.mUsbPortStatus.getContaminantDetectionStatus() in enableContaminantDetection()
359 if (!portInfo.mUsbPortStatus.isRoleCombinationSupported(newPowerRole, newDataRole)) { in setPortRoles()
368 final int currentDataRole = portInfo.mUsbPortStatus.getCurrentDataRole(); in setPortRoles()
369 final int currentPowerRole = portInfo.mUsbPortStatus.getCurrentPowerRole(); in setPortRoles()
386 final int currentMode = portInfo.mUsbPortStatus.getCurrentMode(); in setPortRoles()
846 portInfo.mUsbPortStatus = null; // must do this early in updatePortsLocked()
[all …]