/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestableNetworkStatsProvider.kt | 41 val quotaBytes: Long constant in com.android.testutils.TestableNetworkStatsProvider.CallbackType.OnSetLimit 44 data class OnSetAlert(val quotaBytes: Long) : CallbackType() constant in com.android.testutils.TestableNetworkStatsProvider.CallbackType.OnSetAlert 62 override fun onSetLimit(iface: String, quotaBytes: Long) { in onSetLimit() 63 Log.d(TAG, "onSetLimit $iface $quotaBytes") in onSetLimit() 64 history.add(CallbackType.OnSetLimit(iface, quotaBytes)) in onSetLimit() 67 override fun onSetAlert(quotaBytes: Long) { in onSetAlert() 68 Log.d(TAG, "onSetAlert $quotaBytes") in onSetAlert() 69 history.add(CallbackType.OnSetAlert(quotaBytes)) in onSetAlert() 81 fun expectOnSetLimit(iface: String, quotaBytes: Long, timeout: Long = defaultTimeoutMs) { in expectOnSetLimit() 82 assertEquals(CallbackType.OnSetLimit(iface, quotaBytes), history.poll(timeout)) in expectOnSetLimit() [all …]
|
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
|
/packages/modules/Connectivity/framework-t/src/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
|
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/ |
D | BpfCoordinatorShimImpl.java | 110 public boolean tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes) { in tetherOffloadSetInterfaceQuota() argument 112 mNetd.tetherOffloadSetInterfaceQuota(ifIndex, quotaBytes); in tetherOffloadSetInterfaceQuota() 114 mLog.e("Exception when updating quota " + quotaBytes + ": ", e); in tetherOffloadSetInterfaceQuota()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 1815 public void onSetAlert(long quotaBytes) { in onSetAlert() argument 1816 mHandler.post(() -> updateAlertQuota(quotaBytes)); in onSetAlert() 1820 public void onSetLimit(@NonNull String iface, long quotaBytes) { in onSetLimit() argument 1821 if (quotaBytes < QUOTA_UNLIMITED) { in onSetLimit() 1822 throw new IllegalArgumentException("invalid quota value " + quotaBytes); in onSetLimit() 1828 if (null == curIfaceQuota && QUOTA_UNLIMITED == quotaBytes) return; in onSetLimit() 1830 if (quotaBytes == QUOTA_UNLIMITED) { in onSetLimit() 1833 mInterfaceQuotas.put(iface, quotaBytes); in onSetLimit() 2060 final long quotaBytes = (limit != null) ? limit : QUOTA_UNLIMITED; in getQuotaBytes() local 2062 return quotaBytes; in getQuotaBytes() [all …]
|
D | OffloadController.java | 359 public void onSetLimit(String iface, long quotaBytes) { in onSetLimit() argument 360 onSetWarningAndLimit(iface, QUOTA_UNLIMITED, quotaBytes); in onSetLimit() 422 public void onSetAlert(long quotaBytes) { in onSetAlert() argument 430 updateAlertQuota(quotaBytes); in onSetAlert()
|
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
D | BpfCoordinatorShimImpl.java | 244 public boolean tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes) { in tetherOffloadSetInterfaceQuota() argument 282 long newLimit = rxBytes + txBytes + quotaBytes; in tetherOffloadSetInterfaceQuota() 290 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 | 120 public abstract boolean tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/13/android/net/ |
D | INetd.aidl | 163 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/7/android/net/ |
D | INetd.aidl | 145 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/6/android/net/ |
D | INetd.aidl | 145 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/ |
D | INetd.aidl | 1354 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/10/android/net/ |
D | INetd.aidl | 163 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/current/android/net/ |
D | INetd.aidl | 196 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/8/android/net/ |
D | INetd.aidl | 145 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/14/android/net/ |
D | INetd.aidl | 196 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/9/android/net/ |
D | INetd.aidl | 163 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/4/android/net/ |
D | INetd.aidl | 123 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/5/android/net/ |
D | INetd.aidl | 123 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/15/android/net/ |
D | INetd.aidl | 196 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/11/android/net/ |
D | INetd.aidl | 163 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/12/android/net/ |
D | INetd.aidl | 163 void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes); in tetherOffloadSetInterfaceQuota() argument
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 525 public void onQuotaExceeded(long backupDataBytes, long quotaBytes) { in onQuotaExceeded() argument 535 .putLong(QUOTA_BYTES, quotaBytes) in onQuotaExceeded()
|