Lines Matching refs:WakeLock
24 * Container for PowerManager / PowerManager.WakeLock access in telecom to facilitate unit testing.
30 private PowerManager.WakeLock mWakeLock;
32 public WakeLockAdapter(PowerManager.WakeLock wakeLock) {
33 mWakeLock = wakeLock;
81 PowerManager.WakeLock wakeLock = powerManager.newWakeLock(mWakeLockLevel, mWakeLockTag);
82 adapter = new WakeLockAdapter(wakeLock);
93 Log.i(TAG, "Can not acquire WakeLock (not supported) with level: " + mWakeLockLevel);
99 Log.i(TAG, "Acquiring WakeLock with id: " + mWakeLockLevel);
101 Log.i(TAG, "WakeLock already acquired for id: " + mWakeLockLevel);
107 Log.i(TAG, "Can not release WakeLock (not supported) with id: " + mWakeLockLevel);
113 Log.i(TAG, "Releasing WakeLock with id: " + mWakeLockLevel);
115 Log.i(TAG, "WakeLock already released with id: " + mWakeLockLevel);