Home | History | Annotate | Download | only in content

Lines Matching refs:wakeLock

144     volatile private PowerManager.WakeLock mHandleAlarmWakeLock;
145 volatile private PowerManager.WakeLock mSyncManagerWakeLock;
411 // This WakeLock is used to ensure that we stay awake between the time that we receive
419 // This WakeLock is used to ensure that we stay awake while running the sync loop
915 final PowerManager.WakeLock mSyncWakeLock;
921 * Create an ActiveSyncContext for an impending sync and grab the wakelock for that
922 * sync adapter. Since this grabs the wakelock you need to be sure to call
928 * for this sync. This is used to attribute the wakelock hold to that application.
1001 * Performs the required cleanup, which is the releasing of the wakelock and
1575 private final HashMap<Pair<Account, String>, PowerManager.WakeLock> mWakeLocks =
1596 private PowerManager.WakeLock getSyncWakeLock(Account account, String authority) {
1598 PowerManager.WakeLock wakeLock = mWakeLocks.get(wakeLockKey);
1599 if (wakeLock == null) {
1601 wakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, name);
1602 wakeLock.setReferenceCounted(false);
1603 mWakeLocks.put(wakeLockKey, wakeLock);
1605 return wakeLock;