Home
last modified time | relevance | path

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

/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DTestableNetworkStatsProvider.kt39 data class OnSetAlert(val quotaBytes: Long) : CallbackType() constant in com.android.testutils.TestableNetworkStatsProvider.CallbackType.OnSetAlert
54 override fun onSetLimit(iface: String, quotaBytes: Long) { in onSetLimit()
55 history.add(CallbackType.OnSetLimit(iface, quotaBytes)) in onSetLimit()
58 override fun onSetAlert(quotaBytes: Long) { in onSetAlert()
59 history.add(CallbackType.OnSetAlert(quotaBytes)) in onSetAlert()
71 fun expectOnSetLimit(iface: String?, quotaBytes: Long, timeout: Long = defaultTimeoutMs) { in expectOnSetLimit()
72 assertEquals(CallbackType.OnSetLimit(iface, quotaBytes), history.poll(timeout)) in expectOnSetLimit()
75 fun expectOnSetAlert(quotaBytes: Long, timeout: Long = defaultTimeoutMs) { in expectOnSetAlert()
76 assertEquals(CallbackType.OnSetAlert(quotaBytes), history.poll(timeout)) in expectOnSetAlert()
DTestableNetworkStatsProviderBinder.kt28 data class OnSetAlert(val quotaBytes: Long) : CallbackType() constant in com.android.testutils.TestableNetworkStatsProviderBinder.CallbackType.OnSetAlert
42 override fun onSetAlert(quotaBytes: Long) { in onSetAlert()
43 history.add(CallbackType.OnSetAlert(quotaBytes)) in onSetAlert()
59 fun expectOnSetAlert(quotaBytes: Long) { in expectOnSetAlert()
60 assertEquals(CallbackType.OnSetAlert(quotaBytes), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnSetAlert()
DNetworkStatsProviderStubCompat.java30 public void onSetLimit(String iface, long quotaBytes) {} in onSetLimit() argument
/frameworks/base/core/java/android/app/
DIBackupAgent.aidl54 long quotaBytes, IBackupCallback callbackBinder, int transportFlags); in doBackup() argument
117 void doFullBackup(in ParcelFileDescriptor data, long quotaBytes, int token, in doFullBackup() argument
123 void doMeasureFullBackup(long quotaBytes, int token, IBackupManager callbackBinder, in doMeasureFullBackup() argument
146 void doQuotaExceeded(long backupDataBytes, long quotaBytes, IBackupCallback callbackBinder); in doQuotaExceeded() argument
/frameworks/base/core/java/android/net/netstats/provider/
DNetworkStatsProvider.java46 public void onSetAlert(long quotaBytes) {
47 NetworkStatsProvider.this.onSetAlert(quotaBytes);
198 public abstract void onSetLimit(@NonNull String iface, long quotaBytes); in onSetLimit() argument
231 public abstract void onSetAlert(long quotaBytes); in onSetAlert() argument
DINetworkStatsProvider.aidl26 void onSetAlert(long quotaBytes); in onSetAlert() argument
/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.java607 public void onQuotaExceeded(long backupDataBytes, long quotaBytes) { in onQuotaExceeded() argument
1052 long quotaBytes, in doBackup() argument
1058 data.getFileDescriptor(), quotaBytes, transportFlags); in doBackup()
1153 long quotaBytes, int token, IBackupManager callbackBinder, int transportFlags) { in doFullBackup() argument
1164 data, quotaBytes, transportFlags)); in doFullBackup()
1198 public void doMeasureFullBackup(long quotaBytes, int token, IBackupManager callbackBinder, in doMeasureFullBackup() argument
1201 new FullBackupDataOutput(quotaBytes, transportFlags); in doMeasureFullBackup()
1284 long quotaBytes, in doQuotaExceeded() argument
1291 BackupAgent.this.onQuotaExceeded(backupDataBytes, quotaBytes); in doQuotaExceeded()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java290 public void sendQuotaExceeded(long backupDataBytes, long quotaBytes) { in sendQuotaExceeded() argument
294 callback -> mAgent.doQuotaExceeded(backupDataBytes, quotaBytes, callback), in sendQuotaExceeded()
DPerformFullTransportBackupTask.java893 public void sendQuotaExceeded(final long backupDataBytes, final long quotaBytes) { in sendQuotaExceeded() argument
894 mEngine.sendQuotaExceeded(backupDataBytes, quotaBytes); in sendQuotaExceeded()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl253 void setInterfaceQuota(String iface, long quotaBytes); in setInterfaceQuota() argument
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java232 public void onQuotaExceeded(long backupDataBytes, long quotaBytes) { in onQuotaExceeded() argument
233 Slog.i(TAG, "Quota exceeded (" + backupDataBytes + " vs " + quotaBytes + ')'); in onQuotaExceeded()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1038 public void setInterfaceQuota(String iface, long quotaBytes) { in setInterfaceQuota() argument
1048 mNetdService.bandwidthSetInterfaceQuota(iface, quotaBytes); in setInterfaceQuota()
1050 mActiveQuotas.put(iface, quotaBytes); in setInterfaceQuota()
1058 provider.setInterfaceQuota(iface, quotaBytes); in setInterfaceQuota()
1343 public void setInterfaceQuota(String iface, long quotaBytes) { in setInterfaceQuota() argument
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2166 final long quotaBytes;
2170 quotaBytes = 0;
2172 quotaBytes = OPPORTUNISTIC_QUOTA_UNKNOWN;
2175 quotaBytes = quotaUnlimited;
2194 quotaBytes = Math.max(0, (long) ((remainingBytes / remainingDays) * quotaLimited));
2197 mSubscriptionOpportunisticQuota.put(subId, quotaBytes);
5790 final long quotaBytes;
5792 quotaBytes = mSubscriptionOpportunisticQuota.get(getSubIdLocked(network),
5795 if (quotaBytes == OPPORTUNISTIC_QUOTA_UNKNOWN) {
5800 return (long) (quotaBytes * Settings.Global.getFloat(mContext.getContentResolver(),
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java338 public void onSetLimit(String iface, long quotaBytes) { in onSetLimit() argument
343 public void onSetAlert(long quotaBytes) { in onSetAlert() argument