Searched refs:DexMember (Results 1 – 12 of 12) sorted by relevance
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | DexApiDocumentParser.java | 61 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()
|
D | DexMember.java | 26 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()
|
D | DexMethod.java | 24 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()
|
D | DexField.java | 18 public class DexField extends DexMember {
|
D | ClassProvider.java | 43 public abstract Stream<DexMember> getAllMembers(Class<?> klass); in getAllMembers()
|
D | ExcludingClassProvider.java | 50 public Stream<DexMember> getAllMembers(Class<?> klass) { in getAllMembers()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | BaseKillswitchTest.java | 22 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()
|
D | HiddenApiTest.java | 22 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()
|
D | BootClassPathClassesProvider.java | 24 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/ |
D | HiddenApiTest.java | 19 import android.signature.cts.DexMember; 28 protected boolean shouldTestMember(DexMember member) { in shouldTestMember()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | DexMemberChecker.java | 31 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/ |
D | TestClassesProvider.java | 21 import android.signature.cts.DexMember; 51 public Stream<DexMember> getAllMembers(Class<?> klass) { in getAllMembers()
|