Home
last modified time | relevance | path

Searched refs:updateDataLimit (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageInfoControllerTest.java115 mInfoController.updateDataLimit(null, null); in updateDataLimit_NullArguments_NoError()
116 mInfoController.updateDataLimit(info, null); in updateDataLimit_NullArguments_NoError()
117 mInfoController.updateDataLimit(null, getDefaultNetworkPolicy()); in updateDataLimit_NullArguments_NoError()
125 mInfoController.updateDataLimit(info, policy); in updateDataLimit_NegativeWarning_UpdatedToZero()
135 mInfoController.updateDataLimit(info, policy); in updateDataLimit_WarningZero_UpdatedToZero()
145 mInfoController.updateDataLimit(info, policy); in updateDataLimit_WarningPositive_UpdatedToWarning()
155 mInfoController.updateDataLimit(info, policy); in updateDataLimit_LimitNegative_UpdatedToZero()
165 mInfoController.updateDataLimit(info, policy); in updateDataLimit_LimitZero_UpdatedToZero()
175 mInfoController.updateDataLimit(info, policy); in updateDataLimit_LimitPositive_UpdatedToLimit()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageInfoController.java28 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit() method in DataUsageInfoController
DWifiDataUsageSummaryPreferenceController.java58 mDataInfoController.updateDataLimit(info, mPolicyEditor.getPolicy(template)); in updateState()
DDataUsageSummaryPreferenceController.java223 mDataInfoController.updateDataLimit(info, mPolicyEditor.getPolicy(mDefaultTemplate)); in updateState()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java1663 private boolean updateDataLimit(int ifIndex) { in updateDataLimit() method in BpfCoordinator
1682 boolean success = updateDataLimit(upstreamIfindex); in maybeSetLimit()