Searched refs:quota (Results 1 – 5 of 5) 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()
189 public static byte[] getDataFromImage(Image image, Semaphore quota) in getDataFromImage() argument208 if (quota != null) { in getDataFromImage()211 quota.acquire(buffer.capacity()); in getDataFromImage()226 if (quota != null) { in getDataFromImage()229 quota.acquire(dataSize); in getDataFromImage()
379 int quota = maxYuvSize.getWidth() * maxYuvSize.getHeight() * 4 * 3; in openCameraDevice() local380 if (quota > mMemoryQuota) { in openCameraDevice()381 mMemoryQuota = quota; in openCameraDevice()
325 final int quota = APP_STANDBY_QUOTAS[bucketIndex]; in testSimpleQuotaDeferral() local337 firstTrigger + ((quota - 1) * MIN_FUTURITY) < desiredTrigger); in testSimpleQuotaDeferral()338 for (int i = 0; i < quota; i++) { in testSimpleQuotaDeferral()
798 public void onExceededDatabaseQuota(String url, String databaseId, long quota, in testDatabaseDisabled()