Home
last modified time | relevance | path

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

/tools/platform-compat/javatest/com/android/class2nonsdklist/
DApiComponentsTest.java32 ApiComponents api = ApiComponents.fromDexSignature("La/b/C;->foo()V"); in testGetApiComponentsPackageFromSignature()
39 ApiComponents api = ApiComponents.fromDexSignature("La/b/C;->foo(IJLfoo2/bar/Baz;)V"); in testGetApiComponentsFromSignature()
49 ApiComponents.fromDexSignature("a/b/C;->foo()V"); in testInvalidDexSignatureInvalidClassFormat()
52 ApiComponents.fromDexSignature("La/b/C->foo()V"); in testInvalidDexSignatureInvalidClassFormat()
59 ApiComponents.fromDexSignature("a/b/C;->foo(foo)V"); in testInvalidDexSignatureInvalidParameterType()
66 ApiComponents.fromDexSignature("a/b/C;->foo()foo"); in testInvalidDexSignatureInvalidReturnType()
73 ApiComponents.fromDexSignature("a/b/C;->foo(I)"); in testInvalidDexSignatureMissingReturnType()
80 ApiComponents.fromDexSignature("La/b/C;foo()V"); in testInvalidDexSignatureMissingArrowOrColon()
86 ApiComponents api = ApiComponents.fromLinkTag("a.b.C#foo(int, long, foo2.bar.Baz)", in testGetApiComponentsFromFieldLink()
96 ApiComponents api = ApiComponents.fromLinkTag("b.c.D", "La/b/C;->foo:I"); in testGetApiComponentsLinkOnlyClass()
[all …]
DApiResolverTest.java75 ApiComponents.fromDexSignature("La/b/C;->foo(I)V"), in testFindPublicAlternativeWarnsOnMultipleParameterTypes()
76 ApiComponents.fromDexSignature("La/b/C;->foo(II)V") in testFindPublicAlternativeWarnsOnMultipleParameterTypes()
/tools/platform-compat/java/com/android/class2nonsdklist/
DApiComponents.java27 public class ApiComponents { class
35 private ApiComponents(PackageAndClassName packageAndClassName, String memberName, in ApiComponents() method in ApiComponents
197 public static ApiComponents fromDexSignature(String signature) throws SignatureSyntaxError { in fromDexSignature()
228 return new ApiComponents(packageAndClassName, memberName, methodParameterTypes); in fromDexSignature()
242 public static ApiComponents fromLinkTag(String linkTag, String contextSignature) in fromLinkTag()
244 ApiComponents contextAlternative; in fromLinkTag()
275 return new ApiComponents(packageAndClassName, "", ""); in fromLinkTag()
295 return new ApiComponents(packageAndClassName, memberName, methodParameterTypes); in fromLinkTag()
304 if (!(obj instanceof ApiComponents)) { in equals()
307 ApiComponents other = (ApiComponents) obj; in equals()
[all …]
DApiResolver.java29 private final List<ApiComponents> mPotentialPublicAlternatives;
45 return ApiComponents.fromDexSignature(api); in ApiResolver()
78 ApiComponents alternative = ApiComponents.fromLinkTag(alternativeString, in resolvePublicAlternatives()
93 List<ApiComponents> almostMatches = mPotentialPublicAlternatives.stream() in resolvePublicAlternatives()
DMultipleAlternativesFoundWarning.java24 public final ApiComponents alternative;
25 public final List<ApiComponents> almostMatches;
27 public MultipleAlternativesFoundWarning(ApiComponents alternative, in MultipleAlternativesFoundWarning()
28 List<ApiComponents> almostMatches) { in MultipleAlternativesFoundWarning()
DMemberAlternativeNotFoundError.java20 public final ApiComponents alternative;
22 MemberAlternativeNotFoundError(ApiComponents alternative) { in MemberAlternativeNotFoundError()
DClassAlternativeNotFoundError.java20 public final ApiComponents alternative;
22 ClassAlternativeNotFoundError(ApiComponents alternative) { in ClassAlternativeNotFoundError()