Home
last modified time | relevance | path

Searched refs:quota (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DFullBackupDataOutput.java27 public FullBackupDataOutput(long quota) { in FullBackupDataOutput() argument
29 mQuota = quota; in FullBackupDataOutput()
34 public FullBackupDataOutput(ParcelFileDescriptor fd, long quota) { in FullBackupDataOutput() argument
35 mData = new BackupDataOutput(fd.getFileDescriptor(), quota); in FullBackupDataOutput()
36 mQuota = quota; in FullBackupDataOutput()
DBackupDataOutput.java79 public BackupDataOutput(FileDescriptor fd, long quota) { in BackupDataOutput() argument
81 mQuota = quota; in BackupDataOutput()
/frameworks/base/core/java/android/webkit/
DWebStorage.java71 protected Origin(String origin, long quota, long usage) { in Origin() argument
73 mQuota = quota; in Origin()
166 public void setQuotaForOrigin(String origin, long quota) { in setQuotaForOrigin() argument
DWebChromeClient.java251 long quota, long estimatedDatabaseSize, long totalQuota, in onExceededDatabaseQuota() argument
255 quotaUpdater.updateQuota(quota); in onExceededDatabaseQuota()
276 public void onReachedMaxAppCacheSize(long requiredStorage, long quota, in onReachedMaxAppCacheSize() argument
278 quotaUpdater.updateQuota(quota); in onReachedMaxAppCacheSize()
/frameworks/base/core/java/android/app/usage/
DCacheQuotaHint.java132 public @NonNull Builder setQuota(long quota) { in setQuota() argument
133 Preconditions.checkArgument((quota >= QUOTA_NOT_SET)); in setQuota()
134 mQuota = quota; in setQuota()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java322 long quota = Long.MAX_VALUE; in run() local
331 quota = mTransport.getBackupQuota(currentPackage.packageName, in run()
337 mTransport, quota, mBackupRunnerOpToken); in run()
406 + ": " + totalRead + " of " + quota); in run()
412 mBackupRunner.sendQuotaExceeded(totalRead, quota); in run()
631 SinglePackageBackupPreflight(IBackupTransport transport, long quota, int currentOpToken) { in SinglePackageBackupPreflight() argument
633 mQuota = quota; in SinglePackageBackupPreflight()
733 IBackupTransport transport, long quota, int currentOpToken) throws IOException { in SinglePackageBackupRunner() argument
738 mPreflight = new SinglePackageBackupPreflight(transport, quota, mEphemeralToken); in SinglePackageBackupRunner()
743 mQuota = quota; in SinglePackageBackupRunner()
DFullBackupEngine.java167 boolean alsoApks, BackupRestoreTask timeoutMonitor, long quota, int opToken) { in FullBackupEngine() argument
177 mQuota = quota; in FullBackupEngine()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DCacheQuotaStrategyTest.java124 private CacheQuotaHint buildCacheQuotaHint(String volumeUuid, int uid, long quota) { in buildCacheQuotaHint() argument
126 .setVolumeUuid(volumeUuid).setUid(uid).setQuota(quota).build(); in buildCacheQuotaHint()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformBackupTask.java677 final long quota = mTransport.getBackupQuota(packageName, false /* isFullBackup */); in invokeAgentForBackup() local
686 agent.doBackup(mSavedState, mBackupData, mNewState, quota, mEphemeralOpToken, in invokeAgentForBackup()
987 long quota = mTransport.getBackupQuota(mCurrentPackage.packageName, in operationComplete() local
989 mAgentBinder.doQuotaExceeded(size, quota); in operationComplete()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java244 private void insertIntoQuotaMap(String volumeUuid, int userId, int appId, long quota) { in insertIntoQuotaMap() argument
250 volumeMap.put(UserHandle.getUid(userId, appId), quota); in insertIntoQuotaMap() local
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java571 int quota = UPLOAD_LIMIT; in uploadTiles() local
573 while (quota > 0) { in uploadTiles()
583 --quota; in uploadTiles()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java3189 final long quota = mTransport.getBackupQuota(packageName, false /* isFullBackup */); in invokeAgentForBackup() local
3198 agent.doBackup(mSavedState, mBackupData, mNewState, quota, mEphemeralOpToken, in invokeAgentForBackup()
3492 long quota = mTransport.getBackupQuota(mCurrentPackage.packageName, in operationComplete() local
3494 mAgentBinder.doQuotaExceeded(size, quota); in operationComplete()
3869 … boolean alsoApks, BackupRestoreTask timeoutMonitor, long quota, int opToken) { in FullBackupEngine() argument
3878 mQuota = quota; in FullBackupEngine()
4830 long quota = Long.MAX_VALUE; in run() local
4839 quota = mTransport.getBackupQuota(currentPackage.packageName, in run()
4845 mTransport, quota, mBackupRunnerOpToken); in run()
4913 + ": " + totalRead + " of " + quota); in run()
[all …]
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags161 # Disk usage stats for verifying quota correctness