Home
last modified time | relevance | path

Searched refs:levelAndFlags (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DPowerManager.java558 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument
559 validateWakeLockParameters(levelAndFlags, tag); in newWakeLock()
560 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()
564 public static void validateWakeLockParameters(int levelAndFlags, String tag) { in validateWakeLockParameters() argument
565 switch (levelAndFlags & WAKE_LOCK_LEVEL_MASK) { in validateWakeLockParameters()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java138 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument