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()
23 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()
19 import static android.net.NetworkPolicy.LIMIT_DISABLED;93 if (limitBytes == LIMIT_DISABLED) { in updateState()108 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), LIMIT_DISABLED); in onPreferenceChange() local
17 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()
267 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { in bindNetworkPolicy()
805 Landroid/net/NetworkPolicy;->LIMIT_DISABLED:J