Searched refs:LIMIT_DISABLED (Results 1 – 6 of 6) sorted by relevance
19 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()
19 import static android.net.NetworkPolicy.LIMIT_DISABLED;92 if (limitBytes == LIMIT_DISABLED) { in updateState()107 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), LIMIT_DISABLED); in onPreferenceChange() local
17 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()
134 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { in bindNetworkPolicy()