/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackupDataOutput.java | 17 * Returns the quota in bytes for the application's current backup operation. The 27 public FullBackupDataOutput(long quota) { argument 29 mQuota = quota; 34 public FullBackupDataOutput(ParcelFileDescriptor fd, long quota) { argument 35 mData = new BackupDataOutput(fd.getFileDescriptor(), quota); 36 mQuota = quota;
|
H A D | BackupDataOutput.java | 70 * not report usable quota information. 79 public BackupDataOutput(FileDescriptor fd, long quota) { argument 81 mQuota = quota; 89 * Returns the quota in bytes for the application's current backup operation. The
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebStorage.java | 41 * Encapsulates a callback function which is used to provide a new quota 51 * Provides a new quota, specified in bytes. 53 * @param newQuota the new quota, in bytes 71 protected Origin(String origin, long quota, long usage) { argument 73 mQuota = quota; 92 * Gets the quota for this origin, for the Web SQL Database API, in 94 * quota will be set to zero. 96 * @return the quota, in bytes 148 * Gets the storage quota for the Web SQL Database API for the given origin. 149 * The quota i 166 setQuotaForOrigin(String origin, long quota) argument [all...] |
H A D | WebChromeClient.java | 229 * Tell the client that the quota has been exceeded for the Web SQL Database 230 * API for a particular origin and request a new quota. The client must 234 * minimum value that can be set for the new quota is the current quota. The 235 * default implementation responds with the current quota, so the quota will 238 * @param databaseIdentifier The identifier of the database where the quota 240 * @param quota The quota for the origin, in bytes 243 * @param totalQuota The total quota fo 250 onExceededDatabaseQuota(String url, String databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, WebStorage.QuotaUpdater quotaUpdater) argument 276 onReachedMaxAppCacheSize(long requiredStorage, long quota, WebStorage.QuotaUpdater quotaUpdater) argument [all...] |
/frameworks/base/core/java/android/app/usage/ |
H A D | CacheQuotaHint.java | 31 * its usage stats. When processed, it obtains a cache quota as defined by the system which 132 public @NonNull Builder setQuota(long quota) { argument 133 Preconditions.checkArgument((quota >= QUOTA_NOT_SET)); 134 mQuota = quota;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
H A D | CacheQuotaStrategyTest.java | 70 + "<quota uuid=\"uuid\" uid=\"0\" bytes=\"100\" />\n" 86 + "<quota uuid=\"uuid\" uid=\"0\" bytes=\"100\" />\n" 87 + "<quota uuid=\"uuid2\" uid=\"10\" bytes=\"250\" />\n" 103 + "<quota uid=\"0\" bytes=\"100\" />\n" 104 + "<quota uid=\"10\" bytes=\"250\" />\n" 112 + "<quota uuid=\"uuid\" uid=\"0\" bytes=\"100\" />\n" 113 + "<quota uuid=\"uuid2\" uid=\"10\" bytes=\"250\" />\n" 124 private CacheQuotaHint buildCacheQuotaHint(String volumeUuid, int uid, long quota) { argument 126 .setVolumeUuid(volumeUuid).setUid(uid).setQuota(quota).build();
|
/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | CacheQuotaStrategy.java | 83 private static final String TAG_QUOTA = "quota"; 144 "Remote exception occurred while trying to get cache quota", 236 "Failed to set cache quota for " + request.getUid(), 244 private void insertIntoQuotaMap(String volumeUuid, int userId, int appId, long quota) { argument 250 volumeMap.put(UserHandle.getUid(userId, appId), quota); 264 Slog.w(TAG, "could not access the cache quota service: no package!"); 289 Slog.e(TAG, "An error occurred while writing the cache quota file.", e); 315 Slog.e(TAG, "An error occurred while parsing the cache quota file."); 357 Slog.d(TAG, "No quotas found in quota file."); 373 "Previous bytes formatted incorrectly; aborting quota rea [all...] |
/frameworks/native/cmds/installd/ |
H A D | CacheTracker.cpp | 22 #include <sys/quota.h> 45 return StringPrintf("UID=%d used=%" PRId64 " quota=%" PRId64 " ratio=%d", 54 ATRACE_BEGIN("loadStats quota");
|
H A D | InstalldNativeService.cpp | 31 #include <sys/quota.h> 300 * Ensure that we have a hard-limit quota to protect against abusive apps; 310 PLOG(WARNING) << "Failed to find quota for " << uid; 327 PLOG(WARNING) << "Failed to set hard quota for " << uid; 334 // Hard quota already set; assume it's reasonable 411 return error("Failed to set hard quota " + path); 875 return error("Failed to set hard quota for media_rw"); 945 // files from the UIDs which are most over their allocated quota 981 LOG(WARNING) << "UID " << uid << " has no cache quota; assuming 64MB"; 1010 // the most over their assigned quota [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 571 int quota = UPLOAD_LIMIT; 573 while (quota > 0) { 583 --quota;
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 3227 final long quota = mTransport.getBackupQuota(packageName, false /* isFullBackup */); 3236 agent.doBackup(mSavedState, mBackupData, mNewState, quota, mEphemeralOpToken, 3526 " hit quota limit on k/v backup"); 3530 long quota = mTransport.getBackupQuota(mCurrentPackage.packageName, 3532 mAgentBinder.doQuotaExceeded(size, quota); 3534 Slog.e(TAG, "Unable to notify about quota exceeded: " + e.getMessage()); 3906 boolean alsoApks, BackupRestoreTask timeoutMonitor, long quota, int opToken) { 3915 mQuota = quota; 4005 Slog.e(TAG, "Remote exception while telling agent about quota exceeded"); 4866 long quota 3905 FullBackupEngine(OutputStream output, FullBackupPreflight preflightHook, PackageInfo pkg, boolean alsoApks, BackupRestoreTask timeoutMonitor, long quota, int opToken) argument 5167 SinglePackageBackupPreflight(IBackupTransport transport, long quota, int currentOpToken) argument 5267 SinglePackageBackupRunner(ParcelFileDescriptor output, PackageInfo target, IBackupTransport transport, long quota, int currentOpToken) argument [all...] |