Home
last modified time | relevance | path

Searched refs:totalUsedQuota (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Browser/tests/src/com/android/browser/
DWebStorageSizeManagerUnitTests.java84 long totalUsedQuota = 0; in testCallbacks() local
98 …nExceededDatabaseQuota("1", "1", origin1Quota, origin1EstimatedSize, totalUsedQuota, mQuotaUpdater… in testCallbacks()
101 totalUsedQuota += origin1Quota; in testCallbacks()
106 …nExceededDatabaseQuota("2", "2", origin2Quota, origin2EstimatedSize, totalUsedQuota, mQuotaUpdater… in testCallbacks()
109 totalUsedQuota += origin2Quota; in testCallbacks()
112 manager.onExceededDatabaseQuota("1", "1", origin1Quota, 0, totalUsedQuota, mQuotaUpdater); in testCallbacks()
114 totalUsedQuota -= origin1Quota; in testCallbacks()
116 totalUsedQuota += origin1Quota; in testCallbacks()
119 manager.onExceededDatabaseQuota("2", "2", origin2Quota, 0, totalUsedQuota, mQuotaUpdater); in testCallbacks()
121 totalUsedQuota -= origin2Quota; in testCallbacks()
[all …]
DTestWebChromeClient.java135 long currentQuota, long estimatedSize, long totalUsedQuota, in onExceededDatabaseQuota() argument
138 estimatedSize, totalUsedQuota, quotaUpdater); in onExceededDatabaseQuota()
143 public void onReachedMaxAppCacheSize(long spaceNeeded, long totalUsedQuota, in onReachedMaxAppCacheSize() argument
145 mWrappedClient.onReachedMaxAppCacheSize(spaceNeeded, totalUsedQuota, quotaUpdater); in onReachedMaxAppCacheSize()
/packages/apps/Browser/src/com/android/browser/
DWebStorageSizeManager.java223 long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) { in onExceededDatabaseQuota() argument
233 + totalUsedQuota in onExceededDatabaseQuota()
236 long totalUnusedQuota = mGlobalLimit - totalUsedQuota - mAppCacheMaxSize; in onExceededDatabaseQuota()
241 if (totalUsedQuota > 0) { in onExceededDatabaseQuota()
311 public void onReachedMaxAppCacheSize(long spaceNeeded, long totalUsedQuota, in onReachedMaxAppCacheSize() argument
318 long totalUnusedQuota = mGlobalLimit - totalUsedQuota - mAppCacheMaxSize; in onReachedMaxAppCacheSize()
323 if (totalUsedQuota > 0) { in onReachedMaxAppCacheSize()
DTab.java870 long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {
873 currentQuota, estimatedSize, totalUsedQuota,
889 long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {
891 .onReachedMaxAppCacheSize(spaceNeeded, totalUsedQuota,