Home
last modified time | relevance | path

Searched refs:packageAndClassName (Results 1 – 2 of 2) sorted by relevance

/tools/platform-compat/javatest/com/android/class2nonsdklist/
DApiComponentsTest.java33 PackageAndClassName packageAndClassName = api.getPackageAndClassName(); in testGetApiComponentsPackageFromSignature() local
34 assertThat(packageAndClassName.packageName).isEqualTo("a.b"); in testGetApiComponentsPackageFromSignature()
40 PackageAndClassName packageAndClassName = api.getPackageAndClassName(); in testGetApiComponentsFromSignature() local
41 assertThat(packageAndClassName.className).isEqualTo("C"); in testGetApiComponentsFromSignature()
88 PackageAndClassName packageAndClassName = api.getPackageAndClassName(); in testGetApiComponentsFromFieldLink() local
89 assertThat(packageAndClassName.packageName).isEqualTo("a.b"); in testGetApiComponentsFromFieldLink()
90 assertThat(packageAndClassName.className).isEqualTo("C"); in testGetApiComponentsFromFieldLink()
97 PackageAndClassName packageAndClassName = api.getPackageAndClassName(); in testGetApiComponentsLinkOnlyClass() local
98 assertThat(packageAndClassName.packageName).isEqualTo("b.c"); in testGetApiComponentsLinkOnlyClass()
99 assertThat(packageAndClassName.className).isEqualTo("D"); in testGetApiComponentsLinkOnlyClass()
[all …]
/tools/platform-compat/java/com/android/class2nonsdklist/
DApiComponents.java35 private ApiComponents(PackageAndClassName packageAndClassName, String memberName, in ApiComponents() argument
37 mPackageAndClassName = packageAndClassName; in ApiComponents()
202 PackageAndClassName packageAndClassName = in fromDexSignature() local
228 return new ApiComponents(packageAndClassName, memberName, methodParameterTypes); in fromDexSignature()
260 PackageAndClassName packageAndClassName = in fromLinkTag() local
263 if (packageAndClassName.packageName.isEmpty()) { in fromLinkTag()
264 packageAndClassName.packageName = contextAlternative.getPackageAndClassName() in fromLinkTag()
268 if (packageAndClassName.className.isEmpty()) { in fromLinkTag()
269 packageAndClassName.className = contextAlternative.getPackageAndClassName() in fromLinkTag()
275 return new ApiComponents(packageAndClassName, "", ""); in fromLinkTag()
[all …]