/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | WakeLockLogTest.java | 67 PowerManager.PARTIAL_WAKE_LOCK | PowerManager.ON_AFTER_RELEASE, -1); in testAddTwoItems_withNoEventTimeSupplied() 92 PowerManager.PARTIAL_WAKE_LOCK | PowerManager.ON_AFTER_RELEASE, 1000L); in testAddTwoItems() 115 log.onWakeLockAcquired("TagPartial", 101, PowerManager.PARTIAL_WAKE_LOCK, 1000L); in testAddTwoItemsWithTimeReset() 135 log.onWakeLockAcquired("TagPartial", 101, PowerManager.PARTIAL_WAKE_LOCK, 1000L); in testAddTwoItemsWithTagOverwrite() 156 log.onWakeLockAcquired("TagPartial", 101, PowerManager.PARTIAL_WAKE_LOCK, 1000L); in testAddFourItemsWithRingBufferOverflow() 162 log.onWakeLockAcquired("TagThree", 101, PowerManager.PARTIAL_WAKE_LOCK, 1151L); in testAddFourItemsWithRingBufferOverflow() 174 log.onWakeLockAcquired("TagFour", 101, PowerManager.PARTIAL_WAKE_LOCK, 1154L); in testAddFourItemsWithRingBufferOverflow() 178 log.onWakeLockAcquired("TagFive", 101, PowerManager.PARTIAL_WAKE_LOCK, 1155L); in testAddFourItemsWithRingBufferOverflow() 206 null /* tag */, 0 /* ownerUid */, PowerManager.PARTIAL_WAKE_LOCK, 1000L); in testAddItemWithBadTag() 223 PowerManager.PARTIAL_WAKE_LOCK, 1000L); in testAddItemWithReducedTagName() [all …]
|
D | NotifierTest.java | 242 mNotifier.onWakeLockReleased(PowerManager.PARTIAL_WAKE_LOCK, "wakelockTag", in testOnWakeLockListener_RemoteException_NoRethrow() 248 mNotifier.onWakeLockAcquired(PowerManager.PARTIAL_WAKE_LOCK, "wakelockTag", in testOnWakeLockListener_RemoteException_NoRethrow() 251 mNotifier.onWakeLockChanging(PowerManager.PARTIAL_WAKE_LOCK, "wakelockTag", in testOnWakeLockListener_RemoteException_NoRethrow() 260 PowerManager.PARTIAL_WAKE_LOCK, 1); in testOnWakeLockListener_RemoteException_NoRethrow() 268 mNotifier.onWakeLockAcquired(PowerManager.PARTIAL_WAKE_LOCK, "wakelockTag", in testOnWakeLockListener_RemoteException_NoRethrow() 272 PowerManager.PARTIAL_WAKE_LOCK, -1); in testOnWakeLockListener_RemoteException_NoRethrow() 274 mNotifier.onWakeLockReleased(PowerManager.PARTIAL_WAKE_LOCK, "wakelockTag", in testOnWakeLockListener_RemoteException_NoRethrow()
|
D | PowerManagerServiceTest.java | 583 final int flags = PowerManager.PARTIAL_WAKE_LOCK; in testWakefulnessSleep_SoftSleepFlag_WithPartialWakelock() 688 flags = PowerManager.PARTIAL_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP; in testWakefulnessAwake_AcquireCausesWakeup_turnScreenOnAllowed() 1053 final int flags = PowerManager.PARTIAL_WAKE_LOCK; in testForceSuspend_wakeLocksDisabled() 2619 WakeLock wakeLock = acquireWakeLock("fgsWakeLock", PowerManager.PARTIAL_WAKE_LOCK); in testDisableWakelocksInLightDeviceIdle_FlagDisabled_BgApp() 2632 WakeLock wakeLock = acquireWakeLock("fgsWakeLock", PowerManager.PARTIAL_WAKE_LOCK); in testDisableWakelocksInLightDeviceIdle_FlagDisabled_FgApp() 2645 WakeLock wakeLock = acquireWakeLock("fgsWakeLock", PowerManager.PARTIAL_WAKE_LOCK); in testDisableWakelocksInLightDeviceIdle_FlagEnabled_BgApp() 2658 WakeLock wakeLock = acquireWakeLock("fgsWakeLock", PowerManager.PARTIAL_WAKE_LOCK); in testDisableWakelocksInLightDeviceIdle_FlagEnabled_FgApp() 2670 WakeLock wakeLock = acquireWakeLock("fgsWakeLock", PowerManager.PARTIAL_WAKE_LOCK); in testLowPowerStandby_whenInactive_FgsWakeLockEnabled() 2681 WakeLock wakeLock = acquireWakeLock("fgsWakeLock", PowerManager.PARTIAL_WAKE_LOCK); in testLowPowerStandby_whenActive_FgsWakeLockDisabled() 2693 WakeLock wakeLock = acquireWakeLock("fgsWakeLock", PowerManager.PARTIAL_WAKE_LOCK); in testLowPowerStandby_whenActive_FgsWakeLockEnabledIfAllowlisted() [all …]
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeLock.java | 45 PowerManager.PARTIAL_WAKE_LOCK, "SipWakeLock.timer"); in acquire() 55 PowerManager.PARTIAL_WAKE_LOCK, "SipWakeLock"); in acquire()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockTest.java | 69 PowerManager.PARTIAL_WAKE_LOCK); in setUp()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | LockoutResetDispatcher.java | 58 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in ClientCallback()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 52 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in ConsumerIrService()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | EnvironmentImpl.java | 53 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG)); in EnvironmentImpl()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/wakelock/ |
D | ClientTrackingWakeLockTest.kt | 44 WakeLock.createWakeLockInner(mContext, "WakeLockTest", PowerManager.PARTIAL_WAKE_LOCK) in setUp()
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
D | DozeTestDream.java | 76 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | WakeLock.java | 45 int DEFAULT_LEVELS_AND_FLAGS = PowerManager.PARTIAL_WAKE_LOCK;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WakeLockStateMachine.java | 81 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); in WakeLockStateMachine()
|
D | SmsStorageMonitor.java | 262 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor"); in createWakelock()
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
D | BatteryWaster.java | 68 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster"); in onCreate()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 370 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleCancelPrintJob() 409 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleRestartPrintJob()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 125 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in createBogusElapsedRealtimeCheck()
|
/frameworks/base/media/java/android/media/ |
D | AsyncPlayer.java | 260 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 160 PowerManager.WakeLock wl = pwr.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "benchmark tag"); in initializeBenchmarks()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | NtpNetworkTimeHelper.java | 98 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in NtpNetworkTimeHelper()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 168 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*backup*"), 0); in createBackupWakeLock()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnGatewayConnectionTestBase.java | 234 .newWakeLock(eq(mContext), eq(PowerManager.PARTIAL_WAKE_LOCK), any()); in VcnGatewayConnectionTestBase() 300 verify(mDeps).newWakeLock(eq(mContext), eq(PowerManager.PARTIAL_WAKE_LOCK), any()); in verifyWakeLockSetUp()
|
/frameworks/base/services/core/jni/gnss/ |
D | GnssCallback.cpp | 200 acquire_wake_lock(PARTIAL_WAKE_LOCK, WAKE_LOCK_NAME); in gnssAcquireWakelockCb() 429 acquire_wake_lock(PARTIAL_WAKE_LOCK, WAKE_LOCK_NAME); in gnssAcquireWakelockCb()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 208 acquire_wake_lock(PARTIAL_WAKE_LOCK, name.c_str()); in nativeAcquireSuspendBlocker()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | NotificationPlayer.java | 509 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AnyMotionDetector.java | 135 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in AnyMotionDetector()
|