Home
last modified time | relevance | path

Searched refs:LockHook (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DOnThreadLockChecker.java33 class OnThreadLockChecker implements LockHook.LockChecker {
53 private final ThreadLocal<LockHook.StacktraceHasher> mStacktraceHasher = ThreadLocal
54 .withInitial(() -> new LockHook.StacktraceHasher());
143 LockHook.updateDeepestNest(heldLocks.size() + 1); in handlePre()
223 private static class Violation implements LockHook.Violation {
346 if (LockHook.shouldDumpStacktrace(mStacktraceHasher.get(), mDumpedStacktraceHashes, in handleViolation()
349 LockHook.addViolation(v); in handleViolation()
354 LockHook.doCheckOnThisThread(false); in checker()
DLockHook.java48 public class LockHook { class
268 final int oc = LockHook.sTotalObtainCount.get(); in dump()
269 final int rc = LockHook.sTotalReleaseCount.get(); in dump()
270 final int dn = LockHook.sDeepestNest.get(); in dump()