Home
last modified time | relevance | path

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

123

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmAlertWakeLock.kt34 return pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG) in createPartialWakeLock()
53 sCpuWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK in acquireScreenCpuWakeLock()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/power/
DPowerManagerHelper.java147 public static WakeLock newWakeLock(Context context, int levelAndFlags, String tag, in newWakeLock() method in PowerManagerHelper
150 return powerManager.newWakeLock(levelAndFlags, tag, displayId); in newWakeLock()
/packages/services/Car/service/src/com/android/car/systeminterface/
DWakeLockInterface.java150 WakeLock fullWakeLock = PowerManagerHelper.newWakeLock(mContext, in createWakeLockPair()
153 WakeLock partialWakeLock = PowerManagerHelper.newWakeLock(mContext, in createWakeLockPair()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DWakeLockHoldingProgressListener.java38 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, label); in WakeLockHoldingProgressListener()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DWakelockLoadTestRunnable.java36 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag); in run()
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
DSystemProximityWakeLock.java42 .newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, TAG); in SystemProximityWakeLock()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoWakeLockPermissionTest.java44 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, "tag"); in setUp()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionTestBase.java125 .newWakeLock(anyInt(), argThat(tag -> tag.contains(BUSY_WAKE_LOCK_TAG))); in setUp()
130 .newWakeLock(anyInt(), argThat(tag -> tag.contains(LOCAL_REQUEST_WAKE_LOCK_TAG))); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallActivity.java59 PowerManager.WakeLock wakelock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in onCreate()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarReceiver.java61 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "CalendarReceiver_Provider"); in onReceive()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomWakeLock.java81 PowerManager.WakeLock wakeLock = powerManager.newWakeLock(mWakeLockLevel, mWakeLockTag); in getWakeLockFromPowerManager()
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/
DAnomalyActions.java103 PowerManager.WakeLock wl = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in doHoldWakelock()
/packages/apps/Messaging/src/com/android/messaging/util/
DWakeLockHelper.java59 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mWakeLockId); in acquire()
DNotificationPlayer.java348 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DImportTask.java64 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, WAKELOCK_LABEL); in ImportTask()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DWakeLockManager.java49 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in WakeLockManager()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DIperfClient.java84 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WIFITEST"); in startClient()
DWifiConnScanReceiver.java50 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WIFITEST"); in onReceive()
DWifiGScanReceiver.java57 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WIFITEST"); in onReceive()
DWifiDownloadReceiver.java58 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WIFITEST"); in onReceive()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DWakeLockStateMachine.java80 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); in WakeLockStateMachine()
/packages/apps/Contacts/tests/src/com/android/contacts/test/
DIntegrationTestUtils.java110 .newWakeLock(
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingService.java109 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG.toString()); in onCreate()
/packages/apps/Dialer/java/com/android/incallui/
DProximitySensor.java68 powerManager.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, TAG); in ProximitySensor()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsService.java176 sWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_ID); in acquireWakeLock()

123