Home
last modified time | relevance | path

Searched refs:WakeLock (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/support/v4/java/android/support/v4/content/
DWakefulBroadcastReceiver.java62 private static final SparseArray<PowerManager.WakeLock> mActiveWakeLocks
63 = new SparseArray<PowerManager.WakeLock>();
95 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService()
118 PowerManager.WakeLock wl = mActiveWakeLocks.get(id); in completeWakefulIntent()
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DWakeUpController.java21 import android.os.PowerManager.WakeLock;
32 private WakeLock mWakeLock = null;
46 public WakeLock getWakeLock() { in getWakeLock()
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java53 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock()
83 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock()
95 private void doTestWakeLock(PowerManager.WakeLock wl) { in doTestWakeLock()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeLock.java28 private PowerManager.WakeLock mWakeLock;
29 private PowerManager.WakeLock mTimerWakeLock;
/frameworks/base/core/java/android/os/
DPowerManager.java500 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock()
502 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()
1011 public final class WakeLock { class in PowerManager
1029 WakeLock(int flags, String tag, String packageName) { in WakeLock() method in PowerManager.WakeLock
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
DWakeUpCall.java28 import android.os.PowerManager.WakeLock;
108 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK | in screenOn()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java201 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>();
782 WakeLock wakeLock; in acquireWakeLockInternal()
795 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid); in acquireWakeLockInternal()
821 private static boolean isScreenLock(final WakeLock wakeLock) { in isScreenLock()
831 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock, int uid) { in applyWakeLockFlagsOnAcquireLocked()
860 WakeLock wakeLock = mWakeLocks.get(index); in releaseWakeLockInternal()
875 private void handleWakeLockDeath(WakeLock wakeLock) { in handleWakeLockDeath()
891 private void removeWakeLockLocked(WakeLock wakeLock, int index) { in removeWakeLockLocked()
900 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLock) { in applyWakeLockFlagsOnReleaseLocked()
923 WakeLock wakeLock = mWakeLocks.get(index); in updateWakeLockWorkSourceInternal()
[all …]
DShutdownThread.java111 private PowerManager.WakeLock mCpuWakeLock;
112 private PowerManager.WakeLock mScreenWakeLock;
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java36 PowerManager.WakeLock mProx;
/frameworks/base/services/core/java/com/android/server/
DConsumerIrService.java37 private final PowerManager.WakeLock mWakeLock;
DNativeDaemonConnector.java63 private final PowerManager.WakeLock mWakeLock;
81 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl) { in NativeDaemonConnector()
87 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl, in NativeDaemonConnector()
DWiredAccessoryManager.java24 import android.os.PowerManager.WakeLock;
77 private final WakeLock mWakeLock; // held while there is a pending route change
DDockObserver.java55 private final PowerManager.WakeLock mWakeLock;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java30 import android.os.PowerManager.WakeLock;
328 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleCancelPrintJob()
367 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleRestartPrintJob()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java23 import android.os.PowerManager.WakeLock;
390 private final WakeLock mWakeLock;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsStorageMonitor.java54 private PowerManager.WakeLock mWakeLock;
DWakeLockStateMachine.java40 private final PowerManager.WakeLock mWakeLock;
DProxyController.java28 import android.os.PowerManager.WakeLock;
91 WakeLock mWakeLock;
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java57 private PowerManager.WakeLock mWakeLock;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java69 private PowerManager.WakeLock mWakeLock = null;
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java42 PowerManager.WakeLock mPartialWakeLock;
/frameworks/base/media/java/android/media/
DAsyncPlayer.java132 private PowerManager.WakeLock mWakeLock;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java56 private final PowerManager.WakeLock mDexoptWakeLock;
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java253 private PowerManager.WakeLock mWakeLock;
/frameworks/base/core/java/android/net/
DDhcpStateMachine.java63 private PowerManager.WakeLock mDhcpRenewWakeLock;

1234