Searched refs:quota (Results 1 – 6 of 6) sorted by relevance
69 final long quota = sm.getCacheQuotaBytes(intUuid); in doAllocation() local70 final long bytes = (long) (quota * fraction); in doAllocation()93 Log.d(TAG, "Quota " + quota + ", target " + bytes + ", allocated " + allocated); in doAllocation()
64 private CacheQuotaHint buildHint(String volumeUuid, int uid, long quota) { in buildHint() argument68 .setQuota(quota) in buildHint()
175 final int quota = APP_STANDBY_QUOTAS[bucketIndex]; in testSimpleQuotaDeferral() local187 firstTrigger + ((quota - 1) * MIN_FUTURITY) < desiredTrigger); in testSimpleQuotaDeferral()188 for (int i = 0; i < quota; i++) { in testSimpleQuotaDeferral()
219 public static byte[] getDataFromImage(Image image, Semaphore quota) in getDataFromImage() argument238 if (quota != null) { in getDataFromImage()241 quota.acquire(buffer.capacity()); in getDataFromImage()256 if (quota != null) { in getDataFromImage()259 quota.acquire(dataSize); in getDataFromImage()
646 int quota = maxYuvSize.getWidth() * maxYuvSize.getHeight() * 4 * 3; in openCameraDevice() local647 if (quota > mMemoryQuota) { in openCameraDevice()648 mMemoryQuota = quota; in openCameraDevice()
772 public void onExceededDatabaseQuota(String url, String databaseId, long quota, in testDatabaseDisabled()