Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java1702 ArrayList<ViolationInfo> violations = gatheredViolations.get(); in onThreadPolicyViolation() local
1703 if (violations == null) { in onThreadPolicyViolation()
1704 violations = new ArrayList<>(1); in onThreadPolicyViolation()
1705 gatheredViolations.set(violations); in onThreadPolicyViolation()
1707 for (ViolationInfo previous : violations) { in onThreadPolicyViolation()
1713 violations.add(info); in onThreadPolicyViolation()
2253 ArrayList<ViolationInfo> violations = gatheredViolations.get(); in writeGatheredViolationsToParcel() local
2254 if (violations == null) { in writeGatheredViolationsToParcel()
2260 final int size = Math.min(violations.size(), 3); in writeGatheredViolationsToParcel()
2263 violations.get(i).writeToParcel(p, 0); in writeGatheredViolationsToParcel()