Home
last modified time | relevance | path

Searched refs:LIMIT_DISABLED (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataLimitPreferenceControllerTest.java19 import static android.net.NetworkPolicy.LIMIT_DISABLED;
94 when(mPolicyEditor.getPolicyLimitBytes(mNetworkTemplate)).thenReturn(LIMIT_DISABLED); in refreshUi_limitDisabled_summaryEmpty()
102 when(mPolicyEditor.getPolicyLimitBytes(mNetworkTemplate)).thenReturn(LIMIT_DISABLED); in refreshUi_limitDisabled_preferenceDisabled()
110 when(mPolicyEditor.getPolicyLimitBytes(mNetworkTemplate)).thenReturn(LIMIT_DISABLED); in refreshUi_limitDisabled_switchUnchecked()
143 verify(mPolicyEditor).setPolicyLimitBytes(mNetworkTemplate, LIMIT_DISABLED); in onPreferenceChanged_toggleFalse_limitBytesDisabled()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java23 import static android.net.NetworkPolicy.LIMIT_DISABLED;
203 if (policyWarning != WARNING_DISABLED || policyLimit != LIMIT_DISABLED) { in testGetMultipathPreference()
278 LIMIT_DISABLED, in testGetMultipathPreference_SubscriptionQuota()
294 LIMIT_DISABLED, in testGetMultipathPreference_UserWarningQuota()
344 LIMIT_DISABLED, in testGetMultipathPreference_SettingChanged()
369 LIMIT_DISABLED, in testGetMultipathPreference_ResourceChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataLimitPreferenceController.java19 import static android.net.NetworkPolicy.LIMIT_DISABLED;
93 if (limitBytes == LIMIT_DISABLED) { in updateState()
108 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), LIMIT_DISABLED); in onPreferenceChange() local
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java17 import static android.net.NetworkPolicy.LIMIT_DISABLED;
143 if (limitBytes != LIMIT_DISABLED) { in updatePrefs()
177 setPolicyLimitBytes(LIMIT_DISABLED); in onPreferenceChange()
300 final long limitDisabled = isLimit ? LIMIT_DISABLED : WARNING_DISABLED; in setupPicker()
DChartDataUsagePreference.java267 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { in bindNetworkPolicy()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt805 Landroid/net/NetworkPolicy;->LIMIT_DISABLED:J