/frameworks/base/services/core/java/com/android/server/display/ |
D | WakelockController.java | 123 public boolean acquireWakelock(@WAKE_LOCK_TYPE int wakelock) { in acquireWakelock() argument 124 return acquireWakelockInternal(wakelock); in acquireWakelock() 134 public boolean releaseWakelock(@WAKE_LOCK_TYPE int wakelock) { in releaseWakelock() argument 135 return releaseWakelockInternal(wakelock); in releaseWakelock() 147 private boolean acquireWakelockInternal(@WAKE_LOCK_TYPE int wakelock) { in acquireWakelockInternal() argument 148 switch (wakelock) { in acquireWakelockInternal() 164 private boolean releaseWakelockInternal(@WAKE_LOCK_TYPE int wakelock) { in releaseWakelockInternal() argument 165 switch (wakelock) { in releaseWakelockInternal()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerShellCommand.java | 166 WakeLock wakelock = mProxWakelocks.get(wakelockIndex); in runSetProx() local 167 if (wakelock == null) { in runSetProx() 169 wakelock = pm.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, in runSetProx() 171 mProxWakelocks.put(wakelockIndex, wakelock); in runSetProx() 175 wakelock.acquire(); in runSetProx() 177 wakelock.release(); in runSetProx() 179 pw.println(wakelock); in runSetProx()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | ClientTrackingWakeLock.kt | 17 package com.android.systemui.util.wakelock in <lambda>() 21 import com.android.systemui.util.wakelock.WakeLock.Builder.NO_TIMEOUT in <lambda>()
|
D | WakeLockLog.java | 17 package com.android.systemui.util.wakelock;
|
D | SettableWakeLock.java | 17 package com.android.systemui.util.wakelock;
|
D | WakeLockLogger.kt | 17 package com.android.systemui.util.wakelock
|
D | KeepAwakeAnimationListener.java | 17 package com.android.systemui.util.wakelock;
|
D | DelayedWakeLock.java | 17 package com.android.systemui.util.wakelock;
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | ActiveRestoreSession.java | 124 UserBackupManagerService.BackupWakeLock wakelock = mBackupManagerService.getWakelock(); in getAvailableRestoreSets() local 125 wakelock.acquire(); in getAvailableRestoreSets() 131 wakelock.release(); in getAvailableRestoreSets() 434 UserBackupManagerService.BackupWakeLock wakelock = mBackupManagerService.getWakelock(); in sendRestoreToHandlerLocked() local 435 wakelock.acquire(); in sendRestoreToHandlerLocked() 444 wakelock.release(); in sendRestoreToHandlerLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsDreamService.kt | 31 import com.android.systemui.util.wakelock.WakeLock 32 import com.android.systemui.util.wakelock.WakeLock.Builder.NO_TIMEOUT
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/broadcast/ |
D | BroadcastSenderKosmos.kt | 23 import com.android.systemui.util.wakelock.WakeLockFake
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | HealthStatsBatteryStatsWriter.java | 88 final BatteryStats.Uid.Wakelock wakelock = entry.getValue(); in writeUid() local 91 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_FULL); in writeUid() 95 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL); in writeUid() 99 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_WINDOW); in writeUid() 103 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_DRAW); in writeUid()
|
/frameworks/base/services/core/java/com/android/server/power/feature/ |
D | power_flags.aconfig | 17 … flag for tracking the optimizations to improve the latency of acquiring and releasing a wakelock."
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/wakelock/ |
D | WakeLockFake.java | 17 package com.android.systemui.util.wakelock;
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | WakelockPowerCalculator.java | 116 final BatteryStats.Uid.Wakelock wakelock = wakelockStats.valueAt(i); in calculateApp() local 120 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL); in calculateApp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/dagger/ |
D | DozeModule.java | 44 import com.android.systemui.util.wakelock.DelayedWakeLock; 45 import com.android.systemui.util.wakelock.WakeLock;
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDataFilterKosmos.kt | 29 import com.android.systemui.util.wakelock.WakeLockFake
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | KeepAwakeAnimationListenerTest.java | 17 package com.android.systemui.util.wakelock;
|
D | SettableWakeLockTest.java | 17 package com.android.systemui.util.wakelock;
|
D | WakeLockTest.java | 17 package com.android.systemui.util.wakelock;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenState.java | 41 import com.android.systemui.util.wakelock.SettableWakeLock; 42 import com.android.systemui.util.wakelock.WakeLock;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/ |
D | FakeMediaTttChipControllerReceiver.kt | 33 import com.android.systemui.util.wakelock.WakeLock
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/ |
D | BroadcastSender.kt | 10 import com.android.systemui.util.wakelock.WakeLock
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 266 // Kernel wakelock metrics are only recorded when the device is unplugged 272 // Kernel wakelock stats aren't apportioned across all kernel wakelocks (as 286 // The total elapsed time that a partial wakelock was held. This duration 800 // Aggregated wakelock data for an app overall, across all of its wakelocks. 801 // The Wakelock message holds data about each *individual* wakelock, but it 804 // the case of wakelock.partial.duration_ms) or overestimate (in the case of 805 // wakelock.partial.total_duration_ms) the total time, due to overlapping 807 // wakelock data. 834 // Partial wakelock metrics are only recorded when the device is unplugged 840 // the time the wakelock was held while the app was in a background state. [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 63 import com.android.systemui.util.wakelock.SettableWakeLock; 64 import com.android.systemui.util.wakelock.WakeLock; 65 import com.android.systemui.util.wakelock.WakeLockLogger;
|