/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 53 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()
|
D | PowerManagerVrTest.java | 131 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
D | WakeLocks.java | 41 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/ |
D | SipWakeLock.java | 44 mTimerWakeLock = mPowerManager.newWakeLock( in acquire() 54 mWakeLock = mPowerManager.newWakeLock( in acquire()
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
D | WakeUpController.java | 50 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "testing-alarmservice"); in getWakeLock()
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/ |
D | WakeLockRule.java | 55 return power.newWakeLock(WAKELOCK_FLAGS, context.getPackageName());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | WakeLock.java | 42 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag); in createPartialInner()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcher.java | 194 WakeLocks.newWakeLock(mContext, PROCESS_COMMAND_TAG); in processCommand() 211 final PowerManager.WakeLock wakeLock = WakeLocks.newWakeLock( in processCommand()
|
D | DelayMetCommandHandler.java | 135 mWakeLock = WakeLocks.newWakeLock( in handleProcessWork()
|
/frameworks/support/legacy/core-utils/src/main/java/androidx/legacy/content/ |
D | WakefulBroadcastReceiver.java | 108 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 45 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in ConsumerIrService()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | PowerTest.java | 47 mProx = mPm.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, "PowerTest-prox"); in tests()
|
/frameworks/base/services/robotests/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 64 return powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*backup*"); in createBackupWakeLock()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsStorageMonitor.java | 135 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor"); in createWakelock()
|
D | WakeLockStateMachine.java | 71 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); in WakeLockStateMachine()
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
D | WakeUpCall.java | 108 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK | in screenOn()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | NtpTimeHelper.java | 84 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in NtpTimeHelper()
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
D | DozeTestDream.java | 76 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in onCreate()
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
D | JobIntentService.java | 169 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/ |
D | MediaFrameworkTest.java | 97 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest"); in onCreate()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 368 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/ |
D | BatteryWaster.java | 68 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster"); in onCreate()
|
/frameworks/base/media/java/android/media/ |
D | AsyncPlayer.java | 259 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 101 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/ |
D | FingerprintUnlockController.java | 169 mWakeLock = mPowerManager.newWakeLock( in onFingerprintAcquired()
|