Searched refs:usedAlertQuota (Results 1 – 2 of 2) sorted by relevance
465 final long usedAlertQuota = diff.rxBytes + diff.txBytes; in maybeUpdateStats() local472 if (mRemainingAlertQuota > 0 && usedAlertQuota > 0) { in maybeUpdateStats()474 final long newQuota = Math.max(mRemainingAlertQuota - usedAlertQuota, 0); in maybeUpdateStats()
1807 long usedAlertQuota = 0; in updateQuotaAndStatsFromSnapshot() local1814 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()