Searched refs:parentResource (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceRefcountedResourceTest.java | 119 RefcountedResource<IResource> parentResource = in testConstructorWithChildren() local 123 assertResourceState(parentResource, 1, 0, 0, 0, 0); in testConstructorWithChildren() 200 RefcountedResource<IResource> parentResource = getTestRefcountedResource(childResource); in testCleanupParentDecrementsChildRefcount() local 202 parentResource.userRelease(); in testCleanupParentDecrementsChildRefcount() 207 assertResourceState(parentResource, -1, 1, 1, 1, 1); in testCleanupParentDecrementsChildRefcount() 213 RefcountedResource<IResource> parentResource = getTestRefcountedResource(childResource); in testCleanupReferencedChildDoesNotTriggerRelease() local 219 assertResourceState(parentResource, 1, 0, 0, 0, 0); in testCleanupReferencedChildDoesNotTriggerRelease() 245 RefcountedResource<IResource> parentResource = in testTwoChildren() local 252 parentResource.userRelease(); in testTwoChildren()
|