Searched refs:cycleRule (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | NetworkPolicy.java | 56 public RecurrenceRule cycleRule; field in NetworkPolicy 96 public NetworkPolicy(NetworkTemplate template, RecurrenceRule cycleRule, long warningBytes, in NetworkPolicy() argument 99 this(template, cycleRule, warningBytes, limitBytes, lastWarningSnooze, lastLimitSnooze, in NetworkPolicy() 103 public NetworkPolicy(NetworkTemplate template, RecurrenceRule cycleRule, long warningBytes, in NetworkPolicy() argument 107 this.cycleRule = Preconditions.checkNotNull(cycleRule, "missing RecurrenceRule"); in NetworkPolicy() 119 cycleRule = source.readParcelable(null); in NetworkPolicy() 132 dest.writeParcelable(cycleRule, flags); in writeToParcel() 148 return cycleRule.cycleIterator(); in cycleIterator() 185 return cycleRule.cycleIterator().hasNext(); in hasCycle() 204 return Objects.hash(template, cycleRule, warningBytes, limitBytes, in hashCode() [all …]
|
/frameworks/base/core/java/android/telephony/ |
D | SubscriptionPlan.java | 86 private final RecurrenceRule cycleRule; field in SubscriptionPlan 95 private SubscriptionPlan(RecurrenceRule cycleRule) { in SubscriptionPlan() argument 96 this.cycleRule = Preconditions.checkNotNull(cycleRule); in SubscriptionPlan() 102 cycleRule = source.readParcelable(null); in SubscriptionPlan() 119 dest.writeParcelable(cycleRule, flags); in writeToParcel() 132 .append("cycleRule=").append(cycleRule) in toString() 145 return Objects.hash(cycleRule, title, summary, dataLimitBytes, dataLimitBehavior, in hashCode() 153 return Objects.equals(cycleRule, other.cycleRule) in equals() 179 return cycleRule; in getCycleRule() 237 return cycleRule.cycleIterator(); in cycleIterator()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 134 final RecurrenceRule cycleRule; in buildDefaultPolicy() local 138 cycleRule = RecurrenceRule.buildNever(); in buildDefaultPolicy() 141 cycleRule = RecurrenceRule.buildRecurringMonthly(ZonedDateTime.now().getDayOfMonth(), in buildDefaultPolicy() 146 return new NetworkPolicy(template, cycleRule, WARNING_DISABLED, in buildDefaultPolicy() 153 if (policy != null && policy.cycleRule.isMonthly()) { in getPolicyCycleDay() 154 return policy.cycleRule.start.getDayOfMonth(); in getPolicyCycleDay() 163 policy.cycleRule = NetworkPolicy.buildRule(cycleDay, ZoneId.of(cycleTimezone)); in setPolicyCycleDay()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 2278 final RecurrenceRule cycleRule = NetworkPolicy 2280 final NetworkPolicy policy = new NetworkPolicy(template, cycleRule, 2305 final NetworkPolicy original = new NetworkPolicy(policy.template, policy.cycleRule, 2312 policy.cycleRule = plan.getCycleRule(); 2335 if (policy.cycleRule.isMonthly()) { 2336 currentCycleDay = policy.cycleRule.start.getDayOfMonth(); 2341 policy.cycleRule = NetworkPolicy.buildRule(cycleDay, ZoneId.systemDefault()); 2412 final RecurrenceRule cycleRule; 2417 cycleRule = new RecurrenceRule( 2429 cycleRule = NetworkPolicy.buildRule(cycleDay, ZoneId.of(cycleTimezone)); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 2068 p.cycleRule = new RecurrenceRule( in buildDefaultFakeCarrierPolicy() 2069 p.cycleRule.start.withDayOfMonth(DEFAULT_CYCLE_DAY), in buildDefaultFakeCarrierPolicy() 2070 p.cycleRule.end, Period.ofMonths(1)); in buildDefaultFakeCarrierPolicy()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 58764 Landroid/telephony/SubscriptionPlan;->cycleRule:Landroid/util/RecurrenceRule;
|