Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java22 import static android.net.NetworkPolicy.WARNING_DISABLED;
69 policy.warningBytes = WARNING_DISABLED; in read()
147 return new NetworkPolicy(template, cycleDay, cycleTimezone, WARNING_DISABLED, in buildDefaultPolicy()
167 return (policy != null) ? policy.warningBytes : WARNING_DISABLED; in getPolicyWarningBytes()
/frameworks/base/core/java/android/net/
DNetworkPolicy.java44 public static final long WARNING_DISABLED = -1; field in NetworkPolicy
115 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes; in isOverWarning()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java24 import static android.net.NetworkPolicy.WARNING_DISABLED;
532 sTemplateWifi, 31, TIMEZONE_UTC, WARNING_DISABLED, LIMIT_DISABLED, false); in testNextCycleSane()
547 sTemplateWifi, 31, TIMEZONE_UTC, WARNING_DISABLED, LIMIT_DISABLED, false); in testLastCycleSane()
819 sTemplateWifi, CYCLE_DAY, TIMEZONE_UTC, WARNING_DISABLED, LIMIT_DISABLED, in testMeteredNetworkWithoutLimit()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java41 import static android.net.NetworkPolicy.WARNING_DISABLED;
883 WARNING_DISABLED, LIMIT_DISABLED, SNOOZE_NEVER, SNOOZE_NEVER, in newWifiPolicy()
2211 final long softLimitBytes = policy.warningBytes != WARNING_DISABLED ? policy.warningBytes in getNetworkQuotaInfoUnchecked()