Searched refs:hitters (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderHeavyHitterTest.java | 130 List<HeavyHitterContainer> hitters = new ArrayList<>(); in testPositive() local 132 hitters.add(newContainer(1001, TestBinder4.class, 1002, 0.4f)); in testPositive() 134 hitters.add(newContainer(2001, TestBinder5.class, 2002, 0.333f)); in testPositive() 136 ArrayList<HeavyHitterContainer> inputs = generateRandomInput(1000, hitters, counts); in testPositive() 141 mExpectedResult = hitters; in testPositive() 159 List<HeavyHitterContainer> hitters = new ArrayList<>(); in testNegative() local 161 hitters.add(newContainer(1001, TestBinder4.class, 1002, 0.332f)); in testNegative() 163 hitters.add(newContainer(2001, TestBinder5.class, 2002, 0.331f)); in testNegative() 165 ArrayList<HeavyHitterContainer> inputs = generateRandomInput(1000, hitters, counts); in testNegative()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallHeavyHitterWatcher.java | 387 final ArrayList<HeavyHitterContainer> hitters = new ArrayList<>(); in onTransaction() local 395 hitters.add(cont); in onTransaction() 398 mListener.onHeavyHit(hitters, mTotalInputSize, mThreshold, in onTransaction()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | HeavyHitterSketchTest.java | 151 private int[] generateRandomInput(final int size, final int[] hitters) { 164 input[i] = hitters[j++]; 165 if (j == hitters.length) {
|