Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataLimitPreferenceController.java84 long limitBytes = getNetworkPolicyEditor().getPolicyLimitBytes(getNetworkTemplate()); in updateState() local
92 DataUsageUtils.bytesToIecUnits(getContext(), limitBytes)); in updateState() local
127 long limitBytes = Math.max(5 * GIB_IN_BYTES, minLimitBytes); in onConfirm() local
129 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), limitBytes); in onConfirm() local
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java164 final long limitBytes = services.mPolicyEditor.getPolicyLimitBytes(mNetworkTemplate); in updatePrefs() local
166 mDataLimit.setSummary(DataUsageUtils.formatDataUsage(getContext(), limitBytes)); in updatePrefs() local
233 void setPolicyLimitBytes(long limitBytes) { in setPolicyLimitBytes()
479 final long limitBytes; in show() local
516 final long limitBytes = getArguments().getLong(EXTRA_LIMIT_BYTES); in onClick() local
/packages/modules/Connectivity/framework-t/src/android/net/netstats/provider/
DINetworkStatsProvider.aidl27 void onSetWarningAndLimit(String iface, long warningBytes, long limitBytes); in onSetWarningAndLimit()
DNetworkStatsProvider.java217 public void onSetWarningAndLimit(@NonNull String iface, long warningBytes, long limitBytes) { in onSetWarningAndLimit()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DNetworkStatsProviderStubCompat.java36 public void onSetWarningAndLimit(String iface, long warningBytes, long limitBytes) {} in onSetWarningAndLimit()
DTestableNetworkStatsProvider.kt37 val limitBytes: Long constant in com.android.testutils.TestableNetworkStatsProvider.CallbackType.OnSetWarningAndLimit
39 data class OnSetLimit(val iface: String, val limitBytes: Long) : CallbackType() { constant in com.android.testutils.TestableNetworkStatsProvider.CallbackType.OnSetLimit
DTestableNetworkStatsProviderBinder.kt32 val limitBytes: Long constant in com.android.testutils.TestableNetworkStatsProviderBinder.CallbackType.OnSetWarningAndLimit
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java120 public final long limitBytes; field in OffloadController.InterfaceQuota
124 InterfaceQuota(long warningBytes, long limitBytes) { in InterfaceQuota()
365 long warningBytes, long limitBytes) { in onSetWarningAndLimit()