Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java457 long thresholdBytes, UsageCallback callback, @Nullable Handler handler) { in registerUsageCallback() argument
468 template, thresholdBytes); in registerUsageCallback()
491 public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, in registerUsageCallback() argument
493 registerUsageCallback(networkType, subscriberId, thresholdBytes, callback, in registerUsageCallback()
518 public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, in registerUsageCallback() argument
525 + " thresholdBytes=" + thresholdBytes in registerUsageCallback()
528 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.java970 private void advisePersistThreshold(long thresholdBytes) { in advisePersistThreshold() argument
972 mPersistThreshold = MathUtils.constrain(thresholdBytes, 128 * KB_IN_BYTES, 2 * MB_IN_BYTES); in advisePersistThreshold()
974 Slog.v(TAG, "advisePersistThreshold() given " + thresholdBytes + ", clamped to " in advisePersistThreshold()
1651 public void advisePersistThreshold(long thresholdBytes) { in advisePersistThreshold() argument
1652 NetworkStatsService.this.advisePersistThreshold(thresholdBytes); in advisePersistThreshold()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...