Searched refs:WARNING_DISABLED (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 22 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/ |
D | NetworkPolicy.java | 44 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/ |
D | NetworkPolicyManagerServiceTest.java | 24 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/ |
D | NetworkPolicyManagerService.java | 41 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()
|