Home
last modified time | relevance | path

Searched refs:PARTIAL_WAKE_LOCK (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DWakeLockLogTest.java67 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 …]
DNotifierTest.java242 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()
DPowerManagerServiceTest.java583 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/
DSipWakeLock.java45 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/
DWakeLockTest.java69 PowerManager.PARTIAL_WAKE_LOCK); in setUp()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DLockoutResetDispatcher.java58 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in ClientCallback()
/frameworks/base/services/core/java/com/android/server/
DConsumerIrService.java52 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in ConsumerIrService()
/frameworks/base/services/core/java/com/android/server/timedetector/
DEnvironmentImpl.java53 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG)); in EnvironmentImpl()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/wakelock/
DClientTrackingWakeLockTest.kt44 WakeLock.createWakeLockInner(mContext, "WakeLockTest", PowerManager.PARTIAL_WAKE_LOCK) in setUp()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java76 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DWakeLock.java45 int DEFAULT_LEVELS_AND_FLAGS = PowerManager.PARTIAL_WAKE_LOCK;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWakeLockStateMachine.java81 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); in WakeLockStateMachine()
DSmsStorageMonitor.java262 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor"); in createWakelock()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java68 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster"); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java370 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/
DNitzSignalInputFilterPredicateFactory.java125 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in createBogusElapsedRealtimeCheck()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java260 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java160 PowerManager.WakeLock wl = pwr.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "benchmark tag"); in initializeBenchmarks()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DNtpNetworkTimeHelper.java98 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in NtpNetworkTimeHelper()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java168 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*backup*"), 0); in createBackupWakeLock()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionTestBase.java234 .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/
DGnssCallback.cpp200 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/
Dcom_android_server_power_PowerManagerService.cpp208 acquire_wake_lock(PARTIAL_WAKE_LOCK, name.c_str()); in nativeAcquireSuspendBlocker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java509 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java135 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in AnyMotionDetector()

1234