Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_DOCK (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java70 | BatteryManager.BATTERY_PLUGGED_DOCK; in run()
81 val = BatteryManager.BATTERY_PLUGGED_DOCK; in run()
/frameworks/base/core/java/android/os/
DBatteryManager.java210 public static final int BATTERY_PLUGGED_DOCK = OsProtoEnums.BATTERY_PLUGGED_DOCK; // = 8 field in BatteryManager
281 | BATTERY_PLUGGED_DOCK;
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/
DBatteryStatusTest.kt23 import android.os.BatteryManager.BATTERY_PLUGGED_DOCK
176 arrayOf("withDock_returnsTrue", BATTERY_PLUGGED_DOCK, true), in parameters()
209 arrayOf("withDock_returnsTrue", BATTERY_PLUGGED_DOCK, true), in parameters()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DGlobalSettingsValidators.java68 || (val == BatteryManager.BATTERY_PLUGGED_DOCK) in VALIDATORS.put()
77 | BatteryManager.BATTERY_PLUGGED_DOCK)) in VALIDATORS.put()
83 | BatteryManager.BATTERY_PLUGGED_DOCK)) in VALIDATORS.put()
86 | BatteryManager.BATTERY_PLUGGED_DOCK)) in VALIDATORS.put()
94 | BatteryManager.BATTERY_PLUGGED_DOCK)) in VALIDATORS.put()
98 | BatteryManager.BATTERY_PLUGGED_DOCK)); in VALIDATORS.put()
DSystemSettingsValidators.java61 || (val == BatteryManager.BATTERY_PLUGGED_DOCK) in VALIDATORS.put()
77 | BatteryManager.BATTERY_PLUGGED_DOCK)) in VALIDATORS.put()
80 | BatteryManager.BATTERY_PLUGGED_DOCK)); in VALIDATORS.put()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java242 || plugged == BatteryManager.BATTERY_PLUGGED_DOCK; in isPluggedIn()
253 return plugged == BatteryManager.BATTERY_PLUGGED_DOCK; in isPluggedInDock()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java221 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_DOCK); in batteryStateChanged_withChargingSourceDock_isChargingSourceDockTrue()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java381 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_DOCK) != 0 in isPoweredLocked()
499 return BatteryManager.BATTERY_PLUGGED_DOCK; in plugType()
1277 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_DOCK; in dumpProto()
/frameworks/proto_logging/stats/enums/os/
Denums.proto50 BATTERY_PLUGGED_DOCK = 8; enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java545 return mPluggedChargingSource == BatteryManager.BATTERY_PLUGGED_DOCK; in isChargingSourceDock()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java402 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_DOCK); in getBatteryStatus_chargingDock_returnDockChargingString()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java896 .thenReturn(BatteryManager.BATTERY_PLUGGED_DOCK); in testWakefulnessDream_shouldStopDreamingWhenUndocked_whenNotConfigured()
926 .thenReturn(BatteryManager.BATTERY_PLUGGED_DOCK); in testWakefulnessDream_shouldKeepDreamingWhenUndocked_whenConfigured()
956 .thenReturn(BatteryManager.BATTERY_PLUGGED_DOCK); in testWakefulnessDream_shouldStopDreamingWhenUndocked_whenDreamPrevents()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java5157 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_DOCK)
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt32579 field public static final int BATTERY_PLUGGED_DOCK = 8; // 0x8