Home
last modified time | relevance | path

Searched refs:setDataLimit (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java150 when(mHardware.setDataLimit(anyString(), anyLong())).thenReturn(true); in setupFunctioningHardwareInterface()
299 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking()
317 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking()
328 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking()
342 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking()
357 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking()
378 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking()
407 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking()
537 when(mHardware.setDataLimit(anyString(), anyLong())).thenReturn(true); in testSetInterfaceQuota()
542 inOrder.verify(mHardware).setDataLimit(ethernetIface, ethernetLimit); in testSetInterfaceQuota()
[all …]
DOffloadHardwareInterfaceTest.java142 mOffloadHw.setDataLimit(RMNET0, limit); in testSetDataLimit()
143 verify(mIOffloadControl).setDataLimit(eq(RMNET0), eq(limit), any()); in testSetDataLimit()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java391 public boolean setDataLimit(String iface, long limit) { in setDataLimit() method in OffloadHardwareInterface
397 mOffloadControl.setDataLimit( in setDataLimit()
DOffloadController.java477 return mHwInterface.setDataLimit(iface, limit); in maybeUpdateDataLimit()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2294 builder.setDataLimit(limitBytes, limitBehavior); in readPolicyAL()
3163 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3171 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in getSubscriptionPlans()
3179 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3190 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3198 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3206 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3216 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3224 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3232 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
[all …]
/frameworks/base/core/java/android/telephony/
DSubscriptionPlan.java332 public Builder setDataLimit(@BytesLong long dataLimitBytes, in setDataLimit() method in SubscriptionPlan.Builder
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java1728 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in setUpSubscriptionPlans()
1736 .setDataLimit(1_000_000_000, SubscriptionPlan.LIMIT_BEHAVIOR_DISABLED) in setUpSubscriptionPlans()
1805 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in testIsNetworkTypeUnmetered()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1812 .setDataLimit(limitBytes, LIMIT_BEHAVIOR_DISABLED) in buildMonthlyDataPlan()
/frameworks/base/non-updatable-api/
Dcurrent.txt45846 method public android.telephony.SubscriptionPlan.Builder setDataLimit(long, int);
/frameworks/base/api/
Dcurrent.txt45990 method public android.telephony.SubscriptionPlan.Builder setDataLimit(long, int);