Home
last modified time | relevance | path

Searched refs:DexMember (Results 1 – 12 of 12) sorted by relevance

/cts/tests/signature/lib/common/src/android/signature/cts/
DDexApiDocumentParser.java61 private static final Function<String, DexMember> DEX_MEMBER_CONVERTER = str -> {
68 private static final BiFunction<String, Integer, DexMember> DEX_MEMBER_LINE_NUM_CONVERTER = (
77 public Stream<DexMember> parseAsStream(Object o) { in parseAsStream()
85 public Stream<DexMember> parseAsStream(InputStream inputStream) { in parseAsStream()
88 new BufferedReaderLineSpliterator<DexMember>(reader, DEX_MEMBER_LINE_NUM_CONVERTER), in parseAsStream()
92 public Stream<DexMember> parseAsStream(ByteBuffer buffer) { in parseAsStream()
95 public Stream<DexMember> parseAsStream(ByteBuffer buffer, int lineLengthEstimate) { in parseAsStream()
97 return StreamSupport.stream(new ByteBufferLineSpliterator<DexMember>(buffer, in parseAsStream()
101 public static DexMember parseLine(String line, int lineNum) throws ParseException { in parseLine()
DDexMember.java26 public abstract class DexMember { class
32 protected DexMember(String className, String name, String type, String[] flags) { in DexMember() method in DexMember
129 return Class.forName(type, /* initialize */ false, DexMember.class.getClassLoader()); in typeToClass()
DDexMethod.java24 public class DexMethod extends DexMember {
42 return mParamTypeList.stream().map(DexMember::dexToJavaType).collect(Collectors.toList()); in getJavaParameterTypes()
51 classes[i++] = DexMember.typeToClass(param); in getJavaParameterClasses()
DDexField.java18 public class DexField extends DexMember {
DClassProvider.java43 public abstract Stream<DexMember> getAllMembers(Class<?> klass); in getAllMembers()
DExcludingClassProvider.java50 public Stream<DexMember> getAllMembers(Class<?> klass) { in getAllMembers()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DBaseKillswitchTest.java22 import android.signature.cts.DexMember;
41 private final static Predicate<DexMember> METHOD_FILTER =
44 private final static Predicate<DexMember> FIELD_FILTER =
67 private void doTestKillswitchMechanism(Predicate<DexMember> memberFilter, boolean reflection, in doTestKillswitchMechanism()
72 public void classAccessible(boolean accessible, DexMember member) { in doTestKillswitchMechanism()
DHiddenApiTest.java22 import android.signature.cts.DexMember;
64 private final static Predicate<DexMember> METHOD_FILTER =
67 private final static Predicate<DexMember> FIELD_FILTER =
99 private void doTestSignature(Predicate<DexMember> memberFilter, boolean reflection, in doTestSignature()
104 public void classAccessible(boolean accessible, DexMember member) { in doTestSignature()
164 DexMember dexMember = DexApiDocumentParser.parseLine(line, lineIndex); in doTestSignature()
183 protected boolean shouldTestMember(DexMember member) { in shouldTestMember()
DBootClassPathClassesProvider.java24 import android.signature.cts.DexMember;
68 public Stream<DexMember> getAllMembers(Class<?> klass) { in getAllMembers()
79 DexMember[] members = new DexMember[field_infos[0].length + method_infos[0].length]; in getAllMembers()
/cts/tests/signature/api-check/hidden-api-blocklist-test-api/src/android/signature/cts/api/test/
DHiddenApiTest.java19 import android.signature.cts.DexMember;
28 protected boolean shouldTestMember(DexMember member) { in shouldTestMember()
/cts/tests/signature/lib/android/src/android/signature/cts/
DDexMemberChecker.java31 void classAccessible(boolean accessible, DexMember member); in classAccessible()
76 public static void checkSingleMember(DexMember dexMember, DexMemberChecker.Observer observer) { in checkSingleMember()
80 public static void checkSingleMember(DexMember dexMember, boolean reflection, boolean jni, in checkSingleMember()
148 private static Class<?> findClass(DexMember dexMember) { in findClass()
175 DexMember.typeToClass(dexField.getDexType()); in hasMatchingField_JNI()
203 Class<?> returnClass = DexMember.typeToClass(dexMethod.getDexType()); in hasMatchingMethod_Reflection()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DTestClassesProvider.java21 import android.signature.cts.DexMember;
51 public Stream<DexMember> getAllMembers(Class<?> klass) { in getAllMembers()