/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
D | TestableNetworkStatsProvider.kt | 39 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()
|
D | TestableNetworkStatsProviderBinder.kt | 28 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()
|
D | NetworkStatsProviderStubCompat.java | 30 public void onSetLimit(String iface, long quotaBytes) {} in onSetLimit() argument
|
/frameworks/base/core/java/android/app/ |
D | IBackupAgent.aidl | 54 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/ |
D | NetworkStatsProvider.java | 46 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
|
D | INetworkStatsProvider.aidl | 26 void onSetAlert(long quotaBytes); in onSetAlert() argument
|
/frameworks/base/services/robotests/backup/src/android/app/backup/ |
D | ForwardingBackupAgent.java | 80 public void onQuotaExceeded(long backupDataBytes, long quotaBytes) { in onQuotaExceeded() argument 81 mBackupAgent.onQuotaExceeded(backupDataBytes, quotaBytes); in onQuotaExceeded()
|
/frameworks/base/core/java/android/net/ |
D | ITetheringStatsProvider.aidl | 41 void setInterfaceQuota(String iface, long quotaBytes); in setInterfaceQuota() argument
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 607 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/ |
D | FullBackupEngine.java | 290 public void sendQuotaExceeded(long backupDataBytes, long quotaBytes) { in sendQuotaExceeded() argument 294 callback -> mAgent.doQuotaExceeded(backupDataBytes, quotaBytes, callback), in sendQuotaExceeded()
|
D | PerformFullTransportBackupTask.java | 893 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/ |
D | INetworkManagementService.aidl | 253 void setInterfaceQuota(String iface, long quotaBytes); in setInterfaceQuota() argument
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 232 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/ |
D | NetworkManagementService.java | 1038 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/ |
D | NetworkPolicyManagerService.java | 2166 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/ |
D | ImsPhoneCallTracker.java | 338 public void onSetLimit(String iface, long quotaBytes) { in onSetLimit() argument 343 public void onSetAlert(long quotaBytes) { in onSetAlert() argument
|