Home
last modified time | relevance | path

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

/aosp12/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestMethod.java38 private final Class<? extends TestCase> enclosingClass; field in TestMethod
40 public TestMethod(Method method, Class<? extends TestCase> enclosingClass) { in TestMethod() argument
41 this(method.getName(), enclosingClass); in TestMethod()
44 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) { in TestMethod() argument
45 this.enclosingClass = enclosingClass; in TestMethod()
46 this.enclosingClassname = enclosingClass.getName(); in TestMethod()
72 return enclosingClass; in getEnclosingClass()
77 return instantiateTest(enclosingClass, testMethodName); in createTest()
/aosp12/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
H A DBluetoothPermissionChecker.java23 import static com.google.errorprone.matchers.Matchers.enclosingClass;
70 not(enclosingClass(isInsideParcelable())),
71 not(enclosingClass(simpleNameMatches(Pattern.compile(".+Callback$")))),
72 not(enclosingClass(isSubtypeOf("android.bluetooth.BluetoothProfileConnector"))),
73 not(enclosingClass(isSubtypeOf("android.app.PropertyInvalidatedCache"))));
77 private static final Matcher<MethodTree> BINDER_METHOD = enclosingClass(
81 enclosingClass(isSubtypeOf("android.os.IInterface")),
85 enclosingClass(simpleNameMatches(Pattern.compile("^(Stub|Default|Proxy)$")))));
178 return isCallbackOrWrapper(ASTHelpers.enclosingClass(symbol)) in isCallbackOrWrapper()
185 return isSuppressed(ASTHelpers.enclosingClass(symbol)) in isSuppressed()
H A DRequiresPermissionChecker.java22 import static com.google.errorprone.matchers.Matchers.enclosingClass;
96 enclosingClass(isSubtypeOf("android.os.IInterface")),
100 enclosingClass(simpleNameMatches(Pattern.compile("^(Stub|Default|Proxy)$")))));
104 enclosingClass(isSubtypeOf("android.content.BroadcastReceiver")),
107 enclosingClass(isSubtypeOf("android.database.ContentObserver")),
110 enclosingClass(isSubtypeOf("android.os.Handler")),
113 enclosingClass(isSubtypeOf("android.os.IBinder.DeathRecipient")),
449 final ClassSymbol clazz = ASTHelpers.enclosingClass(method); in isSuppressedRecursively()
H A DClientSidePermissionCheckChecker.java21 import static com.google.errorprone.matchers.Matchers.enclosingClass;
49 enclosingClass(hasAnnotation("android.annotation.SystemService"));
H A DContextUserIdChecker.java22 import static com.google.errorprone.matchers.Matchers.enclosingClass;
60 enclosingClass(hasAnnotation("android.annotation.SystemService"));
H A DEfficientParcelableChecker.java21 import static com.google.errorprone.matchers.Matchers.enclosingClass;
52 enclosingClass(isSubtypeOf("android.os.Parcelable")),
H A DRethrowFromSystemChecker.java22 import static com.google.errorprone.matchers.Matchers.enclosingClass;
66 enclosingClass(hasAnnotation("android.annotation.SystemService"));
/aosp12/packages/apps/TV/libs/m2/
H A Djavapoet-1.11.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/squareup/ com/ ...
H A Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...