Searched refs:violation (Results 1 – 4 of 4) sorted by relevance
160 .penaltyListener(Runnable::run, violation -> { in enableStrictMode()161 if (!(violation instanceof InstanceCountViolation)) { in enableStrictMode()168 Log.w(TAG, violation.toString() + ", " + dumpHprofData()); in enableStrictMode()
47 for cases where the lint violation is intended, so that reviewers
14 for cases where the lint violation is intended, so that reviewers
1782 final Violation violation = info.mViolation; in onThreadPolicyViolation() local1813 throw new RuntimeException("StrictMode ThreadPolicy violation", violation); in onThreadPolicyViolation()1827 listener.onThreadViolation(violation); in onThreadPolicyViolation()2258 public static void onVmPolicyViolation(Violation violation, boolean forceDeath) { in onVmPolicyViolation() argument2264 final ViolationInfo info = new ViolationInfo(violation, penaltyMask); in onVmPolicyViolation()2324 listener.onVmViolation(violation); in onVmPolicyViolation()