Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DRawPortInfo.java46 public int[] complianceWarnings; field in RawPortInfo
63 this.complianceWarnings = new int[] {}; in RawPortInfo()
103 int[] complianceWarnings, in RawPortInfo() argument
126 this.complianceWarnings = complianceWarnings; in RawPortInfo()
156 dest.writeIntArray(complianceWarnings); in writeToParcel()
187 int[] complianceWarnings = in.createIntArray();
204 supportsComplianceWarnings, complianceWarnings,
DUsbPortAidl.java590 private int[] formatComplianceWarnings(int[] complianceWarnings) { in formatComplianceWarnings() argument
591 Objects.requireNonNull(complianceWarnings); in formatComplianceWarnings()
593 Arrays.sort(complianceWarnings); in formatComplianceWarnings()
594 for (int warning : complianceWarnings) { in formatComplianceWarnings()
696 formatComplianceWarnings(current.complianceWarnings), in notifyPortStatusChange()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java471 @NonNull @ComplianceWarning int[] complianceWarnings, in UsbPortStatus() argument
497 mComplianceWarnings = complianceWarnings; in UsbPortStatus()
757 @ComplianceWarning int[] complianceWarnings = in.createIntArray();
770 complianceWarnings, plugState, displayPortAltModeInfo);
901 @NonNull int[] complianceWarnings) { in setComplianceWarnings()
902 mComplianceWarnings = complianceWarnings == null ? new int[] {} : in setComplianceWarnings()
903 complianceWarnings; in setComplianceWarnings()
DUsbPort.java794 public static String complianceWarningsToString(@NonNull int[] complianceWarnings) { in complianceWarningsToString() argument
798 if (complianceWarnings != null) { in complianceWarningsToString()
799 for (int warning : complianceWarnings) { in complianceWarningsToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java864 IntArray complianceWarnings = new IntArray(); in simulateComplianceWarnings() local
867 complianceWarnings.add(Integer.parseInt(s)); in simulateComplianceWarnings()
872 portInfo.complianceWarnings = complianceWarnings.toArray(); in simulateComplianceWarnings()
988 portInfo.complianceWarnings, in updatePortsLocked()
1009 currentPortInfo.complianceWarnings, in updatePortsLocked()
1059 @NonNull int[] complianceWarnings, in addOrUpdatePortLocked() argument
1125 complianceWarnings, plugState, displayPortAltModeInfo); in addOrUpdatePortLocked()
1163 complianceWarnings, plugState, displayPortAltModeInfo)) { in addOrUpdatePortLocked()
1224 private static int[] toStatsLogConstant(@NonNull int[] complianceWarnings) { in toStatsLogConstant() argument
1226 for (int warning : complianceWarnings) { in toStatsLogConstant()
[all …]
DUsbService.java1288 final String complianceWarnings = args[2]; in dump() local
1290 mPortManager.simulateComplianceWarnings(portId, complianceWarnings, pw); in dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java785 final int[] complianceWarnings = usbStatus.getComplianceWarnings(); in containsIncompatibleChargers() local
786 if (complianceWarnings == null || complianceWarnings.length == 0) { in containsIncompatibleChargers()
789 for (int complianceWarningType : complianceWarnings) { in containsIncompatibleChargers()