Searched refs:levelAndFlags (Results 1 – 2 of 2) sorted by relevance
932 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument933 validateWakeLockParameters(levelAndFlags, tag); in newWakeLock()934 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()939 public static void validateWakeLockParameters(int levelAndFlags, String tag) { in validateWakeLockParameters() argument940 switch (levelAndFlags & WAKE_LOCK_LEVEL_MASK) { in validateWakeLockParameters()
352 public PowerManager.WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument