/frameworks/base/tests/utils/SleepUtils/ |
D | README | 4 1) holding wakelock (singleton to this service) 5 2) setting alarm for a specified period and releasing the wakelock; service 6 call will block until alarm has been triggered and the wakelock is held 7 3) releasing the wakelock 12 1) holding wakelock 21 3) releasing wakelock
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | RunInitializeReceiver.java | 53 PowerManager.WakeLock wakelock = mBackupManagerService.getWakelock(); in onReceive() local 54 wakelock.acquire(); in onReceive() 55 OnTaskFinishedListener listener = caller -> wakelock.release(); in onReceive()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | ActiveRestoreSession.java | 110 PowerManager.WakeLock wakelock = mBackupManagerService.getWakelock(); in getAvailableRestoreSets() local 111 wakelock.acquire(); in getAvailableRestoreSets() 117 wakelock.release(); in getAvailableRestoreSets() 387 PowerManager.WakeLock wakelock = mBackupManagerService.getWakelock(); in sendRestoreToHandlerLocked() local 388 wakelock.acquire(); in sendRestoreToHandlerLocked() 397 wakelock.release(); in sendRestoreToHandlerLocked()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WakelockPowerCalculator.java | 40 final BatteryStats.Uid.Wakelock wakelock = wakelockStats.valueAt(i); in calculateApp() local 44 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL); in calculateApp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenState.java | 24 import com.android.systemui.util.wakelock.SettableWakeLock; 25 import com.android.systemui.util.wakelock.WakeLock;
|
D | DozeFactory.java | 35 import com.android.systemui.util.wakelock.DelayedWakeLock; 36 import com.android.systemui.util.wakelock.WakeLock;
|
D | DozeUi.java | 33 import com.android.systemui.util.wakelock.WakeLock;
|
D | DozeMachine.java | 29 import com.android.systemui.util.wakelock.WakeLock;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeTriggersTest.java | 38 import com.android.systemui.util.wakelock.WakeLock; 39 import com.android.systemui.util.wakelock.WakeLockFake;
|
D | DozeScreenStateTest.java | 45 import com.android.systemui.util.wakelock.WakeLock; 46 import com.android.systemui.util.wakelock.WakeLockFake;
|
D | DozeHostFake.java | 22 import com.android.systemui.util.wakelock.WakeLock;
|
D | DozeUiTest.java | 47 import com.android.systemui.util.wakelock.WakeLockFake;
|
/frameworks/native/services/inputflinger/host/ |
D | inputflinger.rc | 4 group input wakelock
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockFake.java | 17 package com.android.systemui.util.wakelock;
|
D | KeepAwakeAnimationListenerTest.java | 17 package com.android.systemui.util.wakelock;
|
D | WakeLockTest.java | 17 package com.android.systemui.util.wakelock;
|
D | SettableWakeLockTest.java | 17 package com.android.systemui.util.wakelock;
|
/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/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | SettableWakeLock.java | 17 package com.android.systemui.util.wakelock;
|
D | DelayedWakeLock.java | 17 package com.android.systemui.util.wakelock;
|
D | WakeLock.java | 17 package com.android.systemui.util.wakelock;
|
D | KeepAwakeAnimationListener.java | 17 package com.android.systemui.util.wakelock;
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 262 // Kernel wakelock metrics are only recorded when the device is unplugged 268 // Kernel wakelock stats aren't apportioned across all kernel wakelocks (as 282 // The total elapsed time that a partial wakelock was held. This duration 796 // Aggregated wakelock data for an app overall, across all of its wakelocks. 797 // The Wakelock message holds data about each *individual* wakelock, but it 800 // the case of wakelock.partial.duration_ms) or overestimate (in the case of 801 // wakelock.partial.total_duration_ms) the total time, due to overlapping 803 // wakelock data. 830 // Partial wakelock metrics are only recorded when the device is unplugged 836 // the time the wakelock was held while the app was in a background state. [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 43 import com.android.systemui.util.wakelock.WakeLockFake;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 55 import com.android.systemui.util.wakelock.SettableWakeLock; 56 import com.android.systemui.util.wakelock.WakeLock;
|