Searched refs:quota (Results 1 – 4 of 4) 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()
174 public static byte[] getDataFromImage(Image image, Semaphore quota) in getDataFromImage() argument193 if (quota != null) { in getDataFromImage()196 quota.acquire(buffer.capacity()); in getDataFromImage()210 if (quota != null) { in getDataFromImage()213 quota.acquire(dataSize); in getDataFromImage()
363 int quota = maxYuvSize.getWidth() * maxYuvSize.getHeight() * 4 * 3; in openCameraDevice() local364 if (quota > mMemoryQuota) { in openCameraDevice()365 mMemoryQuota = quota; in openCameraDevice()
732 public void onExceededDatabaseQuota(String url, String databaseId, long quota,