OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:limitBytes
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/core/java/android/net/
NetworkPolicy.java
40
public long
limitBytes
;
45
public NetworkPolicy(NetworkTemplate template, int cycleDay, long warningBytes, long
limitBytes
,
50
this.
limitBytes
=
limitBytes
;
58
limitBytes
= in.readLong();
67
dest.writeLong(
limitBytes
);
77
* Test if given measurement is near enough to {@link #
limitBytes
} to be
84
return
limitBytes
!= LIMIT_DISABLED && totalBytes >=
limitBytes
;
89
if (another == null || another.
limitBytes
== LIMIT_DISABLED)
[
all
...]
/packages/apps/Settings/src/com/android/settings/net/
NetworkPolicyEditor.java
72
if (policy.
limitBytes
< -1) {
73
policy.
limitBytes
= LIMIT_DISABLED;
121
return policy != null && policy.
limitBytes
!= LIMIT_DISABLED;
175
return getPolicy(template).
limitBytes
;
178
public void setPolicyLimitBytes(NetworkTemplate template, long
limitBytes
) {
180
policy.
limitBytes
=
limitBytes
;
254
restrictive.
limitBytes
, SNOOZE_NEVER));
263
policyAll.
limitBytes
, SNOOZE_NEVER));
266
policyAll.
limitBytes
, SNOOZE_NEVER))
[
all
...]
/packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java
789
private void setPolicyLimitBytes(long
limitBytes
) {
791
mPolicyEditor.setPolicyLimitBytes(mTemplate,
limitBytes
);
[
all
...]
/frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java
176
private static final String ATTR_LIMIT_BYTES = "
limitBytes
";
506
* {@link NetworkPolicy#
limitBytes
}, potentially showing dialog to user.
586
final long overBytes = totalBytes - policy.
limitBytes
;
700
* {@link NetworkPolicy#
limitBytes
}.
711
if (policy.
limitBytes
== LIMIT_DISABLED) {
[
all
...]
/packages/apps/Settings/src/com/android/settings/widget/
ChartDataUsageView.java
189
if (policy.
limitBytes
!= NetworkPolicy.LIMIT_DISABLED) {
192
mSweepLimit.setValue(policy.
limitBytes
);
Completed in 240 milliseconds