Home
last modified time | relevance | path

Searched refs:Violation (Results 1 – 25 of 34) 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
24 Violation(String message) { in Violation() method in Violation
DUntaggedSocketViolation.java18 public final class UntaggedSocketViolation extends Violation {
DDiskReadViolation.java18 public final class DiskReadViolation extends Violation {
DNetworkViolation.java18 public final class NetworkViolation extends Violation {
DDiskWriteViolation.java18 public final class DiskWriteViolation extends Violation {
DCleartextNetworkViolation.java18 public final class CleartextNetworkViolation extends Violation {
DNonSdkApiUsedViolation.java23 public final class NonSdkApiUsedViolation extends Violation {
DCustomViolation.java18 public final class CustomViolation extends Violation {
DFileUriExposedViolation.java18 public final class FileUriExposedViolation extends Violation {
DExplicitGcViolation.java23 public final class ExplicitGcViolation extends Violation {
DResourceMismatchViolation.java18 public final class ResourceMismatchViolation extends Violation {
DImplicitDirectBootViolation.java27 public final class ImplicitDirectBootViolation extends Violation {
DServiceConnectionLeakedViolation.java18 public final class ServiceConnectionLeakedViolation extends Violation {
DWebViewMethodCalledOnWrongThreadViolation.java18 public final class WebViewMethodCalledOnWrongThreadViolation extends Violation {
DUnbufferedIoViolation.java23 public final class UnbufferedIoViolation extends Violation {
DCredentialProtectedWhileLockedViolation.java33 public final class CredentialProtectedWhileLockedViolation extends Violation {
DIntentReceiverLeakedViolation.java18 public final class IntentReceiverLeakedViolation extends Violation {
DSqliteObjectLeakedViolation.java18 public final class SqliteObjectLeakedViolation extends Violation {
DContentUriWithoutPermissionViolation.java20 public final class ContentUriWithoutPermissionViolation extends Violation {
DLeakedClosableViolation.java18 public final class LeakedClosableViolation extends Violation {
DIncorrectContextUseViolation.java30 public final class IncorrectContextUseViolation extends Violation {
DInstanceCountViolation.java18 public class InstanceCountViolation extends Violation {
DUnsafeIntentLaunchViolation.java51 public final class UnsafeIntentLaunchViolation extends Violation {

12