Searched refs:testAndCleanup (Results 1 – 6 of 6) sorted by relevance
19 import static com.android.testutils.Cleanup.testAndCleanup;40 final int a = testAndCleanup(() -> { in testNotThrow()56 testAndCleanup(() -> { in testThrowTry()72 testAndCleanup(() -> { in testThrowCleanup()88 testAndCleanup(() -> { in testThrowBoth()103 testAndCleanup(() -> { in testMultipleCleanups()
118 fun <T> testAndCleanup(tryBlock: ThrowingSupplier<T>, vararg cleanupBlock: ThrowingRunnable): T { in cleanup() method123 fun testAndCleanup(tryBlock: ThrowingRunnable, vararg cleanupBlock: ThrowingRunnable) { in testAndCleanup() method124 return testAndCleanup(ThrowingSupplier { tryBlock.run() }, *cleanupBlock) in testAndCleanup()
42 import static com.android.testutils.Cleanup.testAndCleanup;263 testAndCleanup(() -> { in testRegisterCallbackWithCarrierPrivileges() method
114 import static com.android.testutils.Cleanup.testAndCleanup;2783 testAndCleanup(() -> {2845 testAndCleanup(() -> {3253 testAndCleanup(() -> {3550 testAndCleanup(() -> {3689 testAndCleanup(() -> {3815 testAndCleanup(() -> {3903 testAndCleanup(() -> {3953 testAndCleanup(() -> {
52 import static com.android.testutils.Cleanup.testAndCleanup;899 testAndCleanup(() -> { in testChangeUnderlyingNetworks() method1846 testAndCleanup(() -> { in testBlockIncomingPackets() method1905 testAndCleanup(() -> { in testSetVpnDefaultForUids() method1974 testAndCleanup(() -> { in doTestDropPacketToVpnAddress() method
183 import static com.android.testutils.Cleanup.testAndCleanup;11438 testAndCleanup(() -> {11535 testAndCleanup(() -> {19060 testAndCleanup(() -> {