/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 150 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 …]
|
D | OffloadHardwareInterfaceTest.java | 142 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/ |
D | OffloadHardwareInterface.java | 391 public boolean setDataLimit(String iface, long limit) { in setDataLimit() method in OffloadHardwareInterface 397 mOffloadControl.setDataLimit( in setDataLimit()
|
D | OffloadController.java | 477 return mHwInterface.setDataLimit(iface, limit); in maybeUpdateDataLimit()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 2294 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/ |
D | SubscriptionPlan.java | 332 public Builder setDataLimit(@BytesLong long dataLimitBytes, in setDataLimit() method in SubscriptionPlan.Builder
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcTrackerTest.java | 1728 .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/ |
D | NetworkPolicyManagerServiceTest.java | 1812 .setDataLimit(limitBytes, LIMIT_BEHAVIOR_DISABLED) in buildMonthlyDataPlan()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 45846 method public android.telephony.SubscriptionPlan.Builder setDataLimit(long, int);
|
/frameworks/base/api/ |
D | current.txt | 45990 method public android.telephony.SubscriptionPlan.Builder setDataLimit(long, int);
|