/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");
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsWakeLockTests.java | 35 PowerManager.WakeLock wl = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, 44 PowerManager.WakeLock wl = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmAlertWakeLock.java | 33 return pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 50 sCpuWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
|
/external/robolectric/v1/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");
|
/cts/tests/tests/os/src/android/os/cts/ |
PowerManager_WakeLockTest.java | 36 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); 74 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
|
PowerManagerTest.java | 39 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG);
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipWakeLock.java | 44 mTimerWakeLock = mPowerManager.newWakeLock( 54 mWakeLock = mPowerManager.newWakeLock(
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertWakeLock.java | 48 sPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 74 sScreenBrightWakeLock = pm.newWakeLock(
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPowerManager.java | 17 public PowerManager.WakeLock newWakeLock(int flags, String tag) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
WakeLock.java | 42 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag);
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
WakeUpController.java | 50 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "testing-alarmservice");
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
WakeLockRule.java | 55 return power.newWakeLock(WAKELOCK_FLAGS, context.getPackageName());
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
WakeLockHoldingProgressListener.java | 38 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, label);
|
/packages/services/Car/service/src/com/android/car/ |
SystemInterface.java | 59 mFullWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, 61 mPartialWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|
/cts/tests/sensor/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/permission/src/android/permission/cts/ |
NoWakeLockPermissionTest.java | 40 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, "tag");
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
WakefulBroadcastReceiver.java | 105 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
SystemProximityWakeLock.java | 42 .newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, TAG);
|
/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/components/ |
UserCallActivity.java | 57 PowerManager.WakeLock wakelock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|
/tools/tradefederation/core/util-apps/DeviceSetupUtil/src/com/android/tradefed/utils/ |
DeviceSetupService.java | 58 wl = 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);
|