/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, Log.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/testing/uiautomator/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/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/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiver.java | 76 mStartingService = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarReceiver.java | 47 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "CalendarReceiver_Provider");
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaFrameworkTest.java | 54 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest");
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
PowerTest.java | 47 mProx = mPm.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, "PowerTest-prox");
|
/frameworks/base/services/java/com/android/server/ |
ConsumerIrService.java | 65 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
|
DockObserver.java | 65 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsStorageMonitor.java | 130 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor");
|
WakeLockStateMachine.java | 71 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
ImportTask.java | 54 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, WAKELOCK_LABEL);
|
/frameworks/base/media/java/android/media/ |
AsyncPlayer.java | 227 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaFrameworkTest.java | 97 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest");
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
BatteryWaster.java | 68 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster");
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/ |
IntegrationTestUtils.java | 114 .newWakeLock(
|