OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:limitBytes
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/core/java/android/net/
NetworkPolicy.java
52
public long
limitBytes
;
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,
74
this.
limitBytes
=
limitBytes
;
86
limitBytes
= in.readLong();
99
dest.writeLong(
limitBytes
);
119
* Test if given measurement is near enough to {@link #
limitBytes
} to be
126
return
limitBytes
!= LIMIT_DISABLED && totalBytes >= limitBytes
[
all
...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
NetworkPolicyEditor.java
64
if (policy.
limitBytes
< -1) {
65
policy.
limitBytes
= LIMIT_DISABLED;
98
return policy != null && policy.
limitBytes
!= LIMIT_DISABLED;
180
return (policy != null) ? policy.
limitBytes
: LIMIT_DISABLED;
183
public void setPolicyLimitBytes(NetworkTemplate template, long
limitBytes
) {
185
policy.
limitBytes
=
limitBytes
;
/packages/apps/Settings/src/com/android/settings/datausage/
BillingCycleSettings.java
99
if (policy != null && policy.
limitBytes
!= LIMIT_DISABLED) {
100
mDataLimit.setSummary(Formatter.formatFileSize(getContext(), policy.
limitBytes
));
144
private void setPolicyLimitBytes(long
limitBytes
) {
146
services.mPolicyEditor.setPolicyLimitBytes(mNetworkTemplate,
limitBytes
);
306
* {@link NetworkPolicy#
limitBytes
}.
311
private static final String EXTRA_LIMIT_BYTES = "
limitBytes
";
324
final long
limitBytes
;
328
limitBytes
= Math.max(5 * GB_IN_BYTES, minLimitBytes);
332
args.putLong(EXTRA_LIMIT_BYTES,
limitBytes
);
357
final long
limitBytes
= getArguments().getLong(EXTRA_LIMIT_BYTES)
[
all
...]
ChartDataUsagePreference.java
91
long policyMax = mPolicy != null ? Math.max(mPolicy.
limitBytes
, mPolicy.warningBytes) : 0;
136
if (policy.
limitBytes
!= NetworkPolicy.LIMIT_DISABLED) {
138
labels[2] = getLabel(policy.
limitBytes
, R.string.data_usage_sweep_limit, mLimitColor);
DataUsageMeteredSettings.java
137
if (policy.
limitBytes
!= LIMIT_DISABLED) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DataUsageController.java
179
usage.limitLevel = policy.
limitBytes
> 0 ? policy.
limitBytes
: 0;
/packages/apps/Settings/src/com/android/settings/widget/
ChartDataUsageView.java
177
if (policy.
limitBytes
!= NetworkPolicy.LIMIT_DISABLED) {
180
mSweepLimit.setValue(policy.
limitBytes
);
/frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java
266
private static final String ATTR_LIMIT_BYTES = "
limitBytes
";
[
all
...]
Completed in 260 milliseconds