/frameworks/base/core/java/android/app/backup/ |
D | FullBackupDataOutput.java | 41 public FullBackupDataOutput(long quota) { in FullBackupDataOutput() argument 43 mQuota = quota; in FullBackupDataOutput() 49 public FullBackupDataOutput(long quota, int transportFlags) { in FullBackupDataOutput() argument 51 mQuota = quota; in FullBackupDataOutput() 57 public FullBackupDataOutput(ParcelFileDescriptor fd, long quota) { in FullBackupDataOutput() argument 58 mData = new BackupDataOutput(fd.getFileDescriptor(), quota, 0); in FullBackupDataOutput() 59 mQuota = quota; in FullBackupDataOutput() 64 public FullBackupDataOutput(ParcelFileDescriptor fd, long quota, int transportFlags) { in FullBackupDataOutput() argument 65 mData = new BackupDataOutput(fd.getFileDescriptor(), quota, transportFlags); in FullBackupDataOutput() 66 mQuota = quota; in FullBackupDataOutput()
|
D | BackupDataOutput.java | 86 public BackupDataOutput(FileDescriptor fd, long quota) { in BackupDataOutput() argument 87 this(fd, quota, /*transportFlags=*/ 0); in BackupDataOutput() 91 public BackupDataOutput(FileDescriptor fd, long quota, int transportFlags) { in BackupDataOutput() argument 93 mQuota = quota; in BackupDataOutput()
|
/frameworks/base/core/proto/android/util/ |
D | quotatracker.proto | 19 package android.util.quota; 25 // A com.android.util.quota.QuotaTracker object. 31 // If quota is free for everything in the tracker. 48 // The time at which the UPTC will be in quota, in the elapsed realtime timebase. 58 // A com.android.util.quota.Category object. 66 // A com.android.util.quota.Uptc object. 78 // A com.android.util.quota.CountQuotaTracker object. 113 // The time after which the app will be under the bucket quota. This is only valid if 123 // True if the UPTC has been given free quota.
|
/frameworks/base/core/java/android/webkit/ |
D | WebStorage.java | 64 protected Origin(String origin, long quota, long usage) { in Origin() argument 66 mQuota = quota; in Origin() 157 public void setQuotaForOrigin(String origin, long quota) { in setQuotaForOrigin() argument
|
D | WebChromeClient.java | 356 long quota, long estimatedDatabaseSize, long totalQuota, in onExceededDatabaseQuota() argument 360 quotaUpdater.updateQuota(quota); in onExceededDatabaseQuota() 383 public void onReachedMaxAppCacheSize(long requiredStorage, long quota, in onReachedMaxAppCacheSize() argument 385 quotaUpdater.updateQuota(quota); in onReachedMaxAppCacheSize()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 338 long quota = LocalServices.getService(NetworkPolicyManagerInternal.class) in updateMultipathBudget() local 340 if (DBG) Log.d(TAG, "Opportunistic quota from data plan: " + quota + " bytes"); in updateMultipathBudget() 343 if (quota == OPPORTUNISTIC_QUOTA_UNKNOWN) { in updateMultipathBudget() 344 quota = getUserPolicyOpportunisticQuotaBytes(); in updateMultipathBudget() 345 if (DBG) Log.d(TAG, "Opportunistic quota from user policy: " + quota + " bytes"); in updateMultipathBudget() 348 if (quota == OPPORTUNISTIC_QUOTA_UNKNOWN) { in updateMultipathBudget() 349 quota = getDefaultDailyMultipathQuotaBytes(); in updateMultipathBudget() 350 if (DBG) Log.d(TAG, "Setting quota: " + quota + " bytes"); in updateMultipathBudget() 354 if (haveMultipathBudget() && quota == mQuota) { in updateMultipathBudget() 358 if (DBG) Log.d(TAG, "Quota still " + quota + ", not updating."); in updateMultipathBudget() [all …]
|
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/ |
D | BackupRestoreContext.kt | 41 val quota: Long constant in com.android.settingslib.datastore.BackupContext 42 @RequiresApi(Build.VERSION_CODES.O) get() = data.quota
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | Category.java | 17 package com.android.server.utils.quota; 21 import android.util.quota.CategoryProto;
|
D | Uptc.java | 17 package com.android.server.utils.quota; 22 import android.util.quota.UptcProto;
|
D | QuotaChangeListener.java | 17 package com.android.server.utils.quota;
|
D | Categorizer.java | 17 package com.android.server.utils.quota;
|
D | QuotaTracker.java | 17 package com.android.server.utils.quota; 21 import static com.android.server.utils.quota.Uptc.string; 40 import android.util.quota.QuotaTrackerProto;
|
D | MultiRateLimiter.java | 17 package com.android.server.utils.quota;
|
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/ |
D | BackupRestoreContextTest.kt | 34 val data = mock<BackupDataOutput> { on { quota } doReturn 10L } in backupContext_quota() 35 assertThat(BackupContext(data).quota).isEqualTo(10) in backupContext_quota()
|
/frameworks/base/core/java/android/app/usage/ |
D | CacheQuotaHint.java | 132 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/robotests/src/com/android/server/testing/shadows/ |
D | ShadowBackupDataOutput.java | 42 protected void __constructor__(FileDescriptor fd, long quota, int transportFlags) { in __constructor__() argument 44 mQuota = quota; in __constructor__()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 414 long quota = Long.MAX_VALUE; in run() local 423 quota = transport.getBackupQuota(currentPackage.packageName, in run() 429 mTransportConnection, quota, mBackupRunnerOpToken, in run() 499 + ": " + totalRead + " of " + quota); in run() 505 mBackupRunner.sendQuotaExceeded(totalRead, quota); in run() 738 long quota, in SinglePackageBackupPreflight() argument 742 mQuota = quota; in SinglePackageBackupPreflight() 851 TransportConnection transportConnection, long quota, int currentOpToken, in SinglePackageBackupRunner() argument 858 transportConnection, quota, mEphemeralToken, transportFlags); in SinglePackageBackupRunner() 863 mQuota = quota; in SinglePackageBackupRunner()
|
D | FullBackupEngine.java | 195 long quota, in FullBackupEngine() argument 206 mQuota = quota; in FullBackupEngine()
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 164 optional .android.util.quota.CountQuotaTrackerProto quota_tracker = 22; 228 // Whether to use heartbeats or rolling window for quota management. True 231 // Whether to enable quota limits on APIs. 237 // Whether or not to throw an exception when an app hits its schedule quota limit. 239 // Whether or not to return a failure result when an app hits its schedule quota limit. 247 // How much time the package should have before transitioning from out-of-quota to in-quota. 248 // This should not affect processing if the package is already in-quota. 250 // The quota window size of the particular standby bucket. Apps in this standby bucket are 254 // The quota window size of the particular standby bucket. Apps in this standby bucket are 258 // The quota window size of the particular standby bucket. Apps in this standby bucket are [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | CacheQuotaStrategyTest.java | 126 private CacheQuotaHint buildCacheQuotaHint(String volumeUuid, int uid, long quota) { in buildCacheQuotaHint() argument 128 .setVolumeUuid(volumeUuid).setUid(uid).setQuota(quota).build(); in buildCacheQuotaHint()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/ |
D | OWNERS | 1 include platform/frameworks/base:/services/core/java/com/android/server/utils/quota/OWNERS
|
D | CountQuotaTrackerTest.java | 17 package com.android.server.utils.quota; 24 import static com.android.server.utils.quota.Category.SINGLE_CATEGORY; 25 import static com.android.server.utils.quota.QuotaTracker.MAX_WINDOW_SIZE_MS; 26 import static com.android.server.utils.quota.QuotaTracker.MIN_WINDOW_SIZE_MS; 57 import com.android.server.utils.quota.CountQuotaTracker.ExecutionStats;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 923 private void testQuotasDeferralOnSet(LongConsumer alarmSetter, int quota, long window) 926 for (int i = 0; i < quota; i++) { 933 alarmSetter.accept(firstTrigger + quota); 938 private void testQuotasDeferralOnExpiration(LongConsumer alarmSetter, int quota, long window) 941 for (int i = 0; i < quota; i++) { 945 alarmSetter.accept(firstTrigger + quota); 946 for (int i = 0; i < quota; i++) { 955 private void testQuotasNoDeferral(LongConsumer alarmSetter, int quota, long window) 958 for (int i = 0; i < quota; i++) { 964 for (int i = 0; i < quota; i++) { [all …]
|
/frameworks/base/apex/jobscheduler/service/aconfig/ |
D | job.aconfig | 35 description: "Fix job count quota check"
|
/frameworks/proto_logging/stats/express/catalog/ |
D | job_scheduler.cfg | 103 display_name: "Scheduling failure because of no EJ quota" 104 description: "Number of times apps fail to schedule EJs because they didn't have quota" 525 display_name: "JobScheduler quota reductions for buggy apps" 526 …description: "Counting the times the quota for a job was reduced because the hosting app was buggy"
|