Home
last modified time | relevance | path

Searched refs:hitters (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderHeavyHitterTest.java130 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/
DBinderCallHeavyHitterWatcher.java387 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/
DHeavyHitterSketchTest.java151 private int[] generateRandomInput(final int size, final int[] hitters) {
164 input[i] = hitters[j++];
165 if (j == hitters.length) {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java20643 private void handleBinderHeavyHitters(@NonNull final List<HeavyHitterContainer> hitters,
20645 final int size = hitters.size();
20661 final HeavyHitterContainer container = hitters.get(i);