Home
last modified time | relevance | path

Searched refs:api (Results 1 – 20 of 20) sorted by relevance

/cts/tools/signature-tools/test/signature/converter/
DConvertVisibilityTest.java49 IApi api = convert(Visibility.PUBLIC, src); in testVisibilityMethods1() local
50 IPackage p = ModelUtil.getPackage(api, "a"); in testVisibilityMethods1()
67 IApi api = convert(Visibility.PROTECTED, src); in testVisibilityMethods2() local
68 IPackage p = ModelUtil.getPackage(api, "a"); in testVisibilityMethods2()
85 IApi api = convert(Visibility.PACKAGE, src); in testVisibilityMethods3() local
86 IPackage p = ModelUtil.getPackage(api, "a"); in testVisibilityMethods3()
103 IApi api = convert(Visibility.PRIVATE, src); in testVisibilityMethods4() local
104 IPackage p = ModelUtil.getPackage(api, "a"); in testVisibilityMethods4()
120 IApi api = convert(Visibility.PUBLIC, src); in testVisibility1() local
121 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testVisibility1()
[all …]
DConvertClassTest.java57 IApi api = convert(new CompilationUnit("a.b.A", "package a.b; public class A{}")); in convertPackageClassTest() local
58 IPackage sigPackage = ModelUtil.getPackage(api, "a.b"); in convertPackageClassTest()
68 IApi api = convert(new CompilationUnit("a.A", "package a; public class A{}")); in convertClassClassTest() local
69 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertClassClassTest()
79 IApi api = convert(new CompilationUnit("a.A", "package a; public interface A{}")); in convertClassInterfaceTest() local
80 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertClassInterfaceTest()
90 IApi api = convert(new CompilationUnit("a.A", "package a; public enum A{}")); in convertClassEnumTest() local
91 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertClassEnumTest()
101 IApi api = convert(new CompilationUnit("a.A", "package a; public @interface A{}")); in convertClassAnnotationTest() local
102 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertClassAnnotationTest()
[all …]
DConvertPackageTest.java39 IApi api = convert(classSrc, packageSrc); in testPackageAnnotation() local
40 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testPackageAnnotation()
51 IApi api = convert(classSrc, packageSrc); in testNumberOfClasses1() local
52 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testNumberOfClasses1()
64 IApi api = convert(src); in testNumberOfClasses2() local
65 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testNumberOfClasses2()
DConvertAnnotationTest.java57 IApi api = convert(classSrc); in convertAnnotationDefinition1() local
58 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertAnnotationDefinition1()
87 IApi api = convert(classSrc); in convertAnnotationDefinition2() local
88 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertAnnotationDefinition2()
109 IApi api = convert(classSrc); in convertAnnotationDefinition3() local
110 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertAnnotationDefinition3()
137 IApi api = convert(src); in testAnnotationDefaultsInt1() local
138 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testAnnotationDefaultsInt1()
162 IApi api = convert(src); in testAnnotationDefaultsInt2() local
163 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testAnnotationDefaultsInt2()
[all …]
DConvertEnumTest.java53 IApi api = convert(new CompilationUnit("test.A", in testEnum1() local
58 IPackage sigPackage = ModelUtil.getPackage(api, "test"); in testEnum1()
89 IApi api = convert(new CompilationUnit("test.A", in testEnum2() local
95 IPackage sigPackage = ModelUtil.getPackage(api, "test"); in testEnum2()
114 IApi api = convert(new CompilationUnit("test.A", in testEnum3() local
120 IPackage sigPackage = ModelUtil.getPackage(api, "test"); in testEnum3()
157 IApi api = convert(new CompilationUnit("test.A", in testEnum4() local
163 IPackage sigPackage = ModelUtil.getPackage(api, "test"); in testEnum4()
DConvertParameterizedTypeTest.java50 IApi api = convert(new CompilationUnit("a.A", source)); in convertParameterizedType() local
51 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertParameterizedType()
74 …IApi api = convert(Visibility.PRIVATE, new CompilationUnit("a.A", clazz),new CompilationUnit("a.I"… in convertWildcardLowerBound() local
75 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertWildcardLowerBound()
DConvertWildcardTest.java47 IApi api = convert(new CompilationUnit("a.A", source)); in convertWildcardUpperBound() local
48 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertWildcardUpperBound()
76 IApi api = convert(new CompilationUnit("a.A", source)); in convertWildcardLowerBound() local
77 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertWildcardLowerBound()
/cts/tools/signature-tools/src/signature/io/impl/
DBinaryApi.java33 public void externalizeApi(String fileName, IApi api) throws IOException { in externalizeApi() argument
40 File file = new File(directory, getFileName(api)); in externalizeApi()
45 oos.writeObject(api); in externalizeApi()
51 private String getFileName(IApi api) { in getFileName() argument
52 return api.getName().replaceAll(" ", "_").concat(".sig"); in getFileName()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexFactory.java37 SigApi api = converter.convertApi(name, files, visibility); in loadApi() local
39 Iterator<IPackage> it = api.getPackages().iterator(); in loadApi()
52 return api; in loadApi()
DDexToSigConverter.java131 SigApi api = new SigApi(apiName, visibility); in convertApi() local
132 api.setPackages(convertPackages(dexFiles)); in convertApi()
134 return api; in convertApi()
/cts/tools/signature-tools/test/signature/converter/dex/
DDexExternalizerTest.java35 …IApi api = converter.convertApi("Dex Tests", DexUtil.getDexFiles(new HashSet<String>(Arrays.asList… in testExternalizer() local
38 externalizer.externalizeApi("dex-spec", api); in testExternalizer()
/cts/
DCtsCoverage.mk22 cts_api_coverage_exe := $(HOST_OUT_EXECUTABLES)/cts-api-coverage
25 coverage_out := $(HOST_OUT)/cts-api-coverage
28 api_xml_description := $(coverage_out)/api.xml
/cts/tools/cts-api-coverage/src/
DAndroid.mk26 LOCAL_MODULE := cts-api-coverage
/cts/tools/signature-tools/src/signature/model/util/
DModelUtil.java103 public static IPackage getPackage(IApi api, String packageName) { in getPackage() argument
104 for (IPackage aPackage : api.getPackages()) { in getPackage()
/cts/tools/cts-api-coverage/
DAndroid.mk26 LOCAL_MODULE := cts-api-coverage
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTextReport.java30 public static void printTextReport(ApiCoverage api, OutputStream outputStream) { in printTextReport() argument
34 List<ApiPackage> packages = new ArrayList<ApiPackage>(api.getPackages()); in printTextReport()
/cts/tools/cts-api-coverage/etc/
Dcts-api-coverage46 exec java $javaOpts -jar $libdir/cts-api-coverage.jar "$@"
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletFactory.java56 IApi api = converter.convertDocletRoot(name, root, visibility, in loadApi() local
58 return api; in loadApi()
/cts/tools/signature-tools/test/signature/converter/doclet/
DDocletTestConverter.java70 IApi api = converter.convertDocletRoot("Doclet Test", root, visibility, packages); in convert() local
71 return api; in convert()
/cts/tests/SignatureTest/
DAndroid.mk75 android_api_xml_description := $(intermediates.COMMON)/api.xml