Searched refs:lastWarningSnooze (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkPolicy.java43 public long lastWarningSnooze; field in class:NetworkPolicy
58 long warningBytes, long limitBytes, long lastWarningSnooze, long lastLimitSnooze,
65 this.lastWarningSnooze = lastWarningSnooze;
77 lastWarningSnooze = in.readLong();
90 dest.writeLong(lastWarningSnooze);
123 lastWarningSnooze = SNOOZE_NEVER;
150 lastWarningSnooze, lastLimitSnooze, metered, inferred);
159 && lastWarningSnooze == other.lastWarningSnooze
57 NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, long warningBytes, long limitBytes, long lastWarningSnooze, long lastLimitSnooze, boolean metered, boolean inferred) argument
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkPolicyManagerService.java207 private static final String ATTR_LAST_WARNING_SNOOZE = "lastWarningSnooze";
527 * {@link NetworkPolicy#lastWarningSnooze}.
661 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) {
1210 final long lastWarningSnooze;
1212 lastWarningSnooze = readLongAttribute(in, ATTR_LAST_WARNING_SNOOZE);
1214 lastWarningSnooze = SNOOZE_NEVER;
1226 cycleTimezone, warningBytes, limitBytes, lastWarningSnooze,
1314 writeLongAttribute(out, ATTR_LAST_WARNING_SNOOZE, policy.lastWarningSnooze);
1500 policy.lastWarningSnooze = currentTime;

Completed in 84 milliseconds