Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java465 final long usedAlertQuota = diff.rxBytes + diff.txBytes; in maybeUpdateStats() local
472 if (mRemainingAlertQuota > 0 && usedAlertQuota > 0) { in maybeUpdateStats()
474 final long newQuota = Math.max(mRemainingAlertQuota - usedAlertQuota, 0); in maybeUpdateStats()
DBpfCoordinator.java1807 long usedAlertQuota = 0; in updateQuotaAndStatsFromSnapshot() local
1814 usedAlertQuota += diff.rxBytes + diff.txBytes; in updateQuotaAndStatsFromSnapshot()
1833 if (mRemainingAlertQuota > 0 && usedAlertQuota > 0) { in updateQuotaAndStatsFromSnapshot()
1835 final long newQuota = Math.max(mRemainingAlertQuota - usedAlertQuota, 0); in updateQuotaAndStatsFromSnapshot()