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

/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsManagerInternal.java33 public abstract void advisePersistThreshold(long thresholdBytes); argument
H A DNetworkStatsRecorder.java135 public void setPersistThreshold(long thresholdBytes) { argument
136 if (LOGV) Slog.v(TAG, "setPersistThreshold() with " + thresholdBytes);
138 thresholdBytes, 1 * KB_IN_BYTES, 100 * MB_IN_BYTES);
H A DNetworkStatsService.java871 private void advisePersistThreshold(long thresholdBytes) { argument
875 mPersistThreshold = MathUtils.constrain(thresholdBytes, 128 * KB_IN_BYTES, 2 * MB_IN_BYTES);
877 Slog.v(TAG, "advisePersistThreshold() given " + thresholdBytes + ", clamped to "
1425 public void advisePersistThreshold(long thresholdBytes) { argument
1426 NetworkStatsService.this.advisePersistThreshold(thresholdBytes);
/frameworks/base/core/java/android/app/usage/
H A DNetworkStatsManager.java397 long thresholdBytes, UsageCallback callback, @Nullable Handler handler) {
408 template, thresholdBytes);
431 public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, argument
433 registerUsageCallback(networkType, subscriberId, thresholdBytes, callback,
446 * @param thresholdBytes Threshold in bytes to be notified on.
452 public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, argument
459 + " thresholdBytes=" + thresholdBytes
462 registerUsageCallback(template, networkType, thresholdBytes, callback, handler);
396 registerUsageCallback(NetworkTemplate template, int networkType, long thresholdBytes, UsageCallback callback, @Nullable Handler handler) argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DParceledListSliceTest.java60 final int thresholdBytes = 256 * 1024;
61 final int objectCount = thresholdBytes / measureLargeObject();
126 final int thresholdBytes = 256 * 1024;
128 final int objectCount = 2 * thresholdBytes / value.length();

Completed in 14 milliseconds