Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java1742 ArrayList<ViolationInfo> violations = gatheredViolations.get(); in onThreadPolicyViolation() local
1743 if (violations == null) { in onThreadPolicyViolation()
1744 violations = new ArrayList<>(1); in onThreadPolicyViolation()
1745 gatheredViolations.set(violations); in onThreadPolicyViolation()
1747 for (ViolationInfo previous : violations) { in onThreadPolicyViolation()
1753 violations.add(info); in onThreadPolicyViolation()
2337 ArrayList<ViolationInfo> violations = gatheredViolations.get(); in writeGatheredViolationsToParcel() local
2338 if (violations == null) { in writeGatheredViolationsToParcel()
2344 final int size = Math.min(violations.size(), 3); in writeGatheredViolationsToParcel()
2347 violations.get(i).writeToParcel(p, 0); in writeGatheredViolationsToParcel()