Home
last modified time | relevance | path

Searched refs:WARNING_DISABLED (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java22 import static android.net.NetworkPolicy.WARNING_DISABLED;
72 policy.warningBytes = WARNING_DISABLED; in read()
146 return new NetworkPolicy(template, cycleRule, WARNING_DISABLED, in buildDefaultPolicy()
171 return (policy != null) ? policy.warningBytes : WARNING_DISABLED; in getPolicyWarningBytes()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java25 import static android.net.NetworkPolicy.WARNING_DISABLED;
188 if (policyWarning != WARNING_DISABLED || policyLimit != LIMIT_DISABLED) { in testGetMultipathPreference()
315 WARNING_DISABLED, in testGetMultipathPreference_SettingChanged()
340 WARNING_DISABLED, in testGetMultipathPreference_ResourceChanged()
/frameworks/base/core/java/android/net/
DNetworkPolicy.java49 public static final long WARNING_DISABLED = -1; field in NetworkPolicy
57 public long warningBytes = WARNING_DISABLED;
155 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes; in isOverWarning()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java27 import static android.net.NetworkPolicy.WARNING_DISABLED;
302 final long policyBytes = (activeWarning == WARNING_DISABLED) in getUserPolicyOpportunisticQuotaBytes()
306 if (policyBytes != LIMIT_DISABLED && policyBytes != WARNING_DISABLED) { in getUserPolicyOpportunisticQuotaBytes()
414 : WARNING_DISABLED; in getActiveWarning()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java25 import static android.net.NetworkPolicy.WARNING_DISABLED;
1271 sTemplateWifi, CYCLE_DAY, TIMEZONE_UTC, WARNING_DISABLED, LIMIT_DISABLED,
1351 assertWarningBytesAsExpected(config, DATA_CYCLE_THRESHOLD_DISABLED, WARNING_DISABLED);
1499 assertNetworkPolicyEquals(31, WARNING_DISABLED, LIMIT_DISABLED, true);
1515 assertNetworkPolicyEquals(31, WARNING_DISABLED, LIMIT_DISABLED, true);
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java51 import static android.net.NetworkPolicy.WARNING_DISABLED;
1590 return WARNING_DISABLED; in getWarningBytesFromCarrierConfig()
2066 if (dataWarningConfig == WARNING_DISABLED) { in getPlatformDefaultWarningBytes()
2067 return WARNING_DISABLED; in getPlatformDefaultWarningBytes()
2120 policy.warningBytes = NetworkPolicy.WARNING_DISABLED; in updateDefaultMobilePolicyAL()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47763 Landroid/net/NetworkPolicy;->WARNING_DISABLED:J