/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 38 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/ |
D | RecurrenceRule.java | 43 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/ |
D | NetworkPolicy.java | 24 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/ |
D | SubscriptionPlan.java | 29 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/ |
D | NetworkPolicyEditor.java | 33 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/ |
D | MultipathPolicyTrackerTest.java | 60 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/ |
D | NetworkStatsCollectionTest.java | 48 import android.util.RecurrenceRule; 96 sOriginalClock = RecurrenceRule.sClock; in setUp() 103 RecurrenceRule.sClock = sOriginalClock; in tearDown() 108 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 212 import android.util.RecurrenceRule; 2106 final RecurrenceRule cycleRule = NetworkPolicy in buildDefaultMobilePolicy() 2222 final RecurrenceRule cycleRule; in readPolicyAL() 2227 cycleRule = new RecurrenceRule( in readPolicyAL() 2228 RecurrenceRule.convertZonedDateTime(start), in readPolicyAL() 2229 RecurrenceRule.convertZonedDateTime(end), in readPolicyAL() 2230 RecurrenceRule.convertPeriod(period)); in readPolicyAL() 2289 RecurrenceRule.convertZonedDateTime(start), in readPolicyAL() 2290 RecurrenceRule.convertZonedDateTime(end), in readPolicyAL() 2291 RecurrenceRule.convertPeriod(period)); in readPolicyAL() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 138 import android.util.RecurrenceRule; 460 RecurrenceRule.sClock = Clock.systemDefaultZone(); in resetClock() 930 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTime), 944 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTime), 1926 p.cycleRule = new RecurrenceRule( in buildDefaultFakeMobilePolicy() 2101 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTimeMillis), in setCurrentTimeMillis()
|
/frameworks/base/ |
D | Android.bp | 1122 "core/java/android/util/RecurrenceRule.java",
|
/frameworks/base/config/ |
D | preloaded-classes | 6570 android.util.RecurrenceRule$1 6571 android.util.RecurrenceRule$NonrecurringIterator 6572 android.util.RecurrenceRule$RecurringIterator 6573 android.util.RecurrenceRule
|
D | boot-image-profile.txt | 14258 HSPLandroid/net/NetworkPolicy;-><init>(Landroid/net/NetworkTemplate;Landroid/util/RecurrenceRule;JJ… 14259 HSPLandroid/net/NetworkPolicy;-><init>(Landroid/net/NetworkTemplate;Landroid/util/RecurrenceRule;JJ… 20552 HSPLandroid/util/RecurrenceRule$RecurringIterator;-><init>(Landroid/util/RecurrenceRule;)V 20553 HSPLandroid/util/RecurrenceRule$RecurringIterator;->hasNext()Z 20554 HSPLandroid/util/RecurrenceRule$RecurringIterator;->next()Landroid/util/Range; 20555 HSPLandroid/util/RecurrenceRule$RecurringIterator;->next()Ljava/lang/Object; 20556 HSPLandroid/util/RecurrenceRule$RecurringIterator;->roundBoundaryTime(Ljava/time/ZonedDateTime;)Lja… 20557 HSPLandroid/util/RecurrenceRule$RecurringIterator;->updateCycle()V 20558 HSPLandroid/util/RecurrenceRule;-><init>(Ljava/time/ZonedDateTime;Ljava/time/ZonedDateTime;Ljava/ti… 20559 HSPLandroid/util/RecurrenceRule;->access$100()Z [all …]
|