Searched refs:hitters (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderHeavyHitterTest.java | 120 List<HeavyHitterContainer> hitters = new ArrayList<>(); in testPositive() local 122 hitters.add(newContainer(1001, TestBinder4.class, 1002, 0.4f)); in testPositive() 124 hitters.add(newContainer(2001, TestBinder5.class, 2002, 0.333f)); in testPositive() 126 ArrayList<HeavyHitterContainer> inputs = generateRandomInput(1000, hitters, counts); in testPositive() 131 mExpectedResult = hitters; in testPositive() 148 List<HeavyHitterContainer> hitters = new ArrayList<>(); in testNegative() local 150 hitters.add(newContainer(1001, TestBinder4.class, 1002, 0.332f)); in testNegative() 152 hitters.add(newContainer(2001, TestBinder5.class, 2002, 0.331f)); in testNegative() 154 ArrayList<HeavyHitterContainer> inputs = generateRandomInput(1000, hitters, counts); in testNegative()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallHeavyHitterWatcher.java | 386 final ArrayList<HeavyHitterContainer> hitters = new ArrayList<>(); in onTransaction() local 394 hitters.add(cont); in onTransaction() 397 mListener.onHeavyHit(hitters, mTotalInputSize, mThreshold, in onTransaction()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | HeavyHitterSketchTest.java | 143 private int[] generateRandomInput(final int size, final int[] hitters) { 156 input[i] = hitters[j++]; 157 if (j == hitters.length) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 16722 private void handleBinderHeavyHitters(@NonNull final List<HeavyHitterContainer> hitters, 16724 final int size = hitters.size(); 16740 final HeavyHitterContainer container = hitters.get(i);
|