Searched refs:LockHook (Results 1 – 2 of 2) sorted by relevance
33 class OnThreadLockChecker implements LockHook.LockChecker {53 private final ThreadLocal<LockHook.StacktraceHasher> mStacktraceHasher = ThreadLocal54 .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()
48 public class LockHook { class268 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()