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/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataLimitPreferenceController.java19 import static android.net.NetworkPolicy.LIMIT_DISABLED;
92 if (limitBytes == LIMIT_DISABLED) { in updateState()
107 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;
145 if (limitBytes != LIMIT_DISABLED) { in updatePrefs()
176 setPolicyLimitBytes(LIMIT_DISABLED); in onPreferenceChange()
289 final long limitDisabled = isLimit ? LIMIT_DISABLED : WARNING_DISABLED; in setupPicker()
DChartDataUsagePreference.java134 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { in bindNetworkPolicy()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DBillingCycleSettings.java17 import static android.net.NetworkPolicy.LIMIT_DISABLED;
145 if (limitBytes != LIMIT_DISABLED) { in updatePrefs()
176 setPolicyLimitBytes(LIMIT_DISABLED); in onPreferenceChange()
289 final long limitDisabled = isLimit ? LIMIT_DISABLED : WARNING_DISABLED; in setupPicker()
DChartDataUsagePreference.java134 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { in bindNetworkPolicy()