Home
last modified time | relevance | path

Searched refs:HeavyHitterContainer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderHeavyHitterTest.java21 import com.android.internal.os.BinderCallHeavyHitterWatcher.HeavyHitterContainer;
36 private List<HeavyHitterContainer> mExpectedResult = null;
41 private ArrayList<HeavyHitterContainer> generateRandomInput(final int total, in generateRandomInput()
42 final List<HeavyHitterContainer> heavyHitters, in generateRandomInput()
44 final ArrayList<HeavyHitterContainer> result = new ArrayList<>(); in generateRandomInput()
45 List<HeavyHitterContainer> flatternedHeavyHitters = null; in generateRandomInput()
52 final HeavyHitterContainer container = heavyHitters.get(i); in generateRandomInput()
64 HeavyHitterContainer container = null; in generateRandomInput()
90 private HeavyHitterContainer newContainer(final int uid, final Class clazz, final int code, in newContainer()
92 final HeavyHitterContainer container = new HeavyHitterContainer(); in newContainer()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java63 private final SparseArray<HeavyHitterContainer> mHeavyHitterCandiates = new SparseArray<>();
87 private HeavyHitterContainer[] mCachedCandidateContainers;
145 void onHeavyHit(List<HeavyHitterContainer> heavyHitters, in onHeavyHit()
152 public static final class HeavyHitterContainer { class in BinderCallHeavyHitterWatcher
176 public HeavyHitterContainer() { in HeavyHitterContainer() method in BinderCallHeavyHitterWatcher.HeavyHitterContainer
182 public HeavyHitterContainer(@NonNull final HeavyHitterContainer other) { in HeavyHitterContainer() method in BinderCallHeavyHitterWatcher.HeavyHitterContainer
191 if (other == null || !(other instanceof HeavyHitterContainer)) { in equals()
194 HeavyHitterContainer o = (HeavyHitterContainer) other; in equals()
310 mCachedCandidateContainers = new HeavyHitterContainer[capacity]; in initCachedCandidateContainersLocked()
312 mCachedCandidateContainers[i] = new HeavyHitterContainer(); in initCachedCandidateContainersLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java335 import com.android.internal.os.BinderCallHeavyHitterWatcher.HeavyHitterContainer;
16722 private void handleBinderHeavyHitters(@NonNull final List<HeavyHitterContainer> hitters,
16740 final HeavyHitterContainer container = hitters.get(i);
/frameworks/base/boot/
Dboot-image-profile.txt33259 Lcom/android/internal/os/BinderCallHeavyHitterWatcher$HeavyHitterContainer;
/frameworks/base/config/
Dboot-image-profile.txt42923 Lcom/android/internal/os/BinderCallHeavyHitterWatcher$HeavyHitterContainer;