Searched refs:BATTERY_SERVICE (Results 1 – 10 of 10) sorted by relevance
36 @SystemService(Context.BATTERY_SERVICE)
110 (BatteryManager) context.getSystemService(Context.BATTERY_SERVICE); in isCharging()
182 doReturn(batteryManager).when(service).getSystemService(Context.BATTERY_SERVICE); in testDontCrashOnRun()
115 mBatteryManager = (BatteryManager) mContext.getSystemService(Context.BATTERY_SERVICE); in setUpOnce()
633 Context.BATTERY_SERVICE); in isDeviceCharging()
3237 BATTERY_SERVICE,4210 public static final String BATTERY_SERVICE = "batterymanager"; field in Context
242 case Context.BATTERY_SERVICE: in getSystemService()
397 registerService(Context.BATTERY_SERVICE, BatteryManager.class, in registerService() argument
7227 field public static final java.lang.String BATTERY_SERVICE = "batterymanager";
9801 field public static final String BATTERY_SERVICE = "batterymanager";