/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcFrameworkInitializerTest.java | 44 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() argument 47 fail("Expected " + exceptionClass + " to be thrown."); in assertThrows() 49 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothFrameworkInitializerTest.java | 55 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() argument 58 fail("Expected " + exceptionClass + " to be thrown."); in assertThrows() 60 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/ |
D | SystemServerException.java | 28 String exceptionClass, String exceptionMessage, in SystemServerException() argument 30 super(exceptionClass + ": " + exceptionMessage, cause); in SystemServerException()
|
D | Logcat.java | 142 String exceptionClass = exceptionTitlePaths[0]; in findSystemServerExceptions() local 145 if (exceptionClass.equals(t.getClass().getName())) { in findSystemServerExceptions() 163 exceptionClass, exceptionMessage, traceLines, t)); in findSystemServerExceptions() 179 String exceptionClass, String exceptionMessage, List<String> traceLines, in extractStackTraceFromStrings() argument 185 exceptionClass, exceptionMessage, traceElements, cause); in extractStackTraceFromStrings()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | CtsTestUtils.java | 33 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) { in assertThrows() argument 38 if (exceptionClass.isInstance(e)) { in assertThrows()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/ |
D | TaskFragmentTrustedModeTest.java | 253 @NonNull Class<? extends Throwable> exceptionClass) { in assertTaskFragmentError() argument 255 assertThat(mTaskFragmentOrganizer.getThrowable()).isInstanceOf(exceptionClass); in assertTaskFragmentError()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | ServiceStateTest.java | 466 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() argument 469 Assert.fail("Expected " + exceptionClass + " to be thrown."); in assertThrows() 471 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerStartShortcutTest.java | 84 Class<? extends Throwable> exceptionClass) { in assertShortcutCantStart() argument 86 assertExpectException(exceptionClass, "", () -> { in assertShortcutCantStart()
|
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/ |
D | VehiclePropertyVerifier.java | 574 Class<? extends Throwable> exceptionClass, int propertyId, int areaId) { in assertGetPropertyThrowsException() argument 575 assertThrows(msg, exceptionClass, in assertGetPropertyThrowsException() 577 assertThrows(msg, exceptionClass, in assertGetPropertyThrowsException() 579 assertThrows(msg, exceptionClass, in assertGetPropertyThrowsException() 581 assertThrows(msg, exceptionClass, in assertGetPropertyThrowsException() 583 assertThrows(msg, exceptionClass, in assertGetPropertyThrowsException()
|