/frameworks/base/tools/lock_agent/java/com/android/lock_checker/ |
D | OnThreadLockChecker.java | 45 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()
|
D | LockHook.java | 71 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/ |
D | Violation.java | 20 public abstract class Violation extends Throwable { class 21 Violation(String message) { in Violation() method in Violation
|
D | UntaggedSocketViolation.java | 18 public final class UntaggedSocketViolation extends Violation {
|
D | DiskReadViolation.java | 18 public final class DiskReadViolation extends Violation {
|
D | DiskWriteViolation.java | 18 public final class DiskWriteViolation extends Violation {
|
D | NetworkViolation.java | 18 public final class NetworkViolation extends Violation {
|
D | NonSdkApiUsedViolation.java | 23 public final class NonSdkApiUsedViolation extends Violation {
|
D | CustomViolation.java | 18 public final class CustomViolation extends Violation {
|
D | CleartextNetworkViolation.java | 18 public final class CleartextNetworkViolation extends Violation {
|
D | FileUriExposedViolation.java | 18 public final class FileUriExposedViolation extends Violation {
|
D | ResourceMismatchViolation.java | 18 public final class ResourceMismatchViolation extends Violation {
|
D | ImplicitDirectBootViolation.java | 27 public final class ImplicitDirectBootViolation extends Violation {
|
D | ExplicitGcViolation.java | 26 public final class ExplicitGcViolation extends Violation {
|
D | CredentialProtectedWhileLockedViolation.java | 33 public final class CredentialProtectedWhileLockedViolation extends Violation {
|
D | ServiceConnectionLeakedViolation.java | 18 public final class ServiceConnectionLeakedViolation extends Violation {
|
D | UnbufferedIoViolation.java | 23 public final class UnbufferedIoViolation extends Violation {
|
D | IntentReceiverLeakedViolation.java | 18 public final class IntentReceiverLeakedViolation extends Violation {
|
D | WebViewMethodCalledOnWrongThreadViolation.java | 18 public final class WebViewMethodCalledOnWrongThreadViolation extends Violation {
|
D | SqliteObjectLeakedViolation.java | 18 public final class SqliteObjectLeakedViolation extends Violation {
|
D | LeakedClosableViolation.java | 18 public final class LeakedClosableViolation extends Violation {
|
D | ContentUriWithoutPermissionViolation.java | 20 public final class ContentUriWithoutPermissionViolation extends Violation {
|
D | InstanceCountViolation.java | 18 public class InstanceCountViolation extends Violation {
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 55 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/ |
D | test-current.txt | 2225 method public Class<? extends android.os.strictmode.Violation> getViolationClass(); 2444 public final class ExplicitGcViolation extends android.os.strictmode.Violation {
|