OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:warningBytes
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/core/java/android/net/
NetworkPolicy.java
39
public long
warningBytes
;
45
public NetworkPolicy(NetworkTemplate template, int cycleDay, long
warningBytes
, long limitBytes,
49
this.
warningBytes
=
warningBytes
;
57
warningBytes
= in.readLong();
66
dest.writeLong(
warningBytes
);
102
return Objects.hashCode(template, cycleDay,
warningBytes
, limitBytes, lastSnooze);
110
&&
warningBytes
== other.
warningBytes
&& limitBytes == other.limitBytes
118
return "NetworkPolicy[" + template + "]: cycleDay=" + cycleDay + ",
warningBytes
=
[
all
...]
/packages/apps/Settings/src/com/android/settings/net/
NetworkPolicyEditor.java
76
if (policy.
warningBytes
< -1) {
77
policy.
warningBytes
= WARNING_DISABLED;
164
return getPolicy(template).
warningBytes
;
167
public void setPolicyWarningBytes(NetworkTemplate template, long
warningBytes
) {
169
policy.
warningBytes
=
warningBytes
;
253
new NetworkPolicy(templateAll, restrictive.cycleDay, restrictive.
warningBytes
,
262
new NetworkPolicy(template3g, policyAll.cycleDay, policyAll.
warningBytes
,
265
new NetworkPolicy(template4g, policyAll.cycleDay, policyAll.
warningBytes
,
/frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java
175
private static final String ATTR_WARNING_BYTES = "
warningBytes
";
388
* use to check against {@link NetworkPolicy#
warningBytes
}.
469
if (policy.
warningBytes
!= WARNING_DISABLED && totalBytes >= policy.
warningBytes
) {
[
all
...]
/packages/apps/Settings/src/com/android/settings/widget/
ChartDataUsageView.java
199
if (policy.
warningBytes
!= NetworkPolicy.WARNING_DISABLED) {
201
mSweepWarning.setValue(policy.
warningBytes
);
/packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java
783
private void setPolicyWarningBytes(long
warningBytes
) {
785
mPolicyEditor.setPolicyWarningBytes(mTemplate,
warningBytes
);
[
all
...]
Completed in 222 milliseconds