Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderHeavyHitterTest.java28 import com.android.internal.os.BinderCallHeavyHitterWatcher.HeavyHitterContainer;
45 private List<HeavyHitterContainer> mExpectedResult = null;
50 private ArrayList<HeavyHitterContainer> generateRandomInput(final int total, in generateRandomInput()
51 final List<HeavyHitterContainer> heavyHitters, in generateRandomInput()
53 final ArrayList<HeavyHitterContainer> result = new ArrayList<>(); in generateRandomInput()
54 List<HeavyHitterContainer> flatternedHeavyHitters = null; in generateRandomInput()
61 final HeavyHitterContainer container = heavyHitters.get(i); in generateRandomInput()
73 HeavyHitterContainer container = null; in generateRandomInput()
99 private HeavyHitterContainer newContainer(final int uid, final Class clazz, final int code, in newContainer()
101 final HeavyHitterContainer container = new HeavyHitterContainer(); in newContainer()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java64 private final SparseArray<HeavyHitterContainer> mHeavyHitterCandiates = new SparseArray<>();
88 private HeavyHitterContainer[] mCachedCandidateContainers;
146 void onHeavyHit(List<HeavyHitterContainer> heavyHitters, in onHeavyHit()
153 public static final class HeavyHitterContainer { class in BinderCallHeavyHitterWatcher
177 public HeavyHitterContainer() { in HeavyHitterContainer() method in BinderCallHeavyHitterWatcher.HeavyHitterContainer
183 public HeavyHitterContainer(@NonNull final HeavyHitterContainer other) { in HeavyHitterContainer() method in BinderCallHeavyHitterWatcher.HeavyHitterContainer
192 if (other == null || !(other instanceof HeavyHitterContainer)) { in equals()
195 HeavyHitterContainer o = (HeavyHitterContainer) other; in equals()
311 mCachedCandidateContainers = new HeavyHitterContainer[capacity]; in initCachedCandidateContainersLocked()
313 mCachedCandidateContainers[i] = new HeavyHitterContainer(); in initCachedCandidateContainersLocked()
[all …]
/frameworks/base/boot/
Dpreloaded-classes11318 com.android.internal.os.BinderCallHeavyHitterWatcher$HeavyHitterContainer
Dboot-image-profile.txt33752 Lcom/android/internal/os/BinderCallHeavyHitterWatcher$HeavyHitterContainer;
/frameworks/base/config/
Dpreloaded-classes11349 com.android.internal.os.BinderCallHeavyHitterWatcher$HeavyHitterContainer
Dboot-image-profile.txt43913 Lcom/android/internal/os/BinderCallHeavyHitterWatcher$HeavyHitterContainer;