Home
last modified time | relevance | path

Searched refs:WakeLock (Results 1 – 25 of 100) 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.java538 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock()
540 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()
1131 public final class WakeLock { class in PowerManager
1149 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.java219 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>();
855 WakeLock wakeLock; in acquireWakeLockInternal()
868 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid); in acquireWakeLockInternal()
894 private static boolean isScreenLock(final WakeLock wakeLock) { in isScreenLock()
904 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock, int uid) { in applyWakeLockFlagsOnAcquireLocked()
933 WakeLock wakeLock = mWakeLocks.get(index); in releaseWakeLockInternal()
948 private void handleWakeLockDeath(WakeLock wakeLock) { in handleWakeLockDeath()
964 private void removeWakeLockLocked(WakeLock wakeLock, int index) { in removeWakeLockLocked()
973 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLock) { in applyWakeLockFlagsOnReleaseLocked()
996 WakeLock wakeLock = mWakeLocks.get(index); in updateWakeLockWorkSourceInternal()
[all …]
DShutdownThread.java113 private PowerManager.WakeLock mCpuWakeLock;
114 private PowerManager.WakeLock mScreenWakeLock;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java34 import android.os.PowerManager.WakeLock;
388 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleCancelPrintJob()
427 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleRestartPrintJob()
/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;
DGestureLauncherService.java33 import android.os.PowerManager.WakeLock;
69 private WakeLock mWakeLock;
DNativeDaemonConnector.java66 private final PowerManager.WakeLock mWakeLock;
84 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl) { in NativeDaemonConnector()
90 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/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java23 import android.os.PowerManager.WakeLock;
396 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;
85 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DFingerprintUnlockController.java87 private PowerManager.WakeLock mWakeLock;
/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/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java37 import android.os.PowerManager.WakeLock;
136 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock()

1234