Searched refs:getTopHeavyHitters (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | HeavyHitterSketchTest.java | 61 public List<Pair<T, Float>> getTopHeavyHitters(final int k) { in getTopHeavyHitters() method in HeavyHitterSketchTest.CounterBased 72 private List<Pair<Integer, Float>> getTopHeavyHitters(final int[] input, final int capacity) { in getTopHeavyHitters() method in HeavyHitterSketchTest 88 final List<Integer> tops = sketcher.getTopHeavyHitters(capacity - 1, null, freqs); in getTopHeavyHitters() 92 final List<Pair<Integer, Float>> cl = counter.getTopHeavyHitters(capacity - 1); in getTopHeavyHitters() 100 assertTrue(counter.getTopHeavyHitters(capacity - 1).isEmpty()); in getTopHeavyHitters() 119 final List<Pair<Integer, Float>> result = getTopHeavyHitters(input, capacity); 139 final List<Pair<Integer, Float>> result = getTopHeavyHitters(input, capacity);
|
/frameworks/base/core/java/com/android/internal/util/ |
D | HeavyHitterSketch.java | 74 List<T> getTopHeavyHitters(int k, @Nullable List<T> holder, @Nullable List<Float> freqs); in getTopHeavyHitters() method 253 public List<T> getTopHeavyHitters(final int k, final @Nullable List<T> holder, in getTopHeavyHitters() method in HeavyHitterSketch.HeavyHitterSketchImpl
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallHeavyHitterWatcher.java | 382 final List<Integer> result = sketch.getTopHeavyHitters(0, in onTransaction()
|