Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java694 long usedAlertQuota = 0; in updateQuotaAndStatsFromSnapshot() local
700 usedAlertQuota += diff.rxBytes + diff.txBytes; in updateQuotaAndStatsFromSnapshot()
719 if (mRemainingAlertQuota > 0 && usedAlertQuota > 0) { in updateQuotaAndStatsFromSnapshot()
721 final long newQuota = Math.max(mRemainingAlertQuota - usedAlertQuota, 0); in updateQuotaAndStatsFromSnapshot()
DOffloadController.java402 final long usedAlertQuota = diff.rxBytes + diff.txBytes; in maybeUpdateStats() local
409 if (mRemainingAlertQuota > 0 && usedAlertQuota > 0) { in maybeUpdateStats()
411 final long newQuota = Math.max(mRemainingAlertQuota - usedAlertQuota, 0); in maybeUpdateStats()