HomeSort by relevance Sort by last modified time
    Searched refs:cycleDay (Results 1 - 5 of 5) sorted by null

  /frameworks/base/core/java/android/net/
NetworkPolicy.java 39 public int cycleDay;
51 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone,
53 this(template, cycleDay, cycleTimezone, warningBytes, limitBytes, SNOOZE_NEVER,
57 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone,
61 this.cycleDay = cycleDay;
73 cycleDay = in.readInt();
86 dest.writeInt(cycleDay);
131 return cycleDay != CYCLE_NONE;
149 return Objects.hashCode(template, cycleDay, cycleTimezone, warningBytes, limitBytes
    [all...]
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) {
222 if (cycleDay > time.getActualMaximum(MONTH_DAY))
    [all...]
  /packages/apps/Settings/src/com/android/settings/net/
NetworkPolicyEditor.java 142 final int cycleDay;
147 cycleDay = CYCLE_NONE;
153 cycleDay = time.monthDay;
158 return new NetworkPolicy(template, cycleDay, cycleTimezone, WARNING_DISABLED,
163 return getPolicy(template).cycleDay;
166 public void setPolicyCycleDay(NetworkTemplate template, int cycleDay, String cycleTimezone) {
168 policy.cycleDay = cycleDay;
316 mPolicies.add(new NetworkPolicy(templateAll, restrictive.cycleDay,
325 mPolicies.add(new NetworkPolicy(template3g, policyAll.cycleDay, policyAll.cycleTimezone
    [all...]
  /frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java 203 private static final String ATTR_CYCLE_DAY = "cycleDay";
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java     [all...]

Completed in 388 milliseconds