Searched refs:quotaBuckets (Results 1 – 1 of 1) sorted by relevance
/packages/modules/HealthFitness/framework/java/android/health/connect/ratelimiter/ |
D | RateLimiter.java | 260 int uid, List<Integer> quotaBuckets, int cost) { in spendApiCallResourcesIfAvailable() argument 262 getQuotaBucketToAvailableQuotaMap(uid, quotaBuckets); in spendApiCallResourcesIfAvailable() 263 checkIfResourcesAreAvailable(quotaBucketToAvailableQuotaMap, quotaBuckets, cost); in spendApiCallResourcesIfAvailable() 264 spendAvailableResources(uid, quotaBucketToAvailableQuotaMap, quotaBuckets, cost); in spendApiCallResourcesIfAvailable() 303 List<Integer> quotaBuckets, in checkIfResourcesAreAvailable() argument 305 for (@QuotaBucket.Type int quotaBucket : quotaBuckets) { in checkIfResourcesAreAvailable() 319 List<Integer> quotaBuckets, in spendAvailableResources() argument 321 for (@QuotaBucket.Type int quotaBucket : quotaBuckets) { in spendAvailableResources() 335 int uid, List<Integer> quotaBuckets) { in getQuotaBucketToAvailableQuotaMap() argument 336 return quotaBuckets.stream() in getQuotaBucketToAvailableQuotaMap()
|