Searched refs:mDeviceSuspendLock (Results 1 – 1 of 1) sorted by relevance
55 private PowerManager.WakeLock mDeviceSuspendLock; field in DeviceSuspendTestActivity76 mDeviceSuspendLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in activitySetUp()78 mDeviceSuspendLock.acquire(); in activitySetUp()93 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in activityCleanUp()94 mDeviceSuspendLock.release(); in activityCleanUp()119 if (!mDeviceSuspendLock.isHeld()) {120 mDeviceSuspendLock.acquire();215 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in testTimestampClockSource()217 mDeviceSuspendLock.release(); in testTimestampClockSource()229 mDeviceSuspendLock.acquire(); in testTimestampClockSource()[all …]