Home
last modified time | relevance | path

Searched refs:Violation (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DOnThreadLockChecker.java45 private final LinkedBlockingQueue<Violation> mQueue = new LinkedBlockingQueue<>();
216 Log.wtf("LockCheckMine", "post(" + Violation.describeLock(lock) + ") vs [..., " in handlePost()
217 + Violation.describeLock(heldLocks.get(index)) + "]"); in handlePost()
223 private static class Violation implements LockHook.Violation { class in OnThreadLockChecker
233 Violation(Thread self, Object alreadyHeld, Object lock, in Violation() method in OnThreadLockChecker.Violation
338 mQueue.offer(new Violation(self, alreadyHeld, lock, annotatedStack, oppositeData)); in postViolation()
341 private void handleViolation(Violation v) { in handleViolation()
344 int to = Violation.getTo(v.mStack, v.mAlreadyHeld); in handleViolation()
358 Violation v = mQueue.take(); in checker()
DLockHook.java71 private static final ConcurrentLinkedQueue<Violation> sViolations =
116 static void wtf(Violation v) { in wtf()
166 public void wtf(Violation v) { in wtf()
179 handleViolation((Violation) args.arg1); in handleMessage()
186 private static void handleViolation(Violation v) { in handleViolation()
255 static void addViolation(Violation v) { in addViolation()
321 interface Violation { interface in LockHook
/frameworks/base/core/java/android/os/strictmode/
DViolation.java20 public abstract class Violation extends Throwable { class
21 Violation(String message) { in Violation() method in Violation
DUntaggedSocketViolation.java18 public final class UntaggedSocketViolation extends Violation {
DDiskReadViolation.java18 public final class DiskReadViolation extends Violation {
DDiskWriteViolation.java18 public final class DiskWriteViolation extends Violation {
DNetworkViolation.java18 public final class NetworkViolation extends Violation {
DNonSdkApiUsedViolation.java23 public final class NonSdkApiUsedViolation extends Violation {
DCustomViolation.java18 public final class CustomViolation extends Violation {
DCleartextNetworkViolation.java18 public final class CleartextNetworkViolation extends Violation {
DFileUriExposedViolation.java18 public final class FileUriExposedViolation extends Violation {
DResourceMismatchViolation.java18 public final class ResourceMismatchViolation extends Violation {
DImplicitDirectBootViolation.java27 public final class ImplicitDirectBootViolation extends Violation {
DExplicitGcViolation.java26 public final class ExplicitGcViolation extends Violation {
DCredentialProtectedWhileLockedViolation.java33 public final class CredentialProtectedWhileLockedViolation extends Violation {
DServiceConnectionLeakedViolation.java18 public final class ServiceConnectionLeakedViolation extends Violation {
DUnbufferedIoViolation.java23 public final class UnbufferedIoViolation extends Violation {
DIntentReceiverLeakedViolation.java18 public final class IntentReceiverLeakedViolation extends Violation {
DWebViewMethodCalledOnWrongThreadViolation.java18 public final class WebViewMethodCalledOnWrongThreadViolation extends Violation {
DSqliteObjectLeakedViolation.java18 public final class SqliteObjectLeakedViolation extends Violation {
DLeakedClosableViolation.java18 public final class LeakedClosableViolation extends Violation {
DContentUriWithoutPermissionViolation.java20 public final class ContentUriWithoutPermissionViolation extends Violation {
DInstanceCountViolation.java18 public class InstanceCountViolation extends Violation {
/frameworks/base/core/java/android/os/
DStrictMode.java55 import android.os.strictmode.Violation;
375 void onThreadViolation(Violation v); in onThreadViolation()
384 void onVmViolation(Violation v); in onVmViolation()
1596 void startHandlingViolationException(Violation e) { in startHandlingViolationException()
1737 final Violation violation = info.mViolation; in onThreadPolicyViolation()
2173 public static void onVmPolicyViolation(Violation originStack) { in onVmPolicyViolation()
2178 public static void onVmPolicyViolation(Violation violation, boolean forceDeath) { in onVmPolicyViolation()
2610 private final Violation mViolation;
2650 ViolationInfo(Violation tr, int penaltyMask) { in ViolationInfo()
2705 public Class<? extends Violation> getViolationClass() { in getViolationClass()
[all …]
/frameworks/base/api/
Dtest-current.txt2225 method public Class<? extends android.os.strictmode.Violation> getViolationClass();
2444 public final class ExplicitGcViolation extends android.os.strictmode.Violation {

12