Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java468 setupIncompatibleCharging(UsbPortStatus.COMPLIANCE_WARNING_OTHER); in containsIncompatibleChargers_complianeWarningOther_returnTrue_flagDisabled()
477 setupIncompatibleCharging(UsbPortStatus.COMPLIANCE_WARNING_INPUT_POWER_LIMITED); in containsIncompatibleChargers_complianeWarningPower_returnFalse_flagDisabled()
486 setupIncompatibleCharging(UsbPortStatus.COMPLIANCE_WARNING_OTHER); in containsIncompatibleChargers_complianeWarningOther_returnFalse_flagEnabled()
495 setupIncompatibleCharging(UsbPortStatus.COMPLIANCE_WARNING_INPUT_POWER_LIMITED); in containsIncompatibleChargers_complianeWarningPower_returnTrue_flagEnabled()
502 setupIncompatibleCharging(UsbPortStatus.COMPLIANCE_WARNING_DEBUG_ACCESSORY); in containsIncompatibleChargers_complianeWarningDebug_returnTrue()
508 setupIncompatibleCharging(UsbPortStatus.COMPLIANCE_WARNING_BC_1_2); in containsIncompatibleChargers_unexpectedWarningType_returnFalse()
514 setupIncompatibleCharging(); in containsIncompatibleChargers_emptyComplianceWarnings_returnFalse()
521 setupIncompatibleCharging(); in containsIncompatibleChargers_notSupportComplianceWarnings_returnFalse()
529 setupIncompatibleCharging(); in containsIncompatibleChargers_usbNotConnected_returnFalse()
537 setupIncompatibleCharging(); in containsIncompatibleChargers_disableWarning_returnFalse()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java273 setupIncompatibleCharging(); in complianceChanged_complianceIncompatible_outputsTrue()
284 setupIncompatibleCharging(); in complianceChanged_emptyComplianceWarnings_outputsFalse()
311 private void setupIncompatibleCharging() { in setupIncompatibleCharging() method in BatteryControllerTest
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java1907 setupIncompatibleCharging(); in testUsbComplianceIntent_refreshBatteryInfoWithIncompatibleCharger()
2377 private void setupIncompatibleCharging() { in setupIncompatibleCharging() method in KeyguardUpdateMonitorTest