Searched refs:levelAndFlags (Results 1 – 2 of 2) sorted by relevance
759 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument760 validateWakeLockParameters(levelAndFlags, tag); in newWakeLock()761 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()765 public static void validateWakeLockParameters(int levelAndFlags, String tag) { in validateWakeLockParameters() argument766 switch (levelAndFlags & WAKE_LOCK_LEVEL_MASK) { in validateWakeLockParameters()
346 public PowerManager.WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument