HomeSort by relevance Sort by last modified time
    Searched defs:wakeLock (Results 1 - 11 of 11) sorted by null

  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
WakeLockOperation.java 22 import android.os.PowerManager.WakeLock;
65 WakeLock wakeLock = pm.newWakeLock(mWakeLockFlags, TAG);
66 wakeLock.acquire();
70 wakeLock.release();
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPermissionRequest.java 121 // Acquire wakelock so that LCD comes up since screen is off
122 PowerManager.WakeLock wakeLock = powerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK |
125 wakeLock.setReferenceCounted(false);
126 wakeLock.acquire();
184 wakeLock.release();
  /packages/services/Telecomm/src/com/android/server/telecom/
TelecomWakeLock.java 23 * Container for PowerManager / PowerManager.WakeLock access in telecom to facilitate unit testing.
29 private PowerManager.WakeLock mWakeLock;
31 public WakeLockAdapter(PowerManager.WakeLock wakeLock) {
32 mWakeLock = wakeLock;
80 PowerManager.WakeLock wakeLock = powerManager.newWakeLock(mWakeLockLevel, mWakeLockTag);
81 adapter = new WakeLockAdapter(wakeLock);
92 Log.i(TAG, "Can not acquire WakeLock (not supported) with level: " + mWakeLockLevel);
98 Log.i(TAG, "Acquiring WakeLock with id: " + mWakeLockLevel)
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
NotificationController.java 34 import android.os.PowerManager.WakeLock;
388 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
390 wakeLock.acquire();
410 wakeLock.release();
427 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
429 wakeLock.acquire();
447 wakeLock.release();
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexClientSession.java 47 import android.os.PowerManager.WakeLock;
137 private WakeLock wakeLock;
153 wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
166 if (V) Log.v(TAG, "acquire partial WakeLock");
167 wakeLock.acquire();
194 if (wakeLock.isHeld()) {
195 if (V) Log.v(TAG, "release partial WakeLock");
196 wakeLock.release();
  /frameworks/base/services/core/java/com/android/server/power/
PowerManagerService.java 223 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>();
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsServiceTest.java 172 PowerManager.WakeLock wakeLock =
176 mServiceContext, mNetManager, alarmManager, wakeLock, mTime,
    [all...]
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsService.java 166 private final PowerManager.WakeLock mWakeLock;
270 PowerManager.WakeLock wakeLock =
274 wakeLock, NtpTrustedTime.getInstance(context), TelephonyManager.getDefault(),
288 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, TrustedTime time,
297 mWakeLock = checkNotNull(wakeLock, "missing WakeLock");
    [all...]
  /frameworks/base/services/core/java/com/android/server/content/
SyncManager.java 204 volatile private PowerManager.WakeLock mHandleAlarmWakeLock;
205 volatile private PowerManager.WakeLock mSyncManagerWakeLock;
568 // This WakeLock is used to ensure that we stay awake between the time that we receive
576 // This WakeLock is used to ensure that we stay awake while running the sync loop
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 

Completed in 382 milliseconds