Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_database_SQLiteCommon.cpp163 const char* exceptionClass; in throw_sqlite3_exception() local
166 exceptionClass = "android/database/sqlite/SQLiteDiskIOException"; in throw_sqlite3_exception()
170 exceptionClass = "android/database/sqlite/SQLiteDatabaseCorruptException"; in throw_sqlite3_exception()
173 exceptionClass = "android/database/sqlite/SQLiteConstraintException"; in throw_sqlite3_exception()
176 exceptionClass = "android/database/sqlite/SQLiteAbortException"; in throw_sqlite3_exception()
179 exceptionClass = "android/database/sqlite/SQLiteDoneException"; in throw_sqlite3_exception()
183 exceptionClass = "android/database/sqlite/SQLiteFullException"; in throw_sqlite3_exception()
186 exceptionClass = "android/database/sqlite/SQLiteMisuseException"; in throw_sqlite3_exception()
189 exceptionClass = "android/database/sqlite/SQLiteAccessPermException"; in throw_sqlite3_exception()
192 exceptionClass = "android/database/sqlite/SQLiteDatabaseLockedException"; in throw_sqlite3_exception()
[all …]
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java159 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() argument
164 assertTrue("Expected exception type " + exceptionClass.getName() + " but got " in assertThrows()
165 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass())); in assertThrows()
168 fail("Expected exception type " + exceptionClass.getName() in assertThrows()
DAmbientBrightnessDayStatsTest.java159 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() argument
164 assertTrue("Expected exception type " + exceptionClass.getName() + " but got " in assertThrows()
165 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass())); in assertThrows()
168 fail("Expected exception type " + exceptionClass.getName() in assertThrows()
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp75 jclass exceptionClass = env->FindClass(className); in throwException() local
76 env->ThrowNew(exceptionClass, message); in throwException()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java510 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() argument
513 Assert.fail("Expected " + exceptionClass + " to be thrown."); in assertThrows()
515 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()