/frameworks/base/core/tests/coretests/src/android/os/ |
PowerManagerTest.java | 53 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); 56 wl = mPm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK"); 59 wl = mPm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK"); 62 wl = mPm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK"); 83 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo");
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmAlertWakeLock.java | 31 return pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LogUtils.LOGTAG); 48 sCpuWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PowerManagerTest.java | 37 assertNotNull(powerManager.newWakeLock(0, "TAG")); 42 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); 58 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); 74 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG");
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertWakeLock.java | 39 sCpuWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipWakeLock.java | 44 mTimerWakeLock = mPowerManager.newWakeLock( 54 mWakeLock = mPowerManager.newWakeLock(
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPowerManager.java | 17 public PowerManager.WakeLock newWakeLock(int flags, String tag) {
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
WakeUpController.java | 50 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "testing-alarmservice");
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
WakeLockHoldingProgressListener.java | 38 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, label);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
WakeLockOperation.java | 65 WakeLock wakeLock = pm.newWakeLock(mWakeLockFlags, TAG);
|
AlarmOperation.java | 123 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKE_LOCK_TAG);
|
/cts/tests/tests/os/src/android/os/cts/ |
PowerManagerTest.java | 39 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG);
|
PowerManager_WakeLockTest.java | 35 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoWakeLockPermissionTest.java | 40 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, "tag");
|
/frameworks/support/v4/java/android/support/v4/content/ |
WakefulBroadcastReceiver.java | 95 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarReceiver.java | 46 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "CalendarReceiver_Provider");
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
InCallWakeLockController.java | 42 mFullWakeLock = powerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG);
|
ProximitySensorManager.java | 35 mProximityWakeLock = pm.newWakeLock(
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
SensorTestScreenManipulator.java | 82 mWakeUpScreenWakeLock = powerManager.newWakeLock(levelAndFlags, "SensorTestWakeUpScreen"); 84 mKeepScreenOnWakeLock = powerManager.newWakeLock(levelAndFlags, "SensorTestKeepScreenOn");
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaFrameworkTest.java | 52 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest");
|
/frameworks/base/services/core/java/com/android/server/ |
ConsumerIrService.java | 45 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
PowerTest.java | 47 mProx = mPm.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, "PowerTest-prox");
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
WakeUpCall.java | 108 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK |
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsStorageMonitor.java | 135 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor");
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
ImportTask.java | 64 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, WAKELOCK_LABEL);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
WakeLockHelper.java | 59 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mWakeLockId);
|