Home
last modified time | relevance | path

Searched refs:mRemainingAlertQuota (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java124 private long mRemainingAlertQuota = QUOTA_UNLIMITED; field in OffloadController
409 if (mRemainingAlertQuota > 0 && usedAlertQuota > 0) { in maybeUpdateStats()
411 final long newQuota = Math.max(mRemainingAlertQuota - usedAlertQuota, 0); in maybeUpdateStats()
434 if (mRemainingAlertQuota == newQuota) return; in updateAlertQuota()
436 mRemainingAlertQuota = newQuota; in updateAlertQuota()
437 if (mRemainingAlertQuota == 0) { in updateAlertQuota()
459 return started() && mRemainingAlertQuota > 0 in isPollingStatsNeeded()
DBpfCoordinator.java109 private long mRemainingAlertQuota = QUOTA_UNLIMITED; field in BpfCoordinator
683 if (mRemainingAlertQuota == newQuota) return; in updateAlertQuota()
685 mRemainingAlertQuota = newQuota; in updateAlertQuota()
686 if (mRemainingAlertQuota == 0) { in updateAlertQuota()
719 if (mRemainingAlertQuota > 0 && usedAlertQuota > 0) { in updateQuotaAndStatsFromSnapshot()
721 final long newQuota = Math.max(mRemainingAlertQuota - usedAlertQuota, 0); in updateQuotaAndStatsFromSnapshot()