Home
last modified time | relevance | path

Searched refs:wakelock (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/backup/java/com/android/server/backup/internal/
DRunInitializeReceiver.java60 PowerManager.WakeLock wakelock = mUserBackupManagerService.getWakelock(); in onReceive() local
61 wakelock.acquire(); in onReceive()
62 OnTaskFinishedListener listener = caller -> wakelock.release(); in onReceive()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java113 PowerManager.WakeLock wakelock = mBackupManagerService.getWakelock(); in getAvailableRestoreSets() local
114 wakelock.acquire(); in getAvailableRestoreSets()
120 wakelock.release(); in getAvailableRestoreSets()
395 PowerManager.WakeLock wakelock = mBackupManagerService.getWakelock(); in sendRestoreToHandlerLocked() local
396 wakelock.acquire(); in sendRestoreToHandlerLocked()
405 wakelock.release(); in sendRestoreToHandlerLocked()
/frameworks/base/core/java/com/android/internal/os/
DWakelockPowerCalculator.java40 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/
DDozeScreenState.java24 import com.android.systemui.util.wakelock.SettableWakeLock;
25 import com.android.systemui.util.wakelock.WakeLock;
DDozeFactory.java36 import com.android.systemui.util.wakelock.DelayedWakeLock;
37 import com.android.systemui.util.wakelock.WakeLock;
DDozeUi.java33 import com.android.systemui.util.wakelock.WakeLock;
DDozeMachine.java29 import com.android.systemui.util.wakelock.WakeLock;
/frameworks/native/services/inputflinger/host/
Dinputflinger.rc4 group input wakelock
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java88 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/tests/src/com/android/systemui/util/wakelock/
DWakeLockFake.java17 package com.android.systemui.util.wakelock;
DKeepAwakeAnimationListenerTest.java17 package com.android.systemui.util.wakelock;
DWakeLockTest.java17 package com.android.systemui.util.wakelock;
DSettableWakeLockTest.java17 package com.android.systemui.util.wakelock;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DSettableWakeLock.java17 package com.android.systemui.util.wakelock;
DDelayedWakeLock.java17 package com.android.systemui.util.wakelock;
DKeepAwakeAnimationListener.java17 package com.android.systemui.util.wakelock;
DWakeLock.java17 package com.android.systemui.util.wakelock;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeTriggersTest.java43 import com.android.systemui.util.wakelock.WakeLock;
44 import com.android.systemui.util.wakelock.WakeLockFake;
DDozeSensorsTest.java48 import com.android.systemui.util.wakelock.WakeLock;
DDozeUiTest.java45 import com.android.systemui.util.wakelock.WakeLockFake;
DDozeScreenStateTest.java43 import com.android.systemui.util.wakelock.WakeLockFake;
/frameworks/av/media/audioserver/
Daudioserver.rc5 group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct wakelock
/frameworks/base/core/proto/android/os/
Dbatterystats.proto266 // 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/
DKeyguardSliceProvider.java60 import com.android.systemui.util.wakelock.SettableWakeLock;
61 import com.android.systemui.util.wakelock.WakeLock;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java63 import com.android.systemui.util.wakelock.SettableWakeLock;
64 import com.android.systemui.util.wakelock.WakeLock;

12