Searched refs:POWER_SERVICE (Results 1 – 7 of 7) sorted by relevance
24 … powerManager = (PowerManager) Robolectric.application.getSystemService(Context.POWER_SERVICE); in before()
74 checkSystemService(Context.POWER_SERVICE, android.os.PowerManager.class); in shouldProvideServices()
50 .getSystemService(Service.POWER_SERVICE); in isScreenOn()
86 .getSystemService(Context.POWER_SERVICE); in WakeLockFacade()
65 mPower = (PowerManager) mService.getSystemService(Context.POWER_SERVICE); in SettingsFacade()
53 SYSTEM_SERVICE_MAP.put(Context.POWER_SERVICE, "android.os.PowerManager"); in SYSTEM_SERVICE_MAP.put() argument
274 PowerManager manager = (PowerManager) getSystemService(Context.POWER_SERVICE); in onCreate()