Searched refs:memoryCost (Results 1 – 3 of 3) sorted by relevance
163 long memoryCost) { in tryAcquireApiCallQuota() argument191 memoryCost, in tryAcquireApiCallQuota()199 public static void checkMaxChunkMemoryUsage(long memoryCost) { in checkMaxChunkMemoryUsage() argument209 if (memoryCost > memoryLimit) { in checkMaxChunkMemoryUsage()215 + memoryCost); in checkMaxChunkMemoryUsage()219 public static void checkMaxRecordMemoryUsage(long memoryCost) { in checkMaxRecordMemoryUsage() argument229 if (memoryCost > memoryLimit) { in checkMaxRecordMemoryUsage()235 + memoryCost); in checkMaxRecordMemoryUsage()272 long memoryCost, in spendApiAndMemoryResourcesIfAvailable() argument283 memoryCost, in spendApiAndMemoryResourcesIfAvailable() local[all …]
225 int memoryCost) { in tryAcquireCallQuotaNTimes() argument227 RateLimiter.tryAcquireApiCallQuota(UID, quotaCategory, isInForeground, memoryCost); in tryAcquireCallQuotaNTimes()
2342 long memoryCost) { in tryAcquireApiCallQuota() argument2344 RateLimiter.tryAcquireApiCallQuota(uid, quotaCategory, isInForeground, memoryCost); in tryAcquireApiCallQuota()