Searched defs:cycleDay (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.java | 39 public int cycleDay; field in class:NetworkPolicy 51 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, argument 53 this(template, cycleDay, cycleTimezone, warningBytes, limitBytes, SNOOZE_NEVER, 57 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, argument 61 this.cycleDay = cycleDay; 73 cycleDay = in.readInt(); 86 dest.writeInt(cycleDay); 131 return cycleDay != CYCLE_NONE; 149 return Objects.hashCode(template, cycleDay, cycleTimezon [all...] |
H A D | NetworkPolicyManager.java | 157 if (policy.cycleDay == CYCLE_NONE) { 158 throw new IllegalArgumentException("Unable to compute boundary without cycleDay"); 167 snapToCycleDay(cycle, policy.cycleDay); 179 snapToCycleDay(cycle, policy.cycleDay); 187 if (policy.cycleDay == CYCLE_NONE) { 188 throw new IllegalArgumentException("Unable to compute boundary without cycleDay"); 197 snapToCycleDay(cycle, policy.cycleDay); 209 snapToCycleDay(cycle, policy.cycleDay); 221 public static void snapToCycleDay(Time time, int cycleDay) { argument 222 if (cycleDay > tim [all...] |
Completed in 154 milliseconds