/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 Runnable wrapImpl(WakeLock w, Runnable r) { in wrapImpl() 56 static WakeLock wrap(final PowerManager.WakeLock inner) { 57 return new WakeLock() {
|
D | DelayedWakeLock.java | 24 public class DelayedWakeLock implements WakeLock { 29 private final WakeLock mInner; 32 public DelayedWakeLock(Handler h, WakeLock inner) { in DelayedWakeLock() 50 return WakeLock.wrapImpl(this, r); in wrap()
|
D | SettableWakeLock.java | 26 private final WakeLock mInner; 30 public SettableWakeLock(WakeLock inner) { in SettableWakeLock()
|
D | KeepAwakeAnimationListener.java | 30 static WakeLock sWakeLock; 35 sWakeLock = WakeLock.createPartial(context, "animation"); in KeepAwakeAnimationListener()
|
/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 {
|
D | KeepAwakeAnimationListenerTest.java | 39 @Mock WakeLock mWakeLock;
|
/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/src/androidTest/java/androidx/wear/widget/util/ |
D | WakeLockRule.java | 21 import android.os.PowerManager.WakeLock; 41 WakeLock wakeLock = createWakeLock(); in apply() 52 private WakeLock createWakeLock() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeFactory.java | 36 import com.android.systemui.util.wakelock.WakeLock; 53 WakeLock wakeLock = new DelayedWakeLock(handler, in assembleMachine() 54 WakeLock.createPartial(context, "Doze")); in assembleMachine() 89 DozeParameters params, Handler handler, WakeLock wakeLock, DozeMachine machine) { in createDozeTriggers() 95 private DozeMachine.Part createDozeUi(Context context, DozeHost host, WakeLock wakeLock, in createDozeUi()
|
D | DozeUi.java | 33 import com.android.systemui.util.wakelock.WakeLock; 47 private final WakeLock mWakeLock; 67 WakeLock wakeLock, DozeHost host, Handler handler, in DozeUi()
|
D | DozeScreenState.java | 25 import com.android.systemui.util.wakelock.WakeLock; 56 DozeParameters parameters, WakeLock wakeLock) { in DozeScreenState()
|
D | DozeMachine.java | 29 import com.android.systemui.util.wakelock.WakeLock; 113 private final WakeLock mWakeLock; 123 WakeLock wakeLock) { in DozeMachine()
|
/frameworks/support/legacy/core-utils/src/main/java/androidx/legacy/content/ |
D | WakefulBroadcastReceiver.java | 76 private static final SparseArray<PowerManager.WakeLock> sActiveWakeLocks = new SparseArray<>(); 108 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService() 131 PowerManager.WakeLock wl = sActiveWakeLocks.get(id); in completeWakefulIntent()
|
/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() 80 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock() 92 private void doTestWakeLock(PowerManager.WakeLock wl) { in doTestWakeLock()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 759 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() 761 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock() 1403 public final class WakeLock { class in PowerManager 1422 WakeLock(int flags, String tag, String packageName) { in WakeLock() method in PowerManager.WakeLock 1661 proto.write(PowerManagerProto.WakeLock.TAG, mTag); in writeToProto() 1662 proto.write(PowerManagerProto.WakeLock.PACKAGE_NAME, mPackageName); in writeToProto() 1663 proto.write(PowerManagerProto.WakeLock.HELD, mHeld); in writeToProto() 1664 proto.write(PowerManagerProto.WakeLock.INTERNAL_COUNT, mInternalCount); in writeToProto() 1666 mWorkSource.writeToProto(proto, PowerManagerProto.WakeLock.WORK_SOURCE); in writeToProto()
|
/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/services/robotests/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 47 PowerManager.WakeLock wakeLock, in setUpBackupManagerServiceBasics() 61 public static PowerManager.WakeLock createBackupWakeLock(Application application) { in createBackupWakeLock()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeTriggersTest.java | 38 import com.android.systemui.util.wakelock.WakeLock; 59 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/services/core/java/com/android/server/location/ |
D | NtpTimeHelper.java | 9 import android.os.PowerManager.WakeLock; 57 private final WakeLock mWakeLock;
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
D | WakeLocks.java | 41 public static PowerManager.WakeLock newWakeLock( in newWakeLock()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 269 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>(); 978 WakeLock wakeLock; in acquireWakeLockInternal() 998 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid, in acquireWakeLockInternal() 1025 private static boolean isScreenLock(final WakeLock wakeLock) { in isScreenLock() 1035 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock, int uid) { in applyWakeLockFlagsOnAcquireLocked() 1064 WakeLock wakeLock = mWakeLocks.get(index); in releaseWakeLockInternal() 1079 private void handleWakeLockDeath(WakeLock wakeLock) { in handleWakeLockDeath() 1095 private void removeWakeLockLocked(WakeLock wakeLock, int index) { in removeWakeLockLocked() 1110 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLock) { in applyWakeLockFlagsOnReleaseLocked() 1133 WakeLock wakeLock = mWakeLocks.get(index); in updateWakeLockWorkSourceInternal() [all …]
|
/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/core/proto/android/os/ |
D | powermanager.proto | 38 // WakeLock class in android.os.PowerManager, it is the one used by sdk 39 message WakeLock { message
|