Searched refs:mPowerManager (Results 1 – 7 of 7) sorted by relevance
28 PowerManager mPowerManager; field in DevicePowerPermissionTest33 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in setUp()44 mPowerManager.goToSleep(0); in testGoToSleep()
33 private PowerManager mPowerManager; field in NoWakeLockPermissionTest40 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in setUp()41 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, "tag"); in setUp()
41 protected PowerManager mPowerManager; field in BatteryStatsDeviceTestBase46 mPowerManager = mContext.getSystemService(PowerManager.class); in setUp()
35 PowerManager.WakeLock wl = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in testHoldShortWakeLock()44 PowerManager.WakeLock wl = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in testHoldLongWakeLock()
71 private PowerManager mPowerManager; field in IdleConstraintTestActivity84 PowerManager.WakeLock wl = mPowerManager.newWakeLock(111 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in onCreate()177 PowerManager.WakeLock fullWakeLock = mPowerManager.newWakeLock( in onPostExecute()
77 private PowerManager mPowerManager; field in DeviceIdleJobsTest104 mDeviceInDoze = mPowerManager.isDeviceIdleMode();121 mPowerManager = mContext.getSystemService(PowerManager.class); in setUp()122 mDeviceInDoze = mPowerManager.isDeviceIdleMode(); in setUp()
94 private PowerManager mPowerManager; field in ConnectivityBackgroundTestActivity174 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in configureFromSystemServices()175 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in configureFromSystemServices()260 PowerManager.WakeLock screenOnLock = mPowerManager.newWakeLock( in tryScreenOn()