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.java2301 builder.setDataLimit(limitBytes, limitBehavior); in readPolicyAL()
3173 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3181 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in getSubscriptionPlans()
3189 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3200 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3208 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3216 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3226 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3234 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans()
3242 .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.java1695 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in setUpSubscriptionPlans()
1703 .setDataLimit(1_000_000_000, SubscriptionPlan.LIMIT_BEHAVIOR_DISABLED) in setUpSubscriptionPlans()
1772 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in testIsNetworkTypeUnmetered()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1889 .setDataLimit(limitBytes, LIMIT_BEHAVIOR_DISABLED) in buildMonthlyDataPlan()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt48088 method public android.telephony.SubscriptionPlan.Builder setDataLimit(long, int);