Home
last modified time | relevance | path

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

12345

/frameworks/support/core-utils/java/android/support/v4/content/
DWakefulBroadcastReceiver.java64 private static final SparseArray<PowerManager.WakeLock> mActiveWakeLocks
65 = new SparseArray<PowerManager.WakeLock>();
97 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService()
120 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()
DPowerManagerVrTest.java131 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice()
/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.java558 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock()
560 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()
1151 public final class WakeLock { class in PowerManager
1169 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.java225 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>();
885 WakeLock wakeLock; in acquireWakeLockInternal()
898 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid); in acquireWakeLockInternal()
924 private static boolean isScreenLock(final WakeLock wakeLock) { in isScreenLock()
934 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock, int uid) { in applyWakeLockFlagsOnAcquireLocked()
963 WakeLock wakeLock = mWakeLocks.get(index); in releaseWakeLockInternal()
978 private void handleWakeLockDeath(WakeLock wakeLock) { in handleWakeLockDeath()
994 private void removeWakeLockLocked(WakeLock wakeLock, int index) { in removeWakeLockLocked()
1003 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLock) { in applyWakeLockFlagsOnReleaseLocked()
1026 WakeLock wakeLock = mWakeLocks.get(index); in updateWakeLockWorkSourceInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamController.java122 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in startDream()
288 public PowerManager.WakeLock mWakeLock;
297 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in DreamRecord()
/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/services/core/java/com/android/server/
DConsumerIrService.java37 private final PowerManager.WakeLock mWakeLock;
DGestureLauncherService.java33 import android.os.PowerManager.WakeLock;
70 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
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java36 PowerManager.WakeLock mProx;
/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/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java42 PowerManager.WakeLock mPartialWakeLock;
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java109 private PowerManager.WakeLock mWakeLock;
318 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in onServiceConnected()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java132 private PowerManager.WakeLock mWakeLock;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DFingerprintUnlockController.java88 private PowerManager.WakeLock mWakeLock;

12345