Home
last modified time | relevance | path

Searched refs:newWakeLock (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java53 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock()
56 wl = mPm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK"); in testNewWakeLock()
59 wl = mPm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK"); in testNewWakeLock()
62 wl = mPm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK"); in testNewWakeLock()
80 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock()
DPowerManagerVrTest.java131 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DWakeLocks.java41 public static PowerManager.WakeLock newWakeLock( in newWakeLock() method in WakeLocks
46 return powerManager.newWakeLock(PARTIAL_WAKE_LOCK, "WorkManager: " + tag); in newWakeLock()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeLock.java44 mTimerWakeLock = mPowerManager.newWakeLock( in acquire()
54 mWakeLock = mPowerManager.newWakeLock( in acquire()
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DWakeUpController.java50 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "testing-alarmservice"); in getWakeLock()
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/
DWakeLockRule.java55 return power.newWakeLock(WAKELOCK_FLAGS, context.getPackageName());
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DWakeLock.java42 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag); in createPartialInner()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DSystemAlarmDispatcher.java194 WakeLocks.newWakeLock(mContext, PROCESS_COMMAND_TAG); in processCommand()
211 final PowerManager.WakeLock wakeLock = WakeLocks.newWakeLock( in processCommand()
DDelayMetCommandHandler.java135 mWakeLock = WakeLocks.newWakeLock( in handleProcessWork()
/frameworks/support/legacy/core-utils/src/main/java/androidx/legacy/content/
DWakefulBroadcastReceiver.java108 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService()
/frameworks/base/services/core/java/com/android/server/
DConsumerIrService.java45 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in ConsumerIrService()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java47 mProx = mPm.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, "PowerTest-prox"); in tests()
/frameworks/base/services/robotests/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java64 return powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*backup*"); in createBackupWakeLock()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsStorageMonitor.java135 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor"); in createWakelock()
DWakeLockStateMachine.java71 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); in WakeLockStateMachine()
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
DWakeUpCall.java108 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK | in screenOn()
/frameworks/base/services/core/java/com/android/server/location/
DNtpTimeHelper.java84 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in NtpTimeHelper()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java76 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in onCreate()
/frameworks/support/compat/src/main/java/androidx/core/app/
DJobIntentService.java169 mLaunchWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in CompatWorkEnqueuer()
172 mRunWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in CompatWorkEnqueuer()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java97 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest"); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java368 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleCancelPrintJob()
407 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleRestartPrintJob()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java68 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster"); in onCreate()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java259 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java101 mDozeWakeLock = mPowerManager.newWakeLock(PowerManager.DOZE_WAKE_LOCK, TAG); in DreamManagerService()
371 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "startDream"); in startDreamLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DFingerprintUnlockController.java169 mWakeLock = mPowerManager.newWakeLock( in onFingerprintAcquired()

1234