Home
last modified time | relevance | path

Searched refs:exceptionClass (Results 1 – 7 of 7) 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/
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()
DBrightnessConfigurationTest.java267 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() argument
272 assertTrue("Expected exception type " + exceptionClass.getName() + " but got " in assertThrows()
273 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass())); in assertThrows()
276 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/utiltests/src/com/android/internal/util/
DLocationPermissionCheckerTest.java267 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) {
270 Assert.fail("Expected " + exceptionClass + " to be thrown.");
272 assertTrue(exceptionClass.isInstance(exception));
/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()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...