Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataLimitPreferenceController.java91 long limitBytes = getNetworkPolicyEditor().getPolicyLimitBytes(getNetworkTemplate()); in updateState() local
99 DataUsageUtils.bytesToIecUnits(getContext(), limitBytes)); in updateState() local
134 long limitBytes = Math.max(5 * GIB_IN_BYTES, minLimitBytes); in onConfirm() local
136 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), limitBytes); in onConfirm() local
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java142 final long limitBytes = services.mPolicyEditor.getPolicyLimitBytes(mNetworkTemplate); in updatePrefs() local
144 mDataLimit.setSummary(DataUsageUtils.formatDataUsage(getContext(), limitBytes)); in updatePrefs() local
211 void setPolicyLimitBytes(long limitBytes) { in setPolicyLimitBytes()
446 final long limitBytes; in show() local
481 final long limitBytes = getArguments().getLong(EXTRA_LIMIT_BYTES); in onClick() local
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageInfoControllerTest.java109 long limitBytes = -1; in getDefaultNetworkPolicy() local
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java121 public final long limitBytes; field in OffloadController.InterfaceQuota
125 InterfaceQuota(long warningBytes, long limitBytes) { in InterfaceQuota()
376 long warningBytes, long limitBytes) { in onSetWarningAndLimit()