Home
last modified time | relevance | path

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

/packages/services/Car/tests/BugReportApp/tests/src/com/android/car/bugreport/
DBugStorageUtilsTest.java243 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() argument
248 assertTrue("Expected exception type " + exceptionClass.getName() + " but got " in assertThrows()
249 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass())); in assertThrows()
252 fail("Expected exception type " + exceptionClass.getName() in assertThrows()
/packages/modules/SdkExtensions/javatests/com/android/sdkext/extensions/apps/
DReceiver.java103 private static void expectException(Class exceptionClass, String type, Runnable runnable) { in expectException() argument
109 if (!e.getClass().equals(exceptionClass)) { in expectException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DRetryStrategyTest.java101 RetryStrategyTestHelper test, Class<? extends Exception> exceptionClass) { in retryAndWaitForException() argument
114 Truth.assertThat(exception).hasCauseThat().isInstanceOf(exceptionClass); in retryAndWaitForException()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayloadTest.java274 int errorType, Class<T> exceptionClass) throws Exception { in verifyValidateAndBuildIkeExceptionWithoutData() argument
277 payload.validateAndBuildIkeException(), errorType, exceptionClass); in verifyValidateAndBuildIkeExceptionWithoutData() local
281 IkeProtocolException exception, int errorType, Class<T> exceptionClass) in verifyIkeExceptionWithoutData() argument
283 assertTrue(exceptionClass.isInstance(exception)); in verifyIkeExceptionWithoutData()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java262 String exceptionClass = t.getClass().getSimpleName(); in throwableToFailedResult() local
275 return AppSearchResult.newFailedResult(resultCode, exceptionClass + ": " + t.getMessage()); in throwableToFailedResult()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DLocationPermissionCheckerTest.java307 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) {
310 Assert.fail("Expected " + exceptionClass + " to be thrown.");
312 assertTrue(exceptionClass.isInstance(exception));
/packages/modules/OnDevicePersonalization/tests/cts/service/src/com/android/ondevicepersonalization/testing/sampleservice/
DSampleWorker.java396 String exceptionClass = in createException() local
399 var clazz = Class.forName(exceptionClass); in createException()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java707 IState state, Class<T> exceptionClass, int metricsExceptionType) { in verifyHandleFatalErrorAndQuit() argument
712 verify(mMockChildSessionCallback).onClosedWithException(any(exceptionClass)); in verifyHandleFatalErrorAndQuit()
895 Class<? extends IkeException> exceptionClass, in verifyNotifyUsersDeleteSession() argument
905 if (exceptionClass == null) { in verifyNotifyUsersDeleteSession()
910 .onClosedWithException(any(exceptionClass)); in verifyNotifyUsersDeleteSession()
1361 Class<T> exceptionClass, IState expectedState, int expectedErrorCode) { in verifyIkeSessionFatalErrorAndSendOutboundIkeDeletePayload() argument
1365 verify(mMockChildSessionSmCallback).onFatalIkeSessionError(any(exceptionClass)); in verifyIkeSessionFatalErrorAndSendOutboundIkeDeletePayload()
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...