/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | WakeLock.java | 30 public interface WakeLock { interface 60 static WakeLock createPartial(Context context, String tag) { in createPartial() 67 static WakeLock createPartial(Context context, String tag, long maxTimeout) { in createPartial() 74 static WakeLock createWakeLock(Context context, String tag, int flags, long maxTimeout) { in createWakeLock() 79 static PowerManager.WakeLock createWakeLockInner( in createWakeLockInner() 85 static Runnable wrapImpl(WakeLock w, Runnable r) { in wrapImpl() 103 static WakeLock wrap(final PowerManager.WakeLock inner, long maxTimeout) { 104 return new WakeLock() { 170 public WakeLock build() { 171 return WakeLock.createWakeLock(mContext, mTag, mLevelsAndFlags, mMaxTimeout);
|
D | DelayedWakeLock.java | 27 public class DelayedWakeLock implements WakeLock { 33 private final WakeLock mInner; 35 public DelayedWakeLock(Handler h, WakeLock inner) { in DelayedWakeLock() 52 return WakeLock.wrapImpl(this, r); in wrap() 98 return new DelayedWakeLock(mHandler, WakeLock.createPartial(mContext, mTag)); in build()
|
D | SettableWakeLock.java | 23 private final WakeLock mInner; 28 public SettableWakeLock(WakeLock inner, String why) { in SettableWakeLock()
|
D | KeepAwakeAnimationListener.java | 31 static WakeLock sWakeLock; 36 sWakeLock = WakeLock.createPartial(context, "animation"); in KeepAwakeAnimationListener()
|
/frameworks/base/core/java/android/os/ |
D | WakeLockStats.java | 31 public static class WakeLock { class in WakeLockStats 43 public WakeLock(int uid, @NonNull String name, int timesAcquired, long totalTimeHeldMs, in WakeLock() method in WakeLockStats.WakeLock 52 private WakeLock(Parcel in) { in WakeLock() method in WakeLockStats.WakeLock 80 private final List<WakeLock> mWakeLocks; 83 public WakeLockStats(@NonNull List<WakeLock> wakeLocks) { in WakeLockStats() 88 public List<WakeLock> getWakeLocks() { in getWakeLocks() 96 mWakeLocks.add(new WakeLock(in)); in WakeLockStats() 105 WakeLock stats = mWakeLocks.get(i); in writeToParcel()
|
D | PowerManager.java | 1359 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() 1361 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName(), in newWakeLock() 1379 public WakeLock newWakeLock(int levelAndFlags, String tag, int displayId) { in newWakeLock() 1381 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName(), displayId); in newWakeLock() 2919 public final class WakeLock { class in PowerManager 2939 WakeLock(int flags, String tag, String packageName, int displayId) { in WakeLock() method in PowerManager.WakeLock 3179 proto.write(PowerManagerProto.WakeLock.TAG, mTag); in dumpDebug() 3180 proto.write(PowerManagerProto.WakeLock.PACKAGE_NAME, mPackageName); in dumpDebug() 3181 proto.write(PowerManagerProto.WakeLock.HELD, mHeld); in dumpDebug() 3182 proto.write(PowerManagerProto.WakeLock.INTERNAL_COUNT, mInternalCount); in dumpDebug() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/wakelock/ |
D | WakeLockFake.java | 23 public class WakeLockFake implements WakeLock { 54 public static class Builder extends WakeLock.Builder { 55 private WakeLock mWakeLock; 61 public void setWakeLock(WakeLock wakeLock) { 65 public WakeLock build() {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockTest.java | 40 WakeLock mWakeLock; 41 PowerManager.WakeLock mInner; 45 mInner = WakeLock.createWakeLockInner(mContext, in setUp() 48 mWakeLock = WakeLock.wrap(mInner, 20000); in setUp()
|
D | KeepAwakeAnimationListenerTest.java | 41 @Mock WakeLock mWakeLock;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | PowerManagerWrapper.java | 21 import android.os.PowerManager.WakeLock; 47 WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 112 private static volatile PowerManager.WakeLock lockStatic = null; 161 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in onStartCommand() 215 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in installPackage() 368 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in uninstallPackage() 481 private void finishService(PowerManager.WakeLock lock, int startId) { in finishService() 488 private synchronized PowerManager.WakeLock getLock(Context context) { in getLock() 501 private PowerManager.WakeLock mWakeLock; 504 private PackageInstallListener(Context context, PowerManager.WakeLock wakeLock, in PackageInstallListener() 541 private PowerManager.WakeLock mWakeLock; 544 private PackageDeleteObserver(PowerManager.WakeLock wakeLock, int startId) { in PackageDeleteObserver()
|
/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/media/taptotransfer/receiver/ |
D | FakeMediaTttChipControllerReceiver.kt | 32 import com.android.systemui.util.wakelock.WakeLock 48 wakeLockBuilder: WakeLock.Builder,
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerShellCommand.java | 22 import android.os.PowerManager.WakeLock; 38 private SparseArray<WakeLock> mProxWakelocks = new SparseArray<>(); 164 WakeLock wakelock = mProxWakelocks.get(wakelockIndex); in runSetProx()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeUi.java | 34 import com.android.systemui.util.wakelock.WakeLock; 49 private final WakeLock mWakeLock; 61 WakeLock wakeLock, DozeHost host, @Main Handler handler, in DozeUi()
|
D | DozeScreenState.java | 39 import com.android.systemui.util.wakelock.WakeLock; 91 WakeLock wakeLock, in DozeScreenState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/ |
D | BroadcastSender.kt | 10 import com.android.systemui.util.wakelock.WakeLock 23 private val wakeLockBuilder: WakeLock.Builder,
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | NtpTimeHelper.java | 25 import android.os.PowerManager.WakeLock; 73 private final WakeLock mWakeLock;
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationThread.java | 88 private final PowerManager.WakeLock mWakeLock; 117 VibrationThread(PowerManager.WakeLock wakeLock, VibratorManagerHooks vibratorManagerHooks) { in VibrationThread()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 107 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock() 134 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock() 149 PowerManager.WakeLock wakeLock = mPm.newWakeLock( in testWakeLockWithWorkChains() 165 private void doTestWakeLock(PowerManager.WakeLock wl) { in doTestWakeLock()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 23 import android.os.PowerManager.WakeLock; 124 final WakeLock wakeLock = in createBogusElapsedRealtimeCheck()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/dagger/ |
D | DozeModule.java | 46 import com.android.systemui.util.wakelock.WakeLock; 76 static WakeLock providesDozeWakeLock(DelayedWakeLock.Builder delayedWakeLockBuilder, in providesDozeWakeLock()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamController.java | 112 boolean isPreviewMode, boolean canDoze, int userId, PowerManager.WakeLock wakeLock, in startDream() 312 public PowerManager.WakeLock mWakeLock; 346 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
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/ |
D | TemporaryViewDisplayController.kt | 42 import com.android.systemui.util.wakelock.WakeLock in <lambda>() 80 private val wakeLockBuilder: WakeLock.Builder, in <lambda>() 496 var wakeLock: WakeLock?, in <lambda>()
|