OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:warningbytes
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/core/java/android/net/
NetworkPolicy.java
51
public long
warningBytes
;
62
long
warningBytes
, long limitBytes, boolean metered) {
63
this(template, cycleDay, cycleTimezone,
warningBytes
, limitBytes, SNOOZE_NEVER,
68
long
warningBytes
, long limitBytes, long lastWarningSnooze, long lastLimitSnooze,
73
this.
warningBytes
=
warningBytes
;
85
warningBytes
= in.readLong();
98
dest.writeLong(
warningBytes
);
112
* Test if given measurement is over {@link #
warningBytes
}.
115
return
warningBytes
!= WARNING_DISABLED && totalBytes >= warningBytes
[
all
...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
NetworkPolicyEditor.java
68
if (policy.
warningBytes
< -1) {
69
policy.
warningBytes
= WARNING_DISABLED;
167
return (policy != null) ? policy.
warningBytes
: WARNING_DISABLED;
170
public void setPolicyWarningBytes(NetworkTemplate template, long
warningBytes
) {
172
policy.
warningBytes
=
warningBytes
;
/packages/apps/Settings/src/com/android/settings/datausage/
ChartDataUsagePreference.java
91
long policyMax = mPolicy != null ? Math.max(mPolicy.limitBytes, mPolicy.
warningBytes
) : 0;
141
if (policy.
warningBytes
!= NetworkPolicy.WARNING_DISABLED) {
142
chart.setDividerLoc((int) (policy.
warningBytes
/ RESOLUTION));
143
float weight = policy.
warningBytes
/ RESOLUTION / (float) top;
147
labels[1] = getLabel(policy.
warningBytes
, R.string.data_usage_sweep_warning,
BillingCycleSettings.java
96
? policy.
warningBytes
: DataUsageController.DEFAULT_WARNING_LEVEL));
149
* Dialog to edit {@link NetworkPolicy#
warningBytes
}.
321
final long minLimitBytes = (long) (policy.
warningBytes
* FLOAT);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DataUsageController.java
170
usage.warningLevel = policy.
warningBytes
> 0 ? policy.
warningBytes
: 0;
/packages/apps/Settings/src/com/android/settings/widget/
ChartDataUsageView.java
187
if (policy.
warningBytes
!= NetworkPolicy.WARNING_DISABLED) {
189
mSweepWarning.setValue(policy.
warningBytes
);
/frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java
242
private static final String ATTR_WARNING_BYTES = "
warningBytes
";
[
all
...]
Completed in 731 milliseconds