Home
last modified time | relevance | path

Searched refs:exceptionClass (Results 1 – 15 of 15) 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.java266 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() argument
271 assertTrue("Expected exception type " + exceptionClass.getName() + " but got " in assertThrows()
272 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass())); in assertThrows()
275 fail("Expected exception type " + exceptionClass.getName() in assertThrows()
/frameworks/base/core/java/android/net/vcn/
DIVcnStatusCallback.aidl25 in String exceptionClass, in onGatewayConnectionError() argument
DVcnManager.java742 @Nullable String exceptionClass, in onGatewayConnectionError() argument
744 final Throwable cause = createThrowableByClassName(exceptionClass, exceptionMessage); in onGatewayConnectionError()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageFreezerTest.kt70 exceptionClass: kotlin.reflect.KClass<T>, in frozenMessage()
74 assertThat(assertFailsWith(exceptionClass, block).message).contains(message) in frozenMessage()
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp70 jclass exceptionClass = env->FindClass(className); in throwException() local
71 env->ThrowNew(exceptionClass, message); in throwException()
/frameworks/base/services/core/java/com/android/server/criticalevents/
DCriticalEventLog.java220 public void logJavaCrash(String exceptionClass, int processClassEnum, String processName, in logJavaCrash() argument
223 crash.exceptionClass = exceptionClass; in logJavaCrash()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java684 @Nullable String exceptionClass, in onGatewayConnectionError() argument
712 @Nullable String exceptionClass, in onGatewayConnectionError() argument
715 gatewayConnectionName, errorCode, exceptionClass, exceptionMessage); in onGatewayConnectionError()
DVcnGatewayConnection.java1316 final String exceptionClass; in notifyStatusCallbackForSessionClosed() local
1321 exceptionClass = exception.getClass().getName(); in notifyStatusCallbackForSessionClosed()
1326 exceptionClass = IOException.class.getName(); in notifyStatusCallbackForSessionClosed()
1330 exceptionClass = RuntimeException.class.getName(); in notifyStatusCallbackForSessionClosed()
1342 + exceptionClass in notifyStatusCallbackForSessionClosed()
1349 exceptionClass, in notifyStatusCallbackForSessionClosed() local
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java532 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() argument
535 Assert.fail("Expected " + exceptionClass + " to be thrown."); in assertThrows()
537 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()
/frameworks/base/services/tests/servicestests/src/com/android/server/criticalevents/
DCriticalEventLogTest.java709 private static CriticalEventProto javaCrash(long timestampMs, String exceptionClass, in javaCrash() argument
714 event.getJavaCrash().exceptionClass = exceptionClass; in javaCrash()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java1382 @Nullable String exceptionClass, in onGatewayConnectionError() argument
1514 @Nullable String exceptionClass, in onGatewayConnectionError() argument
1530 exceptionClass, in onGatewayConnectionError()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentOrganizerControllerTest.java2098 @NonNull Class<?> exceptionClass) { in assertTaskFragmentErrorTransaction() argument
2110 assertEquals(exceptionClass, errorBundle.getSerializable( in assertTaskFragmentErrorTransaction()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...