Searched refs:complianceWarnings (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | RawPortInfo.java | 46 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,
|
D | UsbPortAidl.java | 590 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/ |
D | UsbPortStatus.java | 471 @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()
|
D | UsbPort.java | 794 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/ |
D | UsbPortManager.java | 864 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 …]
|
D | UsbService.java | 1288 final String complianceWarnings = args[2]; in dump() local 1290 mPortManager.simulateComplianceWarnings(portId, complianceWarnings, pw); in dump()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 785 final int[] complianceWarnings = usbStatus.getComplianceWarnings(); in containsIncompatibleChargers() local 786 if (complianceWarnings == null || complianceWarnings.length == 0) { in containsIncompatibleChargers() 789 for (int complianceWarningType : complianceWarnings) { in containsIncompatibleChargers()
|