Searched refs:zipClasses (Results 1 – 3 of 3) sorted by relevance
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 104 Map<String, ClassReader> zipClasses = new TreeMap<>(); in testFindClass() local 107 getDefaultAnalyzer().parseZip(MOCK_ANDROID_JAR, zipClasses, filesFound); in testFindClass() 111 zipClasses, found); in testFindClass() 154 Map<String, ClassReader> zipClasses = new TreeMap<>(); in testFindClassesDerivingFrom() local 157 getDefaultAnalyzer().parseZip(MOCK_ANDROID_JAR, zipClasses, filesFound); in testFindClassesDerivingFrom() 160 AsmAnalyzer.findClassesDerivingFrom("mock_android.view.View", zipClasses, found); in testFindClassesDerivingFrom() 179 Map<String, ClassReader> zipClasses = new TreeMap<>(); in testDependencyVisitor() local 182 getDefaultAnalyzer().parseZip(MOCK_ANDROID_JAR, zipClasses, filesFound); in testDependencyVisitor() 188 … ClassReader cr = AsmAnalyzer.findClass("mock_android.widget.LinearLayout", zipClasses, keep); in testDependencyVisitor() 189 …DependencyVisitor visitor = getDefaultAnalyzer().getVisitor(zipClasses, keep, new_keep, in_deps, o… in testDependencyVisitor()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzer.java | 136 Map<String, ClassReader> zipClasses = new TreeMap<>(); in analyze() local 139 parseZip(mOsSourceJar, zipClasses, filesFound); in analyze() 140 mLog.info("Found %d classes in input JAR%s.", zipClasses.size(), in analyze() 152 findIncludes(mLog, includePatterns, mDeriveFrom, zipClasses, entry -> { in analyze() 159 findDeps(mLog, zipClasses, found, keepEntry -> { in analyze() 276 @NotNull String[] deriveFrom, @NotNull Map<String, ClassReader> zipClasses, in findIncludes() argument 282 zipClasses.entrySet().stream() in findIncludes() 287 findClassesDerivingFrom(entry, zipClasses, found); in findIncludes() 299 static ClassReader findClass(String className, Map<String, ClassReader> zipClasses, in findClass() argument 301 ClassReader classReader = zipClasses.get(className); in findClass() [all …]
|
D | DependencyFinder.java | 75 Map<String, ClassReader> zipClasses = parseZip(osJarPath); in findDeps() local 77 zipClasses.size(), in findDeps() 80 Map<String, Set<String>> deps = findClassesDeps(zipClasses); in findDeps() 82 Map<String, Set<String>> missing = findMissingClasses(deps, zipClasses.keySet()); in findDeps() 200 Map<String, Set<String>> findClassesDeps(Map<String, ClassReader> zipClasses) { in findClassesDeps() argument 210 for (Entry<String, ClassReader> entry : zipClasses.entrySet()) { in findClassesDeps() 241 Set<String> zipClasses) { in findMissingClasses() argument 248 if (!zipClasses.contains(dep)) { in findMissingClasses()
|