/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
AlarmOperation.java | 27 import android.os.PowerManager.WakeLock; 53 private WakeLock mWakeLock = null;
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
AppLauncherFlingJankTest.java | 22 import android.os.PowerManager.WakeLock; 42 private WakeLock mWakeLock;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/ |
IdleConstraintTestActivity.java | 84 PowerManager.WakeLock wl = mPowerManager.newWakeLock( 155 private class TestIdleModeTaskIdle extends AsyncTask<PowerManager.WakeLock, Void, Void> { 157 private PowerManager.WakeLock mPartialWakeLock; 160 protected Void doInBackground(PowerManager.WakeLock... wakeLocks) { 177 PowerManager.WakeLock fullWakeLock = mPowerManager.newWakeLock(
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
WakeUpCall.java | 28 import android.os.PowerManager.WakeLock; 108 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK |
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoWakeLockPermissionTest.java | 34 private PowerManager.WakeLock mWakeLock; 81 * Verify that PowerManager.WakeLock.acquire() requires permissions. 89 fail("WakeLock.acquire() did not throw SecurityException as expected"); 96 * Verify that PowerManager.WakeLock.acquire(long) requires permissions. 105 fail("WakeLock.acquire(long) did not throw SecurityException as expected");
|
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
SystemProximityWakeLock.java | 33 private final PowerManager.WakeLock wakeLock; 39 wakeLock = 47 wakeLock.acquire(); 53 wakeLock.release(); 59 return wakeLock.isHeld();
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarReceiver.java | 40 private PowerManager.WakeLock mWakeLock;
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
UserCallActivity.java | 57 PowerManager.WakeLock wakelock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, local 59 wakelock.acquire(); 80 wakelock.release();
|
/tools/tradefederation/core/util-apps/DeviceSetupUtil/src/com/android/tradefed/utils/ |
DeviceSetupService.java | 35 PowerManager.WakeLock wl;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageInstallerService.java | 111 private static volatile PowerManager.WakeLock lockStatic = null; 159 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); 214 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); 365 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); 470 private void finishService(PowerManager.WakeLock lock, int startId) { 477 private synchronized PowerManager.WakeLock getLock(Context context) { 490 private PowerManager.WakeLock mWakeLock; 493 private PackageInstallListener(Context context, PowerManager.WakeLock wakeLock, 496 mWakeLock = wakeLock; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
SensorTestScreenManipulator.java | 65 private final PowerManager.WakeLock mWakeUpScreenWakeLock; 66 private final PowerManager.WakeLock mKeepScreenOnWakeLock;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
DozeTriggersTest.java | 37 import com.android.systemui.util.wakelock.WakeLock; 38 import com.android.systemui.util.wakelock.WakeLockFake; 58 private WakeLock mWakeLock;
|
/packages/apps/Email/provider_src/com/android/email/ |
EmailConnectivityManager.java | 29 import android.os.PowerManager.WakeLock; 60 private final WakeLock mWakeLock;
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaFrameworkTest.java | 36 private PowerManager.WakeLock mWakeLock = null; 58 Log.v(TAG, "onResume, acquire wakelock"); 65 Log.v(TAG, "onPause, release wakelock");
|
/frameworks/base/services/core/java/com/android/server/ |
ConsumerIrService.java | 37 private final PowerManager.WakeLock mWakeLock;
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
PowerTest.java | 36 PowerManager.WakeLock mProx;
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
FullScreenActivity.java | 37 private PowerManager.WakeLock mWakeLock;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeMachine.java | 28 import com.android.systemui.util.wakelock.WakeLock; 110 private final WakeLock mWakeLock; 120 WakeLock wakeLock) { 123 mWakeLock = wakeLock;
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
DreamController.java | 125 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { 137 mCurrentDream = new DreamRecord(token, name, isTest, canDoze, userId, wakeLock); 291 public PowerManager.WakeLock mWakeLock; 300 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { 306 mWakeLock = wakeLock;
|
/frameworks/base/core/java/android/os/ |
PowerManager.java | 35 * Do not acquire {@link WakeLock}s unless you really need them, use the minimum levels 39 * This will create a {@link PowerManager.WakeLock} object. You can then use methods 45 * PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "My Tag"); 89 * will force the screen and/or keyboard to turn on immediately, when the WakeLock is 95 * <td>If this flag is set, the user activity timer will be reset when the WakeLock is 101 * Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK} 265 * Flag for {@link WakeLock#release WakeLock.release(int)}: Defer releasing a 272 * Flag for {@link WakeLock#release(int)} when called due to timeout. 578 * Call {@link WakeLock#acquire() acquire()} on the object to acquire th [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
PowerManagerVrTest.java | 131 PowerManager.WakeLock wl = mPm.newWakeLock(
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsStorageMonitor.java | 54 private PowerManager.WakeLock mWakeLock;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
ImportTask.java | 56 private PowerManager.WakeLock mWakeLock;
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
WakeLockHelper.java | 28 * Helper class used to manage wakelock state 41 private PowerManager.WakeLock mWakeLock; 49 * Acquire the wakelock 55 LogUtil.v(TAG, "initializing wakelock"); 70 * Check if wakelock held by this process 78 * Ensure that wakelock is held by this process 95 Assert.fail("WakeLock dropped prior to service starting"); 104 * Release wakelock (if it is held by this process) 116 Assert.fail("WakeLock no longer held at end of handler");
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/ |
AnomalyActions.java | 103 PowerManager.WakeLock wl = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|