Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java86 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock()
89 wl = mPm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK"); in testNewWakeLock()
92 wl = mPm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK"); in testNewWakeLock()
95 wl = mPm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK"); in testNewWakeLock()
113 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock()
128 PowerManager.WakeLock wakeLock = mPm.newWakeLock( in testWakeLockWithWorkChains()
DPowerManagerVrTest.java129 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice()
/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/services/core/java/com/android/server/
DConsumerIrService.java45 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in ConsumerIrService()
DNetworkTimeUpdateService.java115 mWakeLock = context.getSystemService(PowerManager.class).newWakeLock( in NetworkTimeUpdateService()
DDockObserver.java76 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in DockObserver()
/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/core/java/com/android/server/timedetector/
DTimeDetectorStrategyCallbackImpl.java58 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG)); in TimeDetectorStrategyCallbackImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DWakeLock.java67 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag); in createPartialInner()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsStorageMonitor.java138 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor"); in createWakelock()
DWakeLockStateMachine.java80 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); in WakeLockStateMachine()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java76 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in onCreate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java97 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest"); in onCreate()
/frameworks/base/services/core/java/com/android/server/location/
DNtpTimeHelper.java84 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in NtpTimeHelper()
DGeofenceManager.java125 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in GeofenceManager()
/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/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/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java169 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*backup*")); in createBackupWakeLock()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java100 mDozeWakeLock = mPowerManager.newWakeLock(PowerManager.DOZE_WAKE_LOCK, TAG); in DreamManagerService()
381 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "startDream"); in startDreamLocked()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java373 sInstance.mCpuWakeLock = sInstance.mPowerManager.newWakeLock( in beginShutdownSequence()
386 sInstance.mScreenWakeLock = sInstance.mPowerManager.newWakeLock( in beginShutdownSequence()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java380 mWakeLock = mService.getPowerManager().newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in SystemWakeLock()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java202 mScreenWakelock = pm.newWakeLock( in screenWakeup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java470 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()

1234