Home
last modified time | relevance | path

Searched refs:quota (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtilsReceiver.java69 final long quota = sm.getCacheQuotaBytes(intUuid); in doAllocation() local
70 final long bytes = (long) (quota * fraction); in doAllocation()
93 Log.d(TAG, "Quota " + quota + ", target " + bytes + ", allocated " + allocated); in doAllocation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java189 public static byte[] getDataFromImage(Image image, Semaphore quota) in getDataFromImage() argument
208 if (quota != null) { in getDataFromImage()
211 quota.acquire(buffer.capacity()); in getDataFromImage()
226 if (quota != null) { in getDataFromImage()
229 quota.acquire(dataSize); in getDataFromImage()
DItsService.java379 int quota = maxYuvSize.getWidth() * maxYuvSize.getHeight() * 4 * 3; in openCameraDevice() local
380 if (quota > mMemoryQuota) { in openCameraDevice()
381 mMemoryQuota = quota; in openCameraDevice()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java325 final int quota = APP_STANDBY_QUOTAS[bucketIndex]; in testSimpleQuotaDeferral() local
337 firstTrigger + ((quota - 1) * MIN_FUTURITY) < desiredTrigger); in testSimpleQuotaDeferral()
338 for (int i = 0; i < quota; i++) { in testSimpleQuotaDeferral()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java798 public void onExceededDatabaseQuota(String url, String databaseId, long quota, in testDatabaseDisabled()