HomeSort by relevance Sort by last modified time
    Searched refs:exceptionClass (Results 1 - 25 of 140) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/jni/
android_database_SQLiteCommon.cpp 163 const char* exceptionClass;
166 exceptionClass = "android/database/sqlite/SQLiteDiskIOException";
170 exceptionClass = "android/database/sqlite/SQLiteDatabaseCorruptException";
173 exceptionClass = "android/database/sqlite/SQLiteConstraintException";
176 exceptionClass = "android/database/sqlite/SQLiteAbortException";
179 exceptionClass = "android/database/sqlite/SQLiteDoneException";
183 exceptionClass = "android/database/sqlite/SQLiteFullException";
186 exceptionClass = "android/database/sqlite/SQLiteMisuseException";
189 exceptionClass = "android/database/sqlite/SQLiteAccessPermException";
192 exceptionClass = "android/database/sqlite/SQLiteDatabaseLockedException"
    [all...]
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
CtsTestUtils.java 27 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) {
32 if (exceptionClass.isInstance(e)) {
  /libcore/luni/src/main/native/
IcuUtilities.cpp 58 const char* exceptionClass = "java/lang/RuntimeException";
60 exceptionClass = "java/lang/IllegalArgumentException";
62 exceptionClass = "java/lang/ArrayIndexOutOfBoundsException";
64 exceptionClass = "java/lang/UnsupportedOperationException";
66 exceptionClass = "java/lang/ArithmeticException";
68 jniThrowExceptionFmt(env, exceptionClass, "%s failed: %s", function, u_errorName(error));
java_util_regex_Pattern.cpp 65 jclass exceptionClass = JniConstants::patternSyntaxExceptionClass;
66 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset);
  /art/test/1927-exception-event/src/art/
Exceptions.java 25 Class<?> exceptionClass,
  /art/test/1928-exception-event-exception/src/art/
Exceptions.java 25 Class<?> exceptionClass,
  /art/test/1929-exception-catch-exception/src/art/
Exceptions.java 25 Class<?> exceptionClass,
  /dalvik/dexgen/src/com/android/dexgen/rop/
ByteCatchList.java 85 * @param exceptionClass {@code null-ok;} the exception class or
89 CstType exceptionClass) {
90 set0(n, new Item(startPc, endPc, handlerPc, exceptionClass));
235 private final CstType exceptionClass;
245 * @param exceptionClass {@code null-ok;} the exception class or
249 CstType exceptionClass) {
265 this.exceptionClass = exceptionClass;
303 return (exceptionClass != null) ?
304 exceptionClass : CstType.OBJECT
    [all...]
  /dalvik/dx/src/com/android/dx/cf/code/
ByteCatchList.java 85 * @param exceptionClass {@code null-ok;} the exception class or
89 CstType exceptionClass) {
90 set0(n, new Item(startPc, endPc, handlerPc, exceptionClass));
235 private final CstType exceptionClass;
245 * @param exceptionClass {@code null-ok;} the exception class or
249 CstType exceptionClass) {
265 this.exceptionClass = exceptionClass;
303 return (exceptionClass != null) ?
304 exceptionClass : CstType.OBJECT
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/file/
LinuxFileSystemTestData.java 77 public Class exceptionClass;
85 TestData(Class exceptionClass, String input, String... inputArray) {
86 this.exceptionClass = exceptionClass;
PathsTest.java 49 assertEquals(exceptionTestCase.exceptionClass, expected.getClass());
69 assertEquals(exceptionTestCase.exceptionClass, expected.getClass());
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMemoryMappedFile.java 35 throw (Throwable) exceptionClass().getConstructor(String.class, int.class)
44 throw (Throwable) exceptionClass().getConstructor(String.class, int.class, Throwable.class)
52 private static Class exceptionClass() {
  /libnativehelper/
JNIHelp.cpp 170 scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail
172 (*env)->GetObjectClass(e, exceptionClass.get())); // java.lang.Class, can't fail
176 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod));
193 (*env)->GetMethodID(e, exceptionClass.get(), "getMessage", "()Ljava/lang/String;");
249 scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail
251 (*env)->GetMethodID(e, exceptionClass.get(), "printStackTrace", "(Ljava/io/PrintWriter;)V");
290 scoped_local_ref<jclass> exceptionClass(env, findClass(env, className));
291 if (exceptionClass.get() == NULL) {
297 if ((*env)->ThrowNew(e, exceptionClass.get(), msg) != JNI_OK) {
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
SmaliClassTest.java 137 PsiClass exceptionClass = exceptionType.resolve();
138 Assert.assertNotNull(exceptionClass);
144 Assert.assertTrue(smaliClass.isInheritor(exceptionClass, true));
148 Assert.assertTrue(smaliClass.isInheritorDeep(exceptionClass, null));
152 Assert.assertTrue(smaliClass.isInheritor(exceptionClass, false));
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
JSR166TestCase.java 815 final Class<?> exceptionClass;
817 <T extends Throwable> RunnableShouldThrow(Class<T> exceptionClass) {
818 this.exceptionClass = exceptionClass;
824 threadShouldThrow(exceptionClass.getSimpleName());
826 if (! exceptionClass.isInstance(t))
835 final Class<?> exceptionClass;
837 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) {
838 this.exceptionClass = exceptionClass;
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
Futures.java     [all...]
  /external/oj-libjdwp/src/share/back/
eventFilter.h 53 jclass exceptionClass,
  /frameworks/base/core/tests/coretests/src/android/hardware/display/
AmbientBrightnessDayStatsTest.java 158 private static void assertThrows(Class<? extends Throwable> exceptionClass,
163 assertTrue("Expected exception type " + exceptionClass.getName() + " but got "
164 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass()));
167 fail("Expected exception type " + exceptionClass.getName()
BrightnessConfigurationTest.java 175 private static void assertThrows(Class<? extends Throwable> exceptionClass,
180 assertTrue("Expected exception type " + exceptionClass.getName() + " but got "
181 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass()));
184 fail("Expected exception type " + exceptionClass.getName()
  /external/kotlinc/lib/
kotlin-test.jar 
  /external/compiler-rt/lib/builtins/
gcc_personality_v0.c 168 uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject,
178 uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject,
  /frameworks/base/packages/PrintSpooler/jni/
com_android_printspooler_util_BitmapSerializeUtils.cpp 75 jclass exceptionClass = env->FindClass(className);
76 env->ThrowNew(exceptionClass, message);
  /libcore/jsr166-tests/src/test/java/jsr166/
JSR166TestCase.java     [all...]
  /tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
PsiMethodItem.kt 182 val exceptionClass = codebase.getType(type).asClass()
183 if (exceptionClass != null && !isCaught(exceptionClass, node)) {
184 exceptions.add(exceptionClass)
190 private fun isCaught(exceptionClass: ClassItem, node: UThrowExpression): Boolean {
200 if (exceptionClass.extends(qualifiedName)) {
  /dalvik/dx/src/com/android/dx/command/dump/
BlockDumper.java 252 CstType exceptionClass = one.getExceptionClass();
255 ((exceptionClass == CstType.OBJECT) ? "<any>" :
256 exceptionClass.toHuman()) + " -> " +

Completed in 1240 milliseconds

1 2 3 4 5 6