Home
last modified time | relevance | path

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

12

/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()
83 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeLock.java44 mTimerWakeLock = mPowerManager.newWakeLock( in acquire()
54 mWakeLock = mPowerManager.newWakeLock( in acquire()
/frameworks/support/v4/java/android/support/v4/content/
DWakefulBroadcastReceiver.java73 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java47 mProx = mPm.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, "PowerTest-prox"); in tests()
DNotificationTestList.java92 pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "sound");
865 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "crasher");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsStorageMonitor.java130 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor"); in createWakelock()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java97 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest"); in onCreate()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java227 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java68 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster"); in onCreate()
/frameworks/base/services/java/com/android/server/power/
DShutdownThread.java230 sInstance.mCpuWakeLock = sInstance.mPowerManager.newWakeLock( in beginShutdownSequence()
243 sInstance.mScreenWakeLock = sInstance.mPowerManager.newWakeLock( in beginShutdownSequence()
/frameworks/base/services/java/com/android/server/
DDockObserver.java65 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in DockObserver()
DIdleMaintenanceService.java109 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in IdleMaintenanceService()
DWiredAccessoryManager.java89 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WiredAccessoryManager"); in WiredAccessoryManager()
DVibratorService.java142 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*vibrator*"); in VibratorService()
DUiModeManagerService.java165 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG); in UiModeManagerService()
/frameworks/base/core/java/android/os/
DPowerManager.java408 public WakeLock newWakeLock(int levelAndFlags, String tag) { in newWakeLock() method in PowerManager
/frameworks/base/core/java/com/android/internal/os/storage/
DExternalStorageFormatter.java74 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "ExternalStorageFormatter"); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java347 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
/frameworks/base/core/java/android/net/
DDhcpStateMachine.java124 mDhcpRenewWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in DhcpStateMachine()
/frameworks/base/services/java/com/android/server/location/
DGeofenceManager.java114 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in GeofenceManager()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardViewMediator.java496 mShowKeyguardWakeLock = mPM.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "show keyguard"); in KeyguardViewMediator()
499 mWakeAndHandOff = mPM.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "keyguardWakeAndHandOff"); in KeyguardViewMediator()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfActivity.java204 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Scheduler"); in onCreate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmConnection.java726 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java59 wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "CMWakeLock"); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaConnection.java797 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()

12