Home
last modified time | relevance | path

Searched refs:limitBytes (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java97 if (policy != null && policy.limitBytes != LIMIT_DISABLED) { in updatePrefs()
98 mDataLimit.setSummary(Formatter.formatFileSize(getContext(), policy.limitBytes)); in updatePrefs()
142 private void setPolicyLimitBytes(long limitBytes) { in setPolicyLimitBytes() argument
144 services.mPolicyEditor.setPolicyLimitBytes(mNetworkTemplate, limitBytes); in setPolicyLimitBytes()
322 final long limitBytes; in show() local
326 limitBytes = Math.max(5 * GB_IN_BYTES, minLimitBytes); in show()
330 args.putLong(EXTRA_LIMIT_BYTES, limitBytes); in show()
355 final long limitBytes = getArguments().getLong(EXTRA_LIMIT_BYTES); in onClick() local
358 target.setPolicyLimitBytes(limitBytes); in onClick()
DChartDataUsagePreference.java91 long policyMax = mPolicy != null ? Math.max(mPolicy.limitBytes, mPolicy.warningBytes) : 0; in getTop()
136 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { in bindNetworkPolicy()
138 labels[2] = getLabel(policy.limitBytes, R.string.data_usage_sweep_limit, mLimitColor); in bindNetworkPolicy()
DDataUsageMeteredSettings.java137 if (policy.limitBytes != LIMIT_DISABLED) { in MeteredPreference()
/packages/apps/Settings/src/com/android/settings/widget/
DChartDataUsageView.java177 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { in bindNetworkPolicy()
180 mSweepLimit.setValue(policy.limitBytes); in bindNetworkPolicy()