/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertVisibilityTest.java | 49 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 …]
|
D | ConvertClassTest.java | 57 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 …]
|
D | ConvertPackageTest.java | 39 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()
|
D | ConvertAnnotationTest.java | 57 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 …]
|
D | ConvertEnumTest.java | 53 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()
|
D | ConvertParameterizedTypeTest.java | 50 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()
|
D | ConvertWildcardTest.java | 47 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/ |
D | BinaryApi.java | 33 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/ |
D | DexFactory.java | 37 SigApi api = converter.convertApi(name, files, visibility); in loadApi() local 39 Iterator<IPackage> it = api.getPackages().iterator(); in loadApi() 52 return api; in loadApi()
|
D | DexToSigConverter.java | 131 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/ |
D | DexExternalizerTest.java | 35 …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/ |
D | CtsCoverage.mk | 22 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/ |
D | Android.mk | 26 LOCAL_MODULE := cts-api-coverage
|
/cts/tools/signature-tools/src/signature/model/util/ |
D | ModelUtil.java | 103 public static IPackage getPackage(IApi api, String packageName) { in getPackage() argument 104 for (IPackage aPackage : api.getPackages()) { in getPackage()
|
/cts/tools/cts-api-coverage/ |
D | Android.mk | 26 LOCAL_MODULE := cts-api-coverage
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TextReport.java | 30 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/ |
D | cts-api-coverage | 46 exec java $javaOpts -jar $libdir/cts-api-coverage.jar "$@"
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletFactory.java | 56 IApi api = converter.convertDocletRoot(name, root, visibility, in loadApi() local 58 return api; in loadApi()
|
/cts/tools/signature-tools/test/signature/converter/doclet/ |
D | DocletTestConverter.java | 70 IApi api = converter.convertDocletRoot("Doclet Test", root, visibility, packages); in convert() local 71 return api; in convert()
|
/cts/tests/SignatureTest/ |
D | Android.mk | 75 android_api_xml_description := $(intermediates.COMMON)/api.xml
|