Home
last modified time | relevance | path

Searched refs:quota (Results 1 – 24 of 24) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/ratelimiter/
DRateLimiter.java310 private static void spendAvailableResources(Quota quota, Integer quotaBucket, long memoryCost) { in spendAvailableResources() argument
311 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() argument
359 Instant lastUpdatedTime = quota.getLastUpdatedTime(); in getAvailableQuota()
368 quota.getRemainingQuota() + accumulated, getConfiguredMaxRollingQuota(quotaBucket)); in getAvailableQuota()
377 Quota quota = packageQuotas.get(quotaBucket); in getQuota() local
378 if (quota == null) { in getQuota()
379 quota = getInitialQuota(quotaBucket); in getQuota()
381 return quota; in getQuota()
/packages/modules/ExtServices/java/src/android/ext/services/storage/
DREADME.md5 CacheQuoteService defines a service which accepts cache quota requests and processes them,
6 thereby filling out how much quota each request deserves.
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DTimedQuotaManager.java45 public TimedQuotaManager(Clock clock, long quota, long periodMillis) { in TimedQuotaManager() argument
47 mQuota = quota; in TimedQuotaManager()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java494 private void setQuota(ImapFolder.Quota quota) { in setQuota() argument
495 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()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java530 final InterfaceQuota quota = mInterfaceQuotas.getOrDefault(iface, InterfaceQuota.MAX_VALUE); in maybeUpdateDataWarningAndLimit() local
533 ret = mHwInterface.setDataWarningAndLimit(iface, quota.warningBytes, quota.limitBytes); in maybeUpdateDataWarningAndLimit()
535 ret = mHwInterface.setDataLimit(iface, quota.limitBytes); in maybeUpdateDataWarningAndLimit()
/packages/services/Car/
D.clang-format30 …mits|mman|mount|msg|mtio|param|personality|poll|prctl|procfs|ptrace|queue|quota|random|reboot|reg|…
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_link.cc1242 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()
Dl2c_int.h400 uint8_t quota; /* burst transmission quota */ member
Dl2c_utils.cc1219 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()
Dl2c_csm.cc1763 (p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].quota > 0)) { in l2c_enqueue_peer_data()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java571 int quota = UPLOAD_LIMIT; in uploadTiles() local
573 while (quota > 0) { in uploadTiles()
583 --quota; in uploadTiles()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java567 int quota = UPLOAD_LIMIT; in onGLIdle() local
569 while (quota > 0) { in onGLIdle()
579 --quota; in onGLIdle()
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/flex_event/
Dflex_event_value_sum_two_specs_two_report_windows_multiple_debug_keys.json51 // T10 (data 0) would cross bucket to generate a report, but quota was reached
Dflex_event_value_sum_two_specs_two_report_windows_debug_report.json51 // T10 (data 0) would cross bucket to generate a report, but quota was reached
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java1370 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()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dnl_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dfr_wordlist.combined.gz