Home
last modified time | relevance | path

Searched refs:quota (Results 1 – 6 of 6) 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/tests/tests/app.usage/src/android/app/usage/cts/
DCacheQuotaHintTest.java64 private CacheQuotaHint buildHint(String volumeUuid, int uid, long quota) { in buildHint() argument
68 .setQuota(quota) in buildHint()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java175 final int quota = APP_STANDBY_QUOTAS[bucketIndex]; in testSimpleQuotaDeferral() local
187 firstTrigger + ((quota - 1) * MIN_FUTURITY) < desiredTrigger); in testSimpleQuotaDeferral()
188 for (int i = 0; i < quota; i++) { in testSimpleQuotaDeferral()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java219 public static byte[] getDataFromImage(Image image, Semaphore quota) in getDataFromImage() argument
238 if (quota != null) { in getDataFromImage()
241 quota.acquire(buffer.capacity()); in getDataFromImage()
256 if (quota != null) { in getDataFromImage()
259 quota.acquire(dataSize); in getDataFromImage()
DItsService.java646 int quota = maxYuvSize.getWidth() * maxYuvSize.getHeight() * 4 * 3; in openCameraDevice() local
647 if (quota > mMemoryQuota) { in openCameraDevice()
648 mMemoryQuota = quota; in openCameraDevice()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java772 public void onExceededDatabaseQuota(String url, String databaseId, long quota, in testDatabaseDisabled()