/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackupDataOutput.java | 18 * Returns the quota in bytes for the application's current backup operation. The 38 public FullBackupDataOutput(long quota) { argument 40 mQuota = quota; 46 public FullBackupDataOutput(long quota, int transportFlags) { argument 48 mQuota = quota; 54 public FullBackupDataOutput(ParcelFileDescriptor fd, long quota) { argument 55 mData = new BackupDataOutput(fd.getFileDescriptor(), quota, 0); 56 mQuota = quota; 61 public FullBackupDataOutput(ParcelFileDescriptor fd, long quota, int transportFlags) { argument 62 mData = new BackupDataOutput(fd.getFileDescriptor(), quota, transportFlag [all...] |
H A D | BackupDataOutput.java | 74 * not report usable quota information. 78 this(fd, /*quota=*/ -1, /*transportFlags=*/ 0); 83 public BackupDataOutput(FileDescriptor fd, long quota) { argument 84 this(fd, quota, /*transportFlags=*/ 0); 88 public BackupDataOutput(FileDescriptor fd, long quota, int transportFlags) { argument 90 mQuota = quota; 99 * Returns the quota in bytes for the application's current backup operation. The
|
/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/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 | 249 * Tell the client that the quota has been exceeded for the Web SQL Database 250 * API for a particular origin and request a new quota. The client must 254 * minimum value that can be set for the new quota is the current quota. The 255 * default implementation responds with the current quota, so the quota will 258 * @param databaseIdentifier The identifier of the database where the quota 260 * @param quota The quota for the origin, in bytes 263 * @param totalQuota The total quota fo 270 onExceededDatabaseQuota(String url, String databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, WebStorage.QuotaUpdater quotaUpdater) argument 296 onReachedMaxAppCacheSize(long requiredStorage, long quota, WebStorage.QuotaUpdater quotaUpdater) argument [all...] |
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
H A D | ShadowBackupDataOutput.java | 41 public void __constructor__(FileDescriptor fd, long quota, int transportFlags) { argument 47 mQuota = quota;
|
/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/backup/java/com/android/server/backup/fullbackup/ |
H A D | FullBackupEngine.java | 169 boolean alsoApks, BackupRestoreTask timeoutMonitor, long quota, int opToken, 180 mQuota = quota; 278 Slog.e(TAG, "Remote exception while telling agent about quota exceeded"); 166 FullBackupEngine(BackupManagerService backupManagerService, OutputStream output, FullBackupPreflight preflightHook, PackageInfo pkg, boolean alsoApks, BackupRestoreTask timeoutMonitor, long quota, int opToken, int transportFlags) argument
|
H A D | PerformFullTransportBackupTask.java | 371 long quota = Long.MAX_VALUE; 380 quota = transport.getBackupQuota(currentPackage.packageName, 386 mTransportClient, quota, mBackupRunnerOpToken, 453 // Despite preflight succeeded, package still can hit quota on flight. 455 Slog.w(TAG, "Package hit quota limit in-flight " + packageName 456 + ": " + totalRead + " of " + quota); 462 mBackupRunner.sendQuotaExceeded(totalRead, quota); 556 Slog.i(TAG, "Transport quota exceeded for package: " + packageName); 694 long quota, 698 mQuota = quota; 692 SinglePackageBackupPreflight( TransportClient transportClient, long quota, int currentOpToken, int transportFlags) argument 805 SinglePackageBackupRunner(ParcelFileDescriptor output, PackageInfo target, TransportClient transportClient, long quota, int currentOpToken, int transportFlags) argument [all...] |
/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...] |