Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java285 when(mUsbPortStatus.getComplianceWarnings()).thenReturn(new int[1]); in complianceChanged_emptyComplianceWarnings_outputsFalse()
318 when(mUsbPortStatus.getComplianceWarnings()) in setupIncompatibleCharging()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java665 public @ComplianceWarning int[] getComplianceWarnings() { in getComplianceWarnings() method in UsbPortStatus
709 + UsbPort.complianceWarningsToString(getComplianceWarnings()) in toString()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java515 when(mUsbPortStatus.getComplianceWarnings()).thenReturn(new int[1]); in containsIncompatibleChargers_emptyComplianceWarnings_returnFalse()
555 when(mUsbPortStatus.getComplianceWarnings()).thenReturn(new int[] {complianceWarningType}); in setupIncompatibleCharging()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java263 UsbPort.complianceWarningsToString(status.getComplianceWarnings())); in writePortStatus()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java1398 || portInfo.mUsbPortStatus.getComplianceWarnings().length == 0) { in logToStatsdComplianceWarnings()
1404 toStatsLogConstant(portInfo.mUsbPortStatus.getComplianceWarnings())); in logToStatsdComplianceWarnings()
1490 if (Arrays.equals(complianceWarnings, mUsbPortStatus.getComplianceWarnings())) { in complianceWarningsChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java785 final int[] complianceWarnings = usbStatus.getComplianceWarnings(); in containsIncompatibleChargers()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java2384 when(mUsbPortStatus.getComplianceWarnings()) in setupIncompatibleCharging()
/frameworks/base/core/api/
Dsystem-current.txt6862 method @CheckResult @NonNull public int[] getComplianceWarnings();