Searched refs:setDataLimit (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | OffloadControllerTest.java | 126 when(mHardware.setDataLimit(anyString(), anyLong())).thenReturn(true); in setupFunctioningHardwareInterface() 270 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking() 288 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking() 299 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking() 313 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() 347 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking() 376 inOrder.verify(mHardware, times(1)).setDataLimit(eq(testIfName), eq(Long.MAX_VALUE)); in testSetUpstreamLinkPropertiesWorking() 500 when(mHardware.setDataLimit(anyString(), anyLong())).thenReturn(true); in testSetInterfaceQuota() 505 inOrder.verify(mHardware).setDataLimit(ethernetIface, ethernetLimit); in testSetInterfaceQuota() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | OffloadHardwareInterface.java | 197 public boolean setDataLimit(String iface, long limit) { in setDataLimit() method in OffloadHardwareInterface 203 mOffloadControl.setDataLimit( in setDataLimit()
|
D | OffloadController.java | 336 return mHwInterface.setDataLimit(iface, limit); in maybeUpdateDataLimit()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 2275 builder.setDataLimit(limitBytes, limitBehavior); in readPolicyAL() 3075 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3083 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in getSubscriptionPlans() 3091 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3102 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3110 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3118 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3128 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3136 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3144 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionPlan.java | 307 public Builder setDataLimit(@BytesLong long dataLimitBytes, in setDataLimit() method in SubscriptionPlan.Builder
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 1754 .setDataLimit(limitBytes, LIMIT_BEHAVIOR_DISABLED) in buildMonthlyDataPlan()
|
/frameworks/base/api/ |
D | current.txt | 44895 method public android.telephony.SubscriptionPlan.Builder setDataLimit(long, int);
|