/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | WakeLock.java | 24 public interface WakeLock { interface 35 static WakeLock createPartial(Context context, String tag) { in createPartial() 40 static PowerManager.WakeLock createPartialInner(Context context, String tag) { in createPartialInner() 45 static WakeLock wrap(final PowerManager.WakeLock inner) { in wrap() 46 return new WakeLock() { in wrap()
|
D | SettableWakeLock.java | 26 private final WakeLock mInner; 30 public SettableWakeLock(WakeLock inner) { in SettableWakeLock()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeFactory.java | 28 import com.android.systemui.util.wakelock.WakeLock; 45 WakeLock wakeLock = WakeLock.createPartial(context, "Doze"); in assembleMachine() 62 Handler handler, WakeLock wakeLock, DozeMachine machine) { in createDozeTriggers() 68 private DozeMachine.Part createDozeUi(Context context, DozeHost host, WakeLock wakeLock, in createDozeUi()
|
D | DozeUi.java | 26 import com.android.systemui.util.wakelock.WakeLock; 41 private final WakeLock mWakeLock; 49 WakeLock wakeLock, DozeHost host, Handler handler) { in DozeUi()
|
D | DozeMachine.java | 27 import com.android.systemui.util.wakelock.WakeLock; 103 private final WakeLock mWakeLock; 113 WakeLock wakeLock) { in DozeMachine()
|
D | DozeSensors.java | 41 import com.android.systemui.util.wakelock.WakeLock; 60 private final WakeLock mWakeLock; 69 AmbientDisplayConfiguration config, WakeLock wakeLock, Callback callback, in DozeSensors()
|
D | DozeTriggers.java | 39 import com.android.systemui.util.wakelock.WakeLock; 62 private final WakeLock mWakeLock; 74 WakeLock wakeLock, boolean allowPulseTriggers) { in DozeTriggers()
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
D | WakefulBroadcastReceiver.java | 73 private static final SparseArray<PowerManager.WakeLock> mActiveWakeLocks 74 = new SparseArray<PowerManager.WakeLock>(); 106 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService() 129 PowerManager.WakeLock wl = mActiveWakeLocks.get(id); in completeWakefulIntent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockTest.java | 39 WakeLock mWakeLock; 40 PowerManager.WakeLock mInner; 44 mInner = WakeLock.createPartialInner(mContext, WakeLockTest.class.getName()); in setUp() 45 mWakeLock = WakeLock.wrap(mInner); in setUp()
|
D | WakeLockFake.java | 21 public class WakeLockFake implements WakeLock {
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
D | WakeUpController.java | 21 import android.os.PowerManager.WakeLock; 32 private WakeLock mWakeLock = null; 46 public WakeLock getWakeLock() { in getWakeLock()
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | WakeLockRule.java | 21 import android.os.PowerManager.WakeLock; 41 WakeLock wakeLock = createWakeLock(); in apply() 52 private WakeLock createWakeLock() {
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 53 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/ |
D | SipWakeLock.java | 28 private PowerManager.WakeLock mWakeLock; 29 private PowerManager.WakeLock mTimerWakeLock;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeTriggersTest.java | 37 import com.android.systemui.util.wakelock.WakeLock; 56 private WakeLock mWakeLock;
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
D | WakeUpCall.java | 28 import android.os.PowerManager.WakeLock; 108 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK | in screenOn()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 610 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() 612 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock() 1241 public final class WakeLock { class in PowerManager 1259 WakeLock(int flags, String tag, String packageName) { in WakeLock() method in PowerManager.WakeLock
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamController.java | 125 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in startDream() 291 public PowerManager.WakeLock mWakeLock; 300 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in DreamRecord()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 263 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>(); 1034 WakeLock wakeLock; in acquireWakeLockInternal() 1054 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid, in acquireWakeLockInternal() 1081 private static boolean isScreenLock(final WakeLock wakeLock) { in isScreenLock() 1091 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock, int uid) { in applyWakeLockFlagsOnAcquireLocked() 1120 WakeLock wakeLock = mWakeLocks.get(index); in releaseWakeLockInternal() 1135 private void handleWakeLockDeath(WakeLock wakeLock) { in handleWakeLockDeath() 1151 private void removeWakeLockLocked(WakeLock wakeLock, int index) { in removeWakeLockLocked() 1166 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLock) { in applyWakeLockFlagsOnReleaseLocked() 1189 WakeLock wakeLock = mWakeLocks.get(index); in updateWakeLockWorkSourceInternal() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 54 import com.android.systemui.util.wakelock.WakeLock; 103 WakeLock.createPartial(context, "Doze:KeyguardIndication")); in KeyguardIndicationController() 113 WakeLock wakeLock) { in KeyguardIndicationController()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 33 import android.os.PowerManager.WakeLock; 368 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleCancelPrintJob() 407 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleRestartPrintJob()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 37 private final PowerManager.WakeLock mWakeLock;
|
D | GestureLauncherService.java | 33 import android.os.PowerManager.WakeLock; 70 private WakeLock mWakeLock;
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | PowerTest.java | 36 PowerManager.WakeLock mProx;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 23 import android.os.PowerManager.WakeLock; 401 private final WakeLock mWakeLock;
|