Home
last modified time | relevance | path

Searched refs:RecurrenceRule (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java38 sOriginalClock = RecurrenceRule.sClock; in setUp()
44 RecurrenceRule.sClock = sOriginalClock; in tearDown()
48 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
53 final RecurrenceRule r = new RecurrenceRule( in testSimpleMonth()
73 final RecurrenceRule r = new RecurrenceRule( in testSimpleDays()
94 final RecurrenceRule r = new RecurrenceRule( in testNotRecurring()
111 final RecurrenceRule r = RecurrenceRule.buildNever(); in testNever()
120 final RecurrenceRule r = new RecurrenceRule( in testSane()
/frameworks/base/core/java/android/util/
DRecurrenceRule.java43 public class RecurrenceRule implements Parcelable { class
58 public RecurrenceRule(ZonedDateTime start, ZonedDateTime end, Period period) { in RecurrenceRule() method in RecurrenceRule
65 public static RecurrenceRule buildNever() { in buildNever()
66 return new RecurrenceRule(null, null, null); in buildNever()
71 public static RecurrenceRule buildRecurringMonthly(int dayOfMonth, ZoneId zone) { in buildRecurringMonthly()
77 return new RecurrenceRule(start, null, Period.ofMonths(1)); in buildRecurringMonthly()
80 private RecurrenceRule(Parcel source) { in RecurrenceRule() method in RecurrenceRule
98 public RecurrenceRule(DataInputStream in) throws IOException { in RecurrenceRule() method in RecurrenceRule
134 if (obj instanceof RecurrenceRule) { in equals()
135 final RecurrenceRule other = (RecurrenceRule) obj; in equals()
[all …]
/frameworks/base/core/java/android/net/
DNetworkPolicy.java24 import android.util.RecurrenceRule;
55 public RecurrenceRule cycleRule;
70 public static RecurrenceRule buildRule(int cycleDay, ZoneId cycleTimezone) { in buildRule()
72 return RecurrenceRule.buildRecurringMonthly(cycleDay, cycleTimezone); in buildRule()
74 return RecurrenceRule.buildNever(); in buildRule()
95 public NetworkPolicy(NetworkTemplate template, RecurrenceRule cycleRule, long warningBytes, in NetworkPolicy()
102 public NetworkPolicy(NetworkTemplate template, RecurrenceRule cycleRule, long warningBytes, in NetworkPolicy()
277 final RecurrenceRule cycleRule; in getNetworkPolicyFromBackup()
279 cycleRule = new RecurrenceRule(in); in getNetworkPolicyFromBackup()
/frameworks/base/core/java/android/telephony/
DSubscriptionPlan.java29 import android.util.RecurrenceRule;
86 private final RecurrenceRule cycleRule;
95 private SubscriptionPlan(RecurrenceRule cycleRule) { in SubscriptionPlan()
178 public @NonNull RecurrenceRule getCycleRule() { in getCycleRule()
248 plan = new SubscriptionPlan(new RecurrenceRule(start, end, period)); in Builder()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java33 import android.util.RecurrenceRule;
134 final RecurrenceRule cycleRule; in buildDefaultPolicy()
138 cycleRule = RecurrenceRule.buildNever(); in buildDefaultPolicy()
141 cycleRule = RecurrenceRule.buildRecurringMonthly(ZonedDateTime.now().getDayOfMonth(), in buildDefaultPolicy()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java60 import android.util.RecurrenceRule;
122 mPreviousRecurrenceRuleClock = RecurrenceRule.sClock; in setUp()
123 RecurrenceRule.sClock = mClock; in setUp()
162 RecurrenceRule.sClock = mPreviousRecurrenceRuleClock; in tearDown()
191 final RecurrenceRule recurrenceRule = new RecurrenceRule( in testGetMultipathPreference()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java49 import android.util.RecurrenceRule;
97 sOriginalClock = RecurrenceRule.sClock; in setUp()
104 RecurrenceRule.sClock = sOriginalClock; in tearDown()
109 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java213 import android.util.RecurrenceRule;
2099 final RecurrenceRule cycleRule = NetworkPolicy in buildDefaultMobilePolicy()
2215 final RecurrenceRule cycleRule; in readPolicyAL()
2220 cycleRule = new RecurrenceRule( in readPolicyAL()
2221 RecurrenceRule.convertZonedDateTime(start), in readPolicyAL()
2222 RecurrenceRule.convertZonedDateTime(end), in readPolicyAL()
2223 RecurrenceRule.convertPeriod(period)); in readPolicyAL()
2282 RecurrenceRule.convertZonedDateTime(start), in readPolicyAL()
2283 RecurrenceRule.convertZonedDateTime(end), in readPolicyAL()
2284 RecurrenceRule.convertPeriod(period)); in readPolicyAL()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java136 import android.util.RecurrenceRule;
453 RecurrenceRule.sClock = Clock.systemDefaultZone(); in resetClock()
853 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTime),
867 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTime),
1849 p.cycleRule = new RecurrenceRule( in buildDefaultFakeMobilePolicy()
2027 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTimeMillis), in setCurrentTimeMillis()
/frameworks/base/config/
Dboot-image-profile.txt10361 HSPLandroid/net/NetworkPolicy;-><init>(Landroid/net/NetworkTemplate;Landroid/util/RecurrenceRule;JJ…
10362 HSPLandroid/net/NetworkPolicy;-><init>(Landroid/net/NetworkTemplate;Landroid/util/RecurrenceRule;JJ…
10363 HSPLandroid/net/NetworkPolicy;->buildRule(ILjava/time/ZoneId;)Landroid/util/RecurrenceRule;
15686 HSPLandroid/util/RecurrenceRule$1;-><init>()V
15687 HSPLandroid/util/RecurrenceRule$RecurringIterator;-><init>(Landroid/util/RecurrenceRule;)V
15688 HSPLandroid/util/RecurrenceRule$RecurringIterator;->hasNext()Z
15689 HSPLandroid/util/RecurrenceRule$RecurringIterator;->next()Landroid/util/Range;
15690 HSPLandroid/util/RecurrenceRule$RecurringIterator;->next()Ljava/lang/Object;
15691 HSPLandroid/util/RecurrenceRule$RecurringIterator;->roundBoundaryTime(Ljava/time/ZonedDateTime;)Lja…
15692 HSPLandroid/util/RecurrenceRule$RecurringIterator;->updateCycle()V
[all …]
Dhiddenapi-greylist-max-o.txt44491 Landroid/net/NetworkPolicy;-><init>(Landroid/net/NetworkTemplate;Landroid/util/RecurrenceRule;JJJJJ…
44492 Landroid/net/NetworkPolicy;-><init>(Landroid/net/NetworkTemplate;Landroid/util/RecurrenceRule;JJJJZ…
44494 Landroid/net/NetworkPolicy;->buildRule(ILjava/time/ZoneId;)Landroid/util/RecurrenceRule;
44496 Landroid/net/NetworkPolicy;->cycleRule:Landroid/util/RecurrenceRule;
69463 Landroid/telephony/SubscriptionPlan;-><init>(Landroid/util/RecurrenceRule;)V
69464 Landroid/telephony/SubscriptionPlan;->cycleRule:Landroid/util/RecurrenceRule;
69469 Landroid/telephony/SubscriptionPlan;->getCycleRule()Landroid/util/RecurrenceRule;
72271 Landroid/util/RecurrenceRule$NonrecurringIterator;->hasNext:Z
72272 Landroid/util/RecurrenceRule$RecurringIterator;->cycleEnd:Ljava/time/ZonedDateTime;
72273 Landroid/util/RecurrenceRule$RecurringIterator;->cycleStart:Ljava/time/ZonedDateTime;
[all …]