Searched refs:refcountedResource (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceRefcountedResourceTest.java | 150 RefcountedResource<IResource> refcountedResource = getTestRefcountedResource(binderMock); in testCleanupAndRelease() local 153 refcountedResource.userRelease(); in testCleanupAndRelease() 154 assertResourceState(refcountedResource, -1, 1, 1, 1, 1); in testCleanupAndRelease() 157 verify(binderMock).unlinkToDeath(eq(refcountedResource), eq(0)); in testCleanupAndRelease() 158 assertNull(refcountedResource.mBinder); in testCleanupAndRelease() 163 RefcountedResource<IResource> refcountedResource = getTestRefcountedResource(); in testMultipleCallsToCleanupAndRelease() local 167 refcountedResource.userRelease(); in testMultipleCallsToCleanupAndRelease() 168 assertResourceState(refcountedResource, -1, 1, 1, 1, 1); in testMultipleCallsToCleanupAndRelease() 170 refcountedResource.userRelease(); in testMultipleCallsToCleanupAndRelease() 171 refcountedResource.userRelease(); in testMultipleCallsToCleanupAndRelease() [all …]
|