Home
last modified time | relevance | path

Searched refs:isPluggedInDock (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java120 public boolean isPluggedInDock() { in isPluggedInDock() method in BatteryStatus
121 return isPluggedInDock(plugged); in isPluggedInDock()
246 public static boolean isPluggedInDock(Intent batteryChangedIntent) { in isPluggedInDock() method in BatteryStatus
247 return isPluggedInDock( in isPluggedInDock()
252 public static boolean isPluggedInDock(int plugged) { in isPluggedInDock() method in BatteryStatus
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/
DBatteryStatusTest.kt196 .that(BatteryStatus.isPluggedInDock(plugged)) in parameters()
199 .that(BatteryStatus.isPluggedInDock(batteryChangedIntent)) in parameters()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java263 } else if (batteryStatus.isPluggedInDock()) { in getBatteryStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java1273 mPowerPluggedInDock = status.isPluggedInDock() && isChargingOrFull; in onRefreshBatteryInfo()