Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DRawPortInfo.java40 public int usbDataStatus; field in RawPortInfo
52 this.usbDataStatus = UsbPortStatus.DATA_STATUS_UNKNOWN; in RawPortInfo()
66 int usbDataStatus, in RawPortInfo() argument
84 this.usbDataStatus = usbDataStatus; in RawPortInfo()
109 dest.writeInt(usbDataStatus); in writeToParcel()
131 int usbDataStatus = in.readInt();
141 contaminantDetectionStatus, usbDataStatus,
DUsbPortAidl.java525 int usbDataStatus = UsbPortStatus.DATA_STATUS_UNKNOWN; in toUsbDataStatusInt() local
529 usbDataStatus |= UsbPortStatus.DATA_STATUS_ENABLED; in toUsbDataStatusInt()
532 usbDataStatus |= UsbPortStatus.DATA_STATUS_DISABLED_OVERHEAT; in toUsbDataStatusInt()
535 usbDataStatus |= UsbPortStatus.DATA_STATUS_DISABLED_CONTAMINANT; in toUsbDataStatusInt()
538 usbDataStatus |= UsbPortStatus.DATA_STATUS_DISABLED_DOCK; in toUsbDataStatusInt()
541 usbDataStatus |= UsbPortStatus.DATA_STATUS_DISABLED_FORCE; in toUsbDataStatusInt()
544 usbDataStatus |= UsbPortStatus.DATA_STATUS_DISABLED_DEBUG; in toUsbDataStatusInt()
547 usbDataStatus |= UsbPortStatus.DATA_STATUS_UNKNOWN; in toUsbDataStatusInt()
550 UsbPortManager.logAndPrint(Log.INFO, mPw, "AIDL UsbDataStatus:" + usbDataStatus); in toUsbDataStatusInt()
551 return usbDataStatus; in toUsbDataStatusInt()
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java303 int contaminantDetectionStatus, @UsbDataStatus int usbDataStatus, in UsbPortStatus() argument
312 mUsbDataStatus = usbDataStatus; in UsbPortStatus()
497 int usbDataStatus = in.readInt();
502 contaminantDetectionStatus, usbDataStatus, powerTransferLimited,
604 public Builder setUsbDataStatus(@UsbDataStatus int usbDataStatus) { in setUsbDataStatus() argument
605 mUsbDataStatus = usbDataStatus; in setUsbDataStatus()
DUsbPort.java614 public static String usbDataStatusToString(int usbDataStatus) { in usbDataStatusToString() argument
617 if (usbDataStatus == DATA_STATUS_UNKNOWN) { in usbDataStatusToString()
621 if ((usbDataStatus & DATA_STATUS_ENABLED) == DATA_STATUS_ENABLED) { in usbDataStatusToString()
625 if ((usbDataStatus & DATA_STATUS_DISABLED_OVERHEAT) == DATA_STATUS_DISABLED_OVERHEAT) { in usbDataStatusToString()
629 if ((usbDataStatus & DATA_STATUS_DISABLED_CONTAMINANT) in usbDataStatusToString()
634 if ((usbDataStatus & DATA_STATUS_DISABLED_DOCK) == DATA_STATUS_DISABLED_DOCK) { in usbDataStatusToString()
638 if ((usbDataStatus & DATA_STATUS_DISABLED_FORCE) == DATA_STATUS_DISABLED_FORCE) { in usbDataStatusToString()
642 if ((usbDataStatus & DATA_STATUS_DISABLED_DEBUG) == DATA_STATUS_DISABLED_DEBUG) { in usbDataStatusToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java843 portInfo.usbDataStatus, in updatePortsLocked()
858 currentPortInfo.usbDataStatus, in updatePortsLocked()
896 int usbDataStatus, in addOrUpdatePortLocked() argument
957 contaminantDetectionStatus, usbDataStatus, in addOrUpdatePortLocked()
995 contaminantDetectionStatus, usbDataStatus, in addOrUpdatePortLocked()
1243 int contaminantDetectionStatus, int usbDataStatus, in setStatus() argument
1261 != usbDataStatus in setStatus()
1268 contaminantDetectionStatus, usbDataStatus, in setStatus()