Searched refs:WARNING_DISABLED (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 22 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/core/java/android/net/ |
D | NetworkPolicy.java | 49 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/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 25 import static android.net.NetworkPolicy.WARNING_DISABLED; 189 if (policyWarning != WARNING_DISABLED || policyLimit != LIMIT_DISABLED) { in testGetMultipathPreference() 329 WARNING_DISABLED, in testGetMultipathPreference_SettingChanged() 354 WARNING_DISABLED, in testGetMultipathPreference_ResourceChanged()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 27 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/ |
D | NetworkPolicyManagerServiceTest.java | 25 import static android.net.NetworkPolicy.WARNING_DISABLED; 1272 sTemplateWifi, CYCLE_DAY, TIMEZONE_UTC, WARNING_DISABLED, LIMIT_DISABLED, 1352 assertWarningBytesAsExpected(config, DATA_CYCLE_THRESHOLD_DISABLED, WARNING_DISABLED); 1504 assertNetworkPolicyEquals(31, WARNING_DISABLED, LIMIT_DISABLED, true); 1520 assertNetworkPolicyEquals(31, WARNING_DISABLED, LIMIT_DISABLED, true); 1709 sTemplateMobileAll, CYCLE_DAY, TIMEZONE_UTC, WARNING_DISABLED, 10000L, in testStatsProviderLimitReached()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 55 import static android.net.NetworkPolicy.WARNING_DISABLED; 1602 return WARNING_DISABLED; in getWarningBytesFromCarrierConfig() 2085 if (dataWarningConfig == WARNING_DISABLED) { in getPlatformDefaultWarningBytes() 2086 return WARNING_DISABLED; in getPlatformDefaultWarningBytes() 2139 policy.warningBytes = NetworkPolicy.WARNING_DISABLED; in updateDefaultMobilePolicyAL()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 44510 Landroid/net/NetworkPolicy;->WARNING_DISABLED:J
|