Home
last modified time | relevance | path

Searched refs:thresholdBytes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java426 long thresholdBytes, UsageCallback callback, @Nullable Handler handler) { in registerUsageCallback() argument
437 template, thresholdBytes); in registerUsageCallback()
460 public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, in registerUsageCallback() argument
462 registerUsageCallback(networkType, subscriberId, thresholdBytes, callback, in registerUsageCallback()
481 public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, in registerUsageCallback() argument
488 + " thresholdBytes=" + thresholdBytes in registerUsageCallback()
491 registerUsageCallback(template, networkType, thresholdBytes, callback, handler); in registerUsageCallback()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DParceledListSliceTest.java77 final int thresholdBytes = 256 * 1024; in testLargeList() local
78 final int objectCount = thresholdBytes / measureLargeObject(); in testLargeList()
143 final int thresholdBytes = 256 * 1024; in testLargeStringList() local
145 final int objectCount = 2 * thresholdBytes / value.length(); in testLargeStringList()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsManagerInternal.java34 public abstract void advisePersistThreshold(long thresholdBytes); in advisePersistThreshold() argument
DNetworkStatsRecorder.java132 public void setPersistThreshold(long thresholdBytes) { in setPersistThreshold() argument
133 if (LOGV) Slog.v(TAG, "setPersistThreshold() with " + thresholdBytes); in setPersistThreshold()
135 thresholdBytes, 1 * KB_IN_BYTES, 100 * MB_IN_BYTES); in setPersistThreshold()
DNetworkStatsService.java1002 private void advisePersistThreshold(long thresholdBytes) {
1004 mPersistThreshold = MathUtils.constrain(thresholdBytes, 128 * KB_IN_BYTES, 2 * MB_IN_BYTES);
1006 Slog.v(TAG, "advisePersistThreshold() given " + thresholdBytes + ", clamped to "
1679 public void advisePersistThreshold(long thresholdBytes) {
1680 NetworkStatsService.this.advisePersistThreshold(thresholdBytes);