OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cycleDay
(Results
1 - 6
of
6
) 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.hash(template,
cycleDay
, cycleTimezone, warningBytes, limitBytes
[
all
...]
NetworkPolicyManager.java
191
if (policy.
cycleDay
== CYCLE_NONE) {
192
throw new IllegalArgumentException("Unable to compute boundary without
cycleDay
");
201
snapToCycleDay(cycle, policy.
cycleDay
);
213
snapToCycleDay(cycle, policy.
cycleDay
);
221
if (policy.
cycleDay
== CYCLE_NONE) {
222
throw new IllegalArgumentException("Unable to compute boundary without
cycleDay
");
231
snapToCycleDay(cycle, policy.
cycleDay
);
243
snapToCycleDay(cycle, policy.
cycleDay
);
255
public static void snapToCycleDay(Time time, int
cycleDay
) {
256
if (
cycleDay
> time.getActualMaximum(MONTH_DAY))
[
all
...]
/packages/apps/Settings/src/com/android/settings/net/
NetworkPolicyEditor.java
129
final int
cycleDay
;
134
cycleDay
= CYCLE_NONE;
140
cycleDay
= time.monthDay;
145
return new NetworkPolicy(template,
cycleDay
, cycleTimezone, WARNING_DISABLED,
151
return (policy != null) ? policy.
cycleDay
: -1;
154
public void setPolicyCycleDay(NetworkTemplate template, int
cycleDay
, String cycleTimezone) {
156
policy.
cycleDay
=
cycleDay
;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileDataControllerImpl.java
124
if (policy != null && policy.
cycleDay
> 0) {
125
// period = determined from
cycleDay
126
if (DEBUG) Log.d(TAG, "Cycle day=" + policy.
cycleDay
+ " tz="
131
policyTime.set(policy.
cycleDay
, policyTime.month, policyTime.year);
/frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java
209
private static final String ATTR_CYCLE_DAY = "
cycleDay
";
[
all
...]
/packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java
[
all
...]
Completed in 39 milliseconds