Searched refs:sCpuWakeLock (Results 1 - 2 of 2) sorted by relevance

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertWakeLock.java30 private static PowerManager.WakeLock sCpuWakeLock; field in class:CellBroadcastAlertWakeLock
35 if (sCpuWakeLock != null) {
39 sCpuWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
41 sCpuWakeLock.acquire();
46 if (sCpuWakeLock != null) {
47 sCpuWakeLock.release();
48 sCpuWakeLock = null;
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmAlertWakeLock.java27 private static PowerManager.WakeLock sCpuWakeLock; field in class:AlarmAlertWakeLock
35 if (sCpuWakeLock != null) {
39 sCpuWakeLock = createPartialWakeLock(context);
40 sCpuWakeLock.acquire();
44 if (sCpuWakeLock != null) {
48 sCpuWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
50 sCpuWakeLock.acquire();
54 if (sCpuWakeLock != null) {
55 sCpuWakeLock.release();
56 sCpuWakeLock
[all...]

Completed in 270 milliseconds