Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/hdmi/
DPowerManagerWrapper.java47 WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument
48 return mPowerManager.newWakeLock(levelAndFlags, tag); in newWakeLock()
/frameworks/base/core/java/android/os/
DPowerManager.java1359 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument
1360 validateWakeLockParameters(levelAndFlags, tag); in newWakeLock()
1361 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName(), in newWakeLock()
1379 public WakeLock newWakeLock(int levelAndFlags, String tag, int displayId) { in newWakeLock() argument
1380 validateWakeLockParameters(levelAndFlags, tag); in newWakeLock()
1381 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName(), displayId); in newWakeLock()
1386 public static void validateWakeLockParameters(int levelAndFlags, String tag) { in validateWakeLockParameters() argument
1387 switch (levelAndFlags & WAKE_LOCK_LEVEL_MASK) { in validateWakeLockParameters()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java416 public PowerManager.WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() argument