Searched refs:quotaBytes (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 1381 public void onSetAlert(long quotaBytes) { in onSetAlert() argument 1382 mHandler.post(() -> updateAlertQuota(quotaBytes)); in onSetAlert() 1386 public void onSetLimit(@NonNull String iface, long quotaBytes) { in onSetLimit() argument 1387 if (quotaBytes < QUOTA_UNLIMITED) { in onSetLimit() 1388 throw new IllegalArgumentException("invalid quota value " + quotaBytes); in onSetLimit() 1394 if (null == curIfaceQuota && QUOTA_UNLIMITED == quotaBytes) return; in onSetLimit() 1396 if (quotaBytes == QUOTA_UNLIMITED) { in onSetLimit() 1399 mInterfaceQuotas.put(iface, quotaBytes); in onSetLimit() 1635 final long quotaBytes = (limit != null) ? limit : QUOTA_UNLIMITED; in getQuotaBytes() local 1637 return quotaBytes; in getQuotaBytes() [all …]
|
D | OffloadController.java | 370 public void onSetLimit(String iface, long quotaBytes) { in onSetLimit() argument 371 onSetWarningAndLimit(iface, QUOTA_UNLIMITED, quotaBytes); in onSetLimit() 433 public void onSetAlert(long quotaBytes) { in onSetAlert() argument 441 updateAlertQuota(quotaBytes); in onSetAlert()
|
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/ |
D | BpfCoordinatorShimImpl.java | 114 public boolean tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes) { in tetherOffloadSetInterfaceQuota() argument 116 mNetd.tetherOffloadSetInterfaceQuota(ifIndex, quotaBytes); in tetherOffloadSetInterfaceQuota() 118 mLog.e("Exception when updating quota " + quotaBytes + ": ", e); in tetherOffloadSetInterfaceQuota()
|
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
D | BpfCoordinatorShimImpl.java | 250 public boolean tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes) { in tetherOffloadSetInterfaceQuota() argument 290 long newLimit = rxBytes + txBytes + quotaBytes; in tetherOffloadSetInterfaceQuota() 298 mLog.e("Fail to set quota " + quotaBytes + " for interface index " + ifIndex + ": ", e); in tetherOffloadSetInterfaceQuota()
|
/packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/ |
D | BpfCoordinatorShim.java | 121 public abstract boolean tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 512 long quotaBytes, boolean isInit) throws Exception { in verifyTetherOffloadSetInterfaceQuota() argument 522 new TetherLimitValue(quotaBytes)); in verifyTetherOffloadSetInterfaceQuota() 524 verifyWithOrder(inOrder, mNetd).tetherOffloadSetInterfaceQuota(ifIndex, quotaBytes); in verifyTetherOffloadSetInterfaceQuota()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 437 public void onQuotaExceeded(long backupDataBytes, long quotaBytes) { in onQuotaExceeded() argument 447 .putLong(QUOTA_BYTES, quotaBytes) in onQuotaExceeded()
|