Searched defs:quota (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DWebStorage.java39 * Encapsulates a callback function which is used to provide a new quota
48 // executed after a decision to either allow or deny new quota is made,
52 * Provides a new quota, specified in bytes.
54 * @param newQuota the new quota, in bytes
71 protected Origin(String origin, long quota, long usage) { argument
73 mQuota = quota;
78 protected Origin(String origin, long quota) { argument
80 mQuota = quota;
103 * Gets the quota for this origin, for the Web SQL Database API, in
105 * quota wil
175 setQuotaForOrigin(String origin, long quota) argument
[all...]
H A DWebChromeClient.java219 * Tell the client that the quota has been exceeded for the Web SQL Database
220 * API for a particular origin and request a new quota. The client must
224 * minimum value that can be set for the new quota is the current quota. The
225 * default implementation responds with the current quota, so the quota will
228 * @param databaseIdentifier The identifier of the database where the quota
230 * @param quota The quota for the origin, in bytes
233 * @param totalQuota The total quota fo
239 onExceededDatabaseQuota(String url, String databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, WebStorage.QuotaUpdater quotaUpdater) argument
264 onReachedMaxAppCacheSize(long requiredStorage, long quota, WebStorage.QuotaUpdater quotaUpdater) argument
[all...]
H A DWebStorageClassic.java50 private static final String QUOTA = "quota";
151 long quota = website.getQuota();
152 retValues.put(QUOTA, new Long(quota));
245 public void setQuotaForOrigin(String origin, long quota) { argument
248 nativeSetQuotaForOrigin(origin, quota);
251 new Origin(origin, quota)));
348 private static native void nativeSetQuotaForOrigin(String origin, long quota); argument
H A DCallbackProxy.java519 long quota =
520 ((Long) map.get("quota")).longValue();
529 databaseIdentifier, quota, estimatedDatabaseSize,
540 long quota =
541 ((Long) map.get("quota")).longValue();
546 quota, quotaUpdater);
1386 * has overflowed it's database quota. Called in the WebCore thread so
1389 * sleep pending a new quota value.
1390 * @param url The URL that caused the quota overflow.
1393 * @param quota Th
1400 onExceededDatabaseQuota( String url, String databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, WebStorage.QuotaUpdater quotaUpdater) argument
1433 onReachedMaxAppCacheSize(long requiredStorage, long quota, WebStorage.QuotaUpdater quotaUpdater) argument
[all...]
H A DWebViewCore.java446 * Notify the embedding application that the origin has exceeded it's database quota.
449 * @param quota The current quota for the origin.
454 long quota,
456 // Inform the callback proxy of the quota overflow. Send an object
459 // client to allow or deny quota is available.
461 quota, estimatedDatabaseSize, getUsedQuota(),
697 * quota for the current origin or more space for the app cache, and that
699 * @param limit Is the new quota for an origin or new app cache max size.
2125 // of WebSQL database quota fo
452 exceededDatabaseQuota(String url, String databaseIdentifier, long quota, long estimatedDatabaseSize) argument
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java76 public void setDatabaseQuota(long quota) { argument
78 Log.i(LOG_TAG, "setDatabaseQuota() called with: " + quota);
80 quota);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java477 public void setDatabaseQuota(long quota) { argument
478 WebStorage.getInstance().setQuotaForOrigin("file://", quota);

Completed in 1133 milliseconds