Searched refs:quota (Results 1 – 24 of 24) sorted by relevance
310 private static void spendAvailableResources(Quota quota, Integer quotaBucket, long memoryCost) { in spendAvailableResources() argument311 quota.setRemainingQuota(getAvailableQuota(quotaBucket, quota) - memoryCost); in spendAvailableResources()312 quota.setLastUpdatedTime(Instant.now()); in spendAvailableResources()358 private static float getAvailableQuota(@QuotaBucket.Type int quotaBucket, Quota quota) { in getAvailableQuota() argument359 Instant lastUpdatedTime = quota.getLastUpdatedTime(); in getAvailableQuota()368 quota.getRemainingQuota() + accumulated, getConfiguredMaxRollingQuota(quotaBucket)); in getAvailableQuota()377 Quota quota = packageQuotas.get(quotaBucket); in getQuota() local378 if (quota == null) { in getQuota()379 quota = getInitialQuota(quotaBucket); in getQuota()381 return quota; in getQuota()
5 CacheQuoteService defines a service which accepts cache quota requests and processes them,6 thereby filling out how much quota each request deserves.
45 public TimedQuotaManager(Clock clock, long quota, long periodMillis) { in TimedQuotaManager() argument47 mQuota = quota; in TimedQuotaManager()
494 private void setQuota(ImapFolder.Quota quota) { in setQuota() argument495 if (quota == null) { in setQuota()504 + quota.occupied in setQuota()506 + quota.total); in setQuota()507 VoicemailStatus.edit(context, phoneAccount).setQuota(quota.occupied, quota.total).apply(); in setQuota()
530 final InterfaceQuota quota = mInterfaceQuotas.getOrDefault(iface, InterfaceQuota.MAX_VALUE); in maybeUpdateDataWarningAndLimit() local533 ret = mHwInterface.setDataWarningAndLimit(iface, quota.warningBytes, quota.limitBytes); in maybeUpdateDataWarningAndLimit()535 ret = mHwInterface.setDataLimit(iface, quota.limitBytes); in maybeUpdateDataWarningAndLimit()
30 …mits|mman|mount|msg|mtio|param|personality|poll|prctl|procfs|ptrace|queue|quota|random|reboot|reg|…
1242 p_lcb->rr_serv[p_lcb->rr_pri].quota--; in l2cu_get_next_channel_in_rr()1247 if ((p_lcb->rr_serv[p_lcb->rr_pri].quota == 0) || (!p_serve_ccb)) { in l2cu_get_next_channel_in_rr()1251 p_lcb->rr_serv[p_lcb->rr_pri].quota = in l2cu_get_next_channel_in_rr()1259 p_lcb->rr_serv[p_serve_ccb->ccb_priority].quota, in l2cu_get_next_channel_in_rr()
400 uint8_t quota; /* burst transmission quota */ member
1219 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].quota = in l2cu_enqueue_ccb()1331 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].quota = in l2cu_change_pri_ccb()
1763 (p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].quota > 0)) { in l2c_enqueue_peer_data()
571 int quota = UPLOAD_LIMIT; in uploadTiles() local573 while (quota > 0) { in uploadTiles()583 --quota; in uploadTiles()
567 int quota = UPLOAD_LIMIT; in onGLIdle() local569 while (quota > 0) { in onGLIdle()579 --quota; in onGLIdle()
51 // T10 (data 0) would cross bucket to generate a report, but quota was reached
1370 for (final long quota : new long[] {0, 1048576000, Long.MAX_VALUE, QUOTA_UNLIMITED}) { in testSetDataLimit()1371 mTetherStatsProvider.onSetLimit(mobileIface, quota); in testSetDataLimit()1373 verifyTetherOffloadSetInterfaceQuota(inOrder, mobileIfIndex, quota, in testSetDataLimit()
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...