Home | History | Annotate | Download | only in content

Lines Matching refs:wakeLock

167     volatile private PowerManager.WakeLock mHandleAlarmWakeLock;
168 volatile private PowerManager.WakeLock mSyncManagerWakeLock;
441 // This WakeLock is used to ensure that we stay awake between the time that we receive
449 // This WakeLock is used to ensure that we stay awake while running the sync loop
1020 final PowerManager.WakeLock mSyncWakeLock;
1026 * Create an ActiveSyncContext for an impending sync and grab the wakelock for that
1027 * sync adapter. Since this grabs the wakelock you need to be sure to call
1033 * for this sync. This is used to attribute the wakelock hold to that application.
1107 * Performs the required cleanup, which is the releasing of the wakelock and
1747 private final HashMap<Pair<Account, String>, PowerManager.WakeLock> mWakeLocks =
1762 private PowerManager.WakeLock getSyncWakeLock(Account account, String authority) {
1764 PowerManager.WakeLock wakeLock = mWakeLocks.get(wakeLockKey);
1765 if (wakeLock == null) {
1767 wakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, name);
1768 wakeLock.setReferenceCounted(false);
1769 mWakeLocks.put(wakeLockKey, wakeLock);
1771 return wakeLock;