Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java23 import static android.os.BatteryManager.EXTRA_LEVEL;
65 level = batteryChangedIntent.getIntExtra(EXTRA_LEVEL, 0); in BatteryStatus()
/frameworks/base/core/java/android/os/
DBatteryManager.java61 public static final String EXTRA_LEVEL = "level"; field in BatteryManager
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUpdateInstaller.java101 int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, /* defaultValue= */ -1); in calculateBatteryPercentage()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java173 int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java159 * intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0) in onReceive()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java320 final Intent intent = new Intent().putExtra(BatteryManager.EXTRA_LEVEL, 100); in getBatteryStatus_statusIsFull_returnFullString()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java156 int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); in getBatteryLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java264 mBatteryLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 100); in onReceive()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java700 intent.putExtra(BatteryManager.EXTRA_LEVEL, mHealthInfo.batteryLevel); in sendBatteryChangedIntentLocked()
727 event.putInt(BatteryManager.EXTRA_LEVEL, mHealthInfo.batteryLevel); in sendBatteryLevelChangedIntentLocked()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java270 int newLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0);
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java956 int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); in onReceive()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java767 intent.putExtra(BatteryManager.EXTRA_LEVEL, level); in batteryChangeEvent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21378 field public static final java.lang.String EXTRA_LEVEL = "level";
/frameworks/base/api/
Dcurrent.txt35752 field public static final String EXTRA_LEVEL = "level";