/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
D | AlarmOperation.java | 53 private WakeLock mWakeLock = null; field in AlarmOperation 119 if (mCompleted || mWakeLock != null) { in acquireWakeLock() 123 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKE_LOCK_TAG); in acquireWakeLock() 131 if (mWakeLock != null) { in releaseWakeLock() 132 mWakeLock.release(); in releaseWakeLock() 134 mWakeLock = null; in releaseWakeLock()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaFrameworkTest.java | 36 private PowerManager.WakeLock mWakeLock = null; field in MediaFrameworkTest 52 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest"); in onCreate() 53 mWakeLock.setReferenceCounted(false); in onCreate() 60 mWakeLock.acquire(); in onResume() 66 mWakeLock.release(); in onPause()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoWakeLockPermissionTest.java | 34 private PowerManager.WakeLock mWakeLock; field in NoWakeLockPermissionTest 40 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, "tag"); in setUp() 88 mWakeLock.acquire(); in testPowerManagerWakeLockAcquire() 104 mWakeLock.acquire(1); in testPowerManagerWakeLockAcquire2()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestActivity.java | 57 private PowerManager.WakeLock mWakeLock; field in SensorCtsTestActivity 71 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SensorCtsTests"); in activitySetUp() 82 mWakeLock.acquire(); in activitySetUp() 96 if (mWakeLock.isHeld()) { in activityCleanUp() 97 mWakeLock.release(); in activityCleanUp()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SensorTest.java | 60 private PowerManager.WakeLock mWakeLock; field in SensorTest 72 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in setUp() 86 mWakeLock.acquire(); in setUp() 105 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown() 106 mWakeLock.release(); in tearDown()
|
D | SensorManagerStaticTest.java | 34 private PowerManager.WakeLock mWakeLock; field in SensorManagerStaticTest 40 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in setUp() 42 mWakeLock.acquire(); in setUp() 47 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown() 48 mWakeLock.release(); in tearDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | PassFailButtons.java | 105 private WakeLock mWakeLock; field in PassFailButtons.Activity 116 mWakeLock = ((PowerManager) getSystemService(Context.POWER_SERVICE)) in onResume() 118 mWakeLock.acquire(); in onResume() 126 mWakeLock.release(); in onPause()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | ConnectivityScreenOffTestActivity.java | 96 private PowerManager.WakeLock mWakeLock; field in ConnectivityScreenOffTestActivity 130 mWakeLock.release(); in onDestroy() 175 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in configureFromSystemServices() 176 mWakeLock.acquire(); in configureFromSystemServices()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | PhotoCaptureActivity.java | 79 private WakeLock mWakeLock; field in PhotoCaptureActivity 194 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG); in onResume() 195 mWakeLock.acquire(); in onResume() 243 mWakeLock.release(); in onPause()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 16457 private android.os.PowerManager$WakeLock mWakeLock 17371 private android.os.PowerManager$WakeLock mWakeLock 39857 private android.os.PowerManager$WakeLock mWakeLock 41575 private android.os.PowerManager$WakeLock mWakeLock 127146 android.os.PowerManager$WakeLock mWakeLock
|