Searched refs:closable (Results 1 – 4 of 4) sorted by relevance
46 MockSQLiteClosable closable = new MockSQLiteClosable(); in testAcquireReference() local48 closable.acquireReference(); in testAcquireReference()49 closable.releaseReference(); in testAcquireReference()51 assertFalse(closable.isOnAllReferencesReleasedCalled()); in testAcquireReference()52 closable.releaseReference(); in testAcquireReference()54 assertTrue(closable.isOnAllReferencesReleasedCalled()); in testAcquireReference()57 closable.acquireReference(); in testAcquireReference()64 MockSQLiteClosable closable = new MockSQLiteClosable(); in testReleaseReferenceFromContainer() local66 closable.acquireReference(); in testReleaseReferenceFromContainer()67 closable.releaseReferenceFromContainer(); in testReleaseReferenceFromContainer()[all …]
48 try (AutoCloseable closable = in testPocCVE_2023_20918() argument
45 try (AutoCloseable closable = in testPocCVE_2023_21291() argument
1265 try (AutoCloseable closable = MockTestActivityUtil.launchSync( in runImeVisibilityTestWhenForceStopPackage() argument