Searched refs:quotaBytes (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl276 void setInterfaceQuota(String iface, long quotaBytes);
/frameworks/base/services/java/com/android/server/net/
H A DNetworkPolicyManagerService.java1046 final long quotaBytes;
1050 quotaBytes = Long.MAX_VALUE;
1054 quotaBytes = Long.MAX_VALUE;
1059 quotaBytes = Math.max(1, policy.limitBytes - totalBytes);
1069 setInterfaceQuota(iface, quotaBytes);
1960 private void setInterfaceQuota(String iface, long quotaBytes) { argument
1962 mNetworkManager.setInterfaceQuota(iface, quotaBytes);
/frameworks/base/services/java/com/android/server/
H A DNetworkManagementService.java1139 public void setInterfaceQuota(String iface, long quotaBytes) { argument
1153 mConnector.execute("bandwidth", "setiquota", iface, quotaBytes);
1154 mActiveQuotas.put(iface, quotaBytes);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java853 private void expectSetInterfaceQuota(String iface, long quotaBytes) throws Exception { argument
854 mNetworkManager.setInterfaceQuota(iface, quotaBytes);

Completed in 67 milliseconds