Home
last modified time | relevance | path

Searched refs:QUOTA_UNLIMITED (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java26 import static android.net.netstats.provider.NetworkStatsProvider.QUOTA_UNLIMITED;
109 private long mRemainingAlertQuota = QUOTA_UNLIMITED;
545 if (quotaBytes < QUOTA_UNLIMITED) { in onSetLimit()
552 if (null == curIfaceQuota && QUOTA_UNLIMITED == quotaBytes) return; in onSetLimit()
554 if (quotaBytes == QUOTA_UNLIMITED) { in onSetLimit()
605 final long quotaBytes = (limit != null) ? limit : QUOTA_UNLIMITED; in getQuotaBytes()
680 if (newQuota < QUOTA_UNLIMITED) { in updateAlertQuota()
DOffloadController.java26 import static android.net.netstats.provider.NetworkStatsProvider.QUOTA_UNLIMITED;
124 private long mRemainingAlertQuota = QUOTA_UNLIMITED;
333 if (null == curIfaceQuota && QUOTA_UNLIMITED == quotaBytes) return; in onSetLimit()
335 if (quotaBytes == QUOTA_UNLIMITED) { in onSetLimit()
431 if (newQuota < QUOTA_UNLIMITED) { in updateAlertQuota()
/frameworks/base/core/java/android/net/
DITetheringStatsProvider.aidl44 const int QUOTA_UNLIMITED = -1; field
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java26 import static android.net.netstats.provider.NetworkStatsProvider.QUOTA_UNLIMITED;
290 mTetherStatsProvider.onSetAlert(QUOTA_UNLIMITED); in testOnSetAlert()
358 inOrder.verify(mNetd).tetherOffloadSetInterfaceQuota(mobileIfIndex, QUOTA_UNLIMITED); in testSetDataLimit()
363 for (final long quota : new long[] {0, 1048576000, Long.MAX_VALUE, QUOTA_UNLIMITED}) { in testSetDataLimit()
459 inOrder.verify(mNetd).tetherOffloadSetInterfaceQuota(ethIfIndex, QUOTA_UNLIMITED); in testTetherOffloadRuleUpdateAndClear()
477 inOrder.verify(mNetd).tetherOffloadSetInterfaceQuota(mobileIfIndex, QUOTA_UNLIMITED); in testTetherOffloadRuleUpdateAndClear()
DOffloadControllerTest.java559 mTetherStatsProvider.onSetLimit(mobileIface, ITetheringStatsProvider.QUOTA_UNLIMITED); in testSetInterfaceQuota()
821 mTetherStatsProvider.onSetAlert(NetworkStatsProvider.QUOTA_UNLIMITED); in testOnSetAlert()
/frameworks/base/core/java/android/net/netstats/provider/
DNetworkStatsProvider.java34 public static final int QUOTA_UNLIMITED = -1; field in NetworkStatsProvider
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1245 provider.setInterfaceQuota(iface, ITetheringStatsProvider.QUOTA_UNLIMITED); in removeInterfaceQuota()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java78 import static android.net.netstats.provider.NetworkStatsProvider.QUOTA_UNLIMITED;
4658 mNetworkStats.setStatsProviderLimitAsync(iface, QUOTA_UNLIMITED);
/frameworks/base/api/
Dsystem-current.txt5082 field public static final int QUOTA_UNLIMITED = -1; // 0xffffffff
/frameworks/base/non-updatable-api/
Dsystem-current.txt4988 field public static final int QUOTA_UNLIMITED = -1; // 0xffffffff
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt43768 Landroid/net/ITetheringStatsProvider;->QUOTA_UNLIMITED:I