Home
last modified time | relevance | path

Searched refs:SignatureSyntaxError (Results 1 – 5 of 5) sorted by relevance

/tools/platform-compat/javatest/com/android/class2nonsdklist/
DApiComponentsTest.java31 public void testGetApiComponentsPackageFromSignature() throws SignatureSyntaxError { in testGetApiComponentsPackageFromSignature()
38 public void testGetApiComponentsFromSignature() throws SignatureSyntaxError { in testGetApiComponentsFromSignature()
47 public void testInvalidDexSignatureInvalidClassFormat() throws SignatureSyntaxError { in testInvalidDexSignatureInvalidClassFormat()
48 assertThrows(SignatureSyntaxError.class, () -> { in testInvalidDexSignatureInvalidClassFormat()
51 assertThrows(SignatureSyntaxError.class, () -> { in testInvalidDexSignatureInvalidClassFormat()
57 public void testInvalidDexSignatureInvalidParameterType() throws SignatureSyntaxError { in testInvalidDexSignatureInvalidParameterType()
58 assertThrows(SignatureSyntaxError.class, () -> { in testInvalidDexSignatureInvalidParameterType()
64 public void testInvalidDexSignatureInvalidReturnType() throws SignatureSyntaxError { in testInvalidDexSignatureInvalidReturnType()
65 assertThrows(SignatureSyntaxError.class, () -> { in testInvalidDexSignatureInvalidReturnType()
71 public void testInvalidDexSignatureMissingReturnType() throws SignatureSyntaxError { in testInvalidDexSignatureMissingReturnType()
[all …]
DApiResolverTest.java68 throws SignatureSyntaxError { in testFindPublicAlternativeWarnsOnMultipleParameterTypes()
/tools/platform-compat/java/com/android/class2nonsdklist/
DApiComponents.java75 throws SignatureSyntaxError, StringCursorOutOfBoundsException { in parseJNIClassDescriptor()
77 throw new SignatureSyntaxError( in parseJNIClassDescriptor()
85 throw new SignatureSyntaxError("Expected semicolon at the end of JNI class descriptor", in parseJNIClassDescriptor()
101 throws SignatureSyntaxError, StringCursorOutOfBoundsException { in parseJNIPrimitiveType()
121 throw new SignatureSyntaxError(c + " is not a primitive type!", sc); in parseJNIPrimitiveType()
132 throws SignatureSyntaxError, StringCursorOutOfBoundsException { in parseJniTypeWithoutArrayDimensions()
139 throw new SignatureSyntaxError("Illegal token " + c + " within signature", sc); in parseJniTypeWithoutArrayDimensions()
152 throws SignatureSyntaxError, StringCursorOutOfBoundsException { in parseJniType()
175 throws SignatureSyntaxError, StringCursorOutOfBoundsException { in convertJNIMethodParametersToJavadoc()
197 public static ApiComponents fromDexSignature(String signature) throws SignatureSyntaxError { in fromDexSignature()
[all …]
DSignatureSyntaxError.java19 public class SignatureSyntaxError extends Exception { class
23 public SignatureSyntaxError(String expected, StringCursor sc) { in SignatureSyntaxError() method in SignatureSyntaxError
DApiResolver.java46 } catch (SignatureSyntaxError e) { in ApiResolver()