Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DConnectivityManagerTest.java292 expectThrowable(() -> manager.requestNetwork(request, callback), wantException); in noDoubleCallbackRegistration()
357 static void expectThrowable(Runnable block, Class<? extends Throwable> throwableType) { in expectThrowable() method in ConnectivityManagerTest