Home
last modified time | relevance | path

Searched refs:quotaBytes (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/net/netstats/provider/
DNetworkStatsProvider.java45 public void onSetLimit(String iface, long quotaBytes) {
46 NetworkStatsProvider.this.onSetLimit(iface, quotaBytes);
50 public void onSetAlert(long quotaBytes) {
51 NetworkStatsProvider.this.onSetAlert(quotaBytes);
183 public abstract void onSetLimit(@NonNull String iface, long quotaBytes); in onSetLimit() argument
194 public abstract void onSetAlert(long quotaBytes); in onSetAlert() argument
DINetworkStatsProvider.aidl26 void onSetLimit(String iface, long quotaBytes); in onSetLimit() argument
27 void onSetAlert(long quotaBytes); in onSetAlert() argument
/frameworks/base/core/java/android/app/
DIBackupAgent.aidl58 long quotaBytes, IBackupCallback callbackBinder, int transportFlags); in doBackup() argument
121 void doFullBackup(in ParcelFileDescriptor data, long quotaBytes, int token, in doFullBackup() argument
127 void doMeasureFullBackup(long quotaBytes, int token, IBackupManager callbackBinder, in doMeasureFullBackup() argument
150 void doQuotaExceeded(long backupDataBytes, long quotaBytes, IBackupCallback callbackBinder); in doQuotaExceeded() argument
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java539 public void onSetAlert(long quotaBytes) { in onSetAlert() argument
540 mHandler.post(() -> updateAlertQuota(quotaBytes)); in onSetAlert()
544 public void onSetLimit(@NonNull String iface, long quotaBytes) { in onSetLimit() argument
545 if (quotaBytes < QUOTA_UNLIMITED) { in onSetLimit()
546 throw new IllegalArgumentException("invalid quota value " + quotaBytes); in onSetLimit()
552 if (null == curIfaceQuota && QUOTA_UNLIMITED == quotaBytes) return; in onSetLimit()
554 if (quotaBytes == QUOTA_UNLIMITED) { in onSetLimit()
557 mInterfaceQuotas.put(iface, quotaBytes); in onSetLimit()
605 final long quotaBytes = (limit != null) ? limit : QUOTA_UNLIMITED; in getQuotaBytes() local
607 return quotaBytes; in getQuotaBytes()
[all …]
DOffloadController.java322 public void onSetLimit(String iface, long quotaBytes) { in onSetLimit() argument
333 if (null == curIfaceQuota && QUOTA_UNLIMITED == quotaBytes) return; in onSetLimit()
335 if (quotaBytes == QUOTA_UNLIMITED) { in onSetLimit()
338 mInterfaceQuotas.put(iface, quotaBytes); in onSetLimit()
374 public void onSetAlert(long quotaBytes) { in onSetAlert() argument
378 updateAlertQuota(quotaBytes); in onSetAlert()
/frameworks/base/services/robotests/backup/src/android/app/backup/
DForwardingBackupAgent.java80 public void onQuotaExceeded(long backupDataBytes, long quotaBytes) { in onQuotaExceeded() argument
81 mBackupAgent.onQuotaExceeded(backupDataBytes, quotaBytes); in onQuotaExceeded()
/frameworks/base/core/java/android/net/
DITetheringStatsProvider.aidl41 void setInterfaceQuota(String iface, long quotaBytes); in setInterfaceQuota() argument
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java558 public void onQuotaExceeded(long backupDataBytes, long quotaBytes) { in onQuotaExceeded() argument
1000 long quotaBytes, in doBackup() argument
1008 data.getFileDescriptor(), quotaBytes, transportFlags); in doBackup()
1100 long quotaBytes, int token, IBackupManager callbackBinder, int transportFlags) { in doFullBackup() argument
1112 data, quotaBytes, transportFlags)); in doFullBackup()
1146 public void doMeasureFullBackup(long quotaBytes, int token, IBackupManager callbackBinder, in doMeasureFullBackup() argument
1151 new FullBackupDataOutput(quotaBytes, transportFlags); in doMeasureFullBackup()
1231 long quotaBytes, in doQuotaExceeded() argument
1237 BackupAgent.this.onQuotaExceeded(backupDataBytes, quotaBytes); in doQuotaExceeded()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java286 public void sendQuotaExceeded(long backupDataBytes, long quotaBytes) { in sendQuotaExceeded() argument
290 callback -> mAgent.doQuotaExceeded(backupDataBytes, quotaBytes, callback), in sendQuotaExceeded()
DPerformFullTransportBackupTask.java888 public void sendQuotaExceeded(final long backupDataBytes, final long quotaBytes) { in sendQuotaExceeded() argument
889 mEngine.sendQuotaExceeded(backupDataBytes, quotaBytes); in sendQuotaExceeded()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1912 final long quotaBytes;
1923 quotaBytes = Long.MAX_VALUE;
1928 quotaBytes = Math.max(1, policy.limitBytes - totalBytes);
1933 quotaBytes = Long.MAX_VALUE;
1943 setInterfaceQuotaAsync(iface, quotaBytes);
2000 final long quotaBytes; local
2004 quotaBytes = 0;
2006 quotaBytes = OPPORTUNISTIC_QUOTA_UNKNOWN;
2009 quotaBytes = quotaUnlimited;
2027 quotaBytes = Math.max(0, (long) ((remainingBytes / remainingDays) * quotaLimited));
[all …]
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl265 void setInterfaceQuota(String iface, long quotaBytes); in setInterfaceQuota() argument
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java233 public void onQuotaExceeded(long backupDataBytes, long quotaBytes) { in onQuotaExceeded() argument
234 Slog.i(TAG, "Quota exceeded (" + backupDataBytes + " vs " + quotaBytes + ')'); in onQuotaExceeded()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1192 public void setInterfaceQuota(String iface, long quotaBytes) { in setInterfaceQuota() argument
1202 mNetdService.bandwidthSetInterfaceQuota(iface, quotaBytes); in setInterfaceQuota()
1204 mActiveQuotas.put(iface, quotaBytes); in setInterfaceQuota()
1212 provider.setInterfaceQuota(iface, quotaBytes); in setInterfaceQuota()
1529 public void setInterfaceQuota(String iface, long quotaBytes) { in setInterfaceQuota() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java317 public void onSetLimit(String iface, long quotaBytes) { in onSetLimit() argument
322 public void onSetAlert(long quotaBytes) { in onSetAlert() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...