Home
last modified time | relevance | path

Searched refs:cycleTimezone (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkPolicy.java70 public static RecurrenceRule buildRule(int cycleDay, ZoneId cycleTimezone) { in buildRule() argument
72 return RecurrenceRule.buildRecurringMonthly(cycleDay, cycleTimezone); in buildRule()
79 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, in NetworkPolicy() argument
81 this(template, cycleDay, cycleTimezone, warningBytes, limitBytes, SNOOZE_NEVER, in NetworkPolicy()
87 public NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, in NetworkPolicy() argument
90 this(template, buildRule(cycleDay, ZoneId.of(cycleTimezone)), warningBytes, in NetworkPolicy()
282 final String cycleTimezone = BackupUtils.readString(in); in getNetworkPolicyFromBackup() local
283 cycleRule = buildRule(cycleDay, ZoneId.of(cycleTimezone)); in getNetworkPolicyFromBackup()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java161 public void setPolicyCycleDay(NetworkTemplate template, int cycleDay, String cycleTimezone) { in setPolicyCycleDay() argument
163 policy.cycleRule = NetworkPolicy.buildRule(cycleDay, ZoneId.of(cycleTimezone)); in setPolicyCycleDay()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2207 final String cycleTimezone; in readPolicyAL() local
2209 cycleTimezone = in.getAttributeValue(null, ATTR_CYCLE_TIMEZONE); in readPolicyAL()
2211 cycleTimezone = "UTC"; in readPolicyAL()
2213 cycleRule = NetworkPolicy.buildRule(cycleDay, ZoneId.of(cycleTimezone)); in readPolicyAL()