Home
last modified time | relevance | path

Searched refs:BATTERY_SERVICE (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryManager.java36 @SystemService(Context.BATTERY_SERVICE)
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsLoggingService.java110 (BatteryManager) context.getSystemService(Context.BATTERY_SERVICE); in isCharging()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java182 doReturn(batteryManager).when(service).getSystemService(Context.BATTERY_SERVICE); in testDontCrashOnRun()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java115 mBatteryManager = (BatteryManager) mContext.getSystemService(Context.BATTERY_SERVICE); in setUpOnce()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java633 Context.BATTERY_SERVICE); in isDeviceCharging()
/frameworks/base/core/java/android/content/
DContext.java3237 BATTERY_SERVICE,
4210 public static final String BATTERY_SERVICE = "batterymanager"; field in Context
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java242 case Context.BATTERY_SERVICE: in getSystemService()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java397 registerService(Context.BATTERY_SERVICE, BatteryManager.class, in registerService() argument
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7227 field public static final java.lang.String BATTERY_SERVICE = "batterymanager";
/frameworks/base/api/
Dcurrent.txt9801 field public static final String BATTERY_SERVICE = "batterymanager";