/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmAlertWakeLock.kt | 34 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/ |
D | PowerManagerHelper.java | 147 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/ |
D | WakeLockInterface.java | 150 WakeLock fullWakeLock = PowerManagerHelper.newWakeLock(mContext, in createWakeLockPair() 153 WakeLock partialWakeLock = PowerManagerHelper.newWakeLock(mContext, in createWakeLockPair()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | WakeLockHoldingProgressListener.java | 38 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, label); in WakeLockHoldingProgressListener()
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | WakelockLoadTestRunnable.java | 36 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag); in run()
|
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
D | SystemProximityWakeLock.java | 42 .newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, TAG); in SystemProximityWakeLock()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoWakeLockPermissionTest.java | 44 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, "tag"); in setUp()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionTestBase.java | 125 .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/ |
D | UserCallActivity.java | 59 PowerManager.WakeLock wakelock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in onCreate()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarReceiver.java | 61 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "CalendarReceiver_Provider"); in onReceive()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomWakeLock.java | 81 PowerManager.WakeLock wakeLock = powerManager.newWakeLock(mWakeLockLevel, mWakeLockTag); in getWakeLockFromPowerManager()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/ |
D | AnomalyActions.java | 103 PowerManager.WakeLock wl = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in doHoldWakelock()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | WakeLockHelper.java | 59 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mWakeLockId); in acquire()
|
D | NotificationPlayer.java | 348 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); in setUsesWakeLock()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | ImportTask.java | 64 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, WAKELOCK_LABEL); in ImportTask()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/ |
D | WakeLockManager.java | 49 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in WakeLockManager()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | IperfClient.java | 84 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WIFITEST"); in startClient()
|
D | WifiConnScanReceiver.java | 50 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WIFITEST"); in onReceive()
|
D | WifiGScanReceiver.java | 57 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WIFITEST"); in onReceive()
|
D | WifiDownloadReceiver.java | 58 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WIFITEST"); in onReceive()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | WakeLockStateMachine.java | 80 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); in WakeLockStateMachine()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/ |
D | IntegrationTestUtils.java | 110 .newWakeLock(
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
D | ProcessingService.java | 109 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG.toString()); in onCreate()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ProximitySensor.java | 68 powerManager.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, TAG); in ProximitySensor()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsService.java | 176 sWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_ID); in acquireWakeLock()
|