Searched refs:levelAndFlags (Results 1 – 1 of 1) sorted by relevance
408 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument409 validateWakeLockParameters(levelAndFlags, tag); in newWakeLock()410 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()414 public static void validateWakeLockParameters(int levelAndFlags, String tag) { in validateWakeLockParameters() argument415 switch (levelAndFlags & WAKE_LOCK_LEVEL_MASK) { in validateWakeLockParameters()