/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | PowerManagerWrapper.java | 46 WakeLockWrapper newWakeLock(int levelAndFlags, String tag) { in newWakeLock() method in PowerManagerWrapper 47 return new DefaultWakeLockWrapper(mPowerManager.newWakeLock(levelAndFlags, 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/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 133 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock() 136 wl = mPm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK"); in testNewWakeLock() 139 wl = mPm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK"); in testNewWakeLock() 142 wl = mPm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK"); in testNewWakeLock() 161 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock() 177 PowerManager.WakeLock wakeLock = mPm.newWakeLock( in testWakeLockWithWorkChains()
|
D | PowerManagerVrTest.java | 129 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | FakePowerManagerWrapper.java | 63 WakeLockWrapper newWakeLock(int levelAndFlags, String tag) { in newWakeLock() method in FakePowerManagerWrapper
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/ |
D | TemporaryViewDisplayController.kt | 219 val newWakeLock = if (!powerManager.isScreenOn) { in <lambda>() constant 237 displayInfo.wakeLock = newWakeLock in <lambda>() 238 newWakeLock.acquire(displayInfo.info.wakeReason) in <lambda>()
|
/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/core/java/com/android/server/biometrics/sensors/ |
D | LockoutResetDispatcher.java | 58 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in ClientCallback()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | EnvironmentImpl.java | 53 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG)); in EnvironmentImpl()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 52 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in ConsumerIrService()
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
D | DozeTestDream.java | 76 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in onCreate()
|
/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/SystemUI/src/com/android/systemui/util/wakelock/ |
D | WakeLock.java | 94 .newWakeLock(levelsAndFlags, tag); in createWakeLockInner()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 370 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/ |
D | WakeLockStateMachine.java | 81 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); in WakeLockStateMachine()
|
D | SmsStorageMonitor.java | 262 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor"); in createWakelock()
|
/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 | 260 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 125 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in createBogusElapsedRealtimeCheck()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerShellCommand.java | 169 wakelock = pm.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, in runSetProx()
|
D | ScreenUndimDetector.java | 118 mWakeLock = powerManager.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK in systemReady()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnGatewayConnectionTestBase.java | 234 .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/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 168 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*backup*"), 0); in createBackupWakeLock()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 160 PowerManager.WakeLock wl = pwr.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "benchmark tag"); in initializeBenchmarks()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | NtpNetworkTimeHelper.java | 98 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in NtpNetworkTimeHelper()
|