Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java39 import com.android.server.IpSecService.IResource;
68 RefcountedResource<IResource> resource, in assertResourceState()
89 private RefcountedResource<IResource> getTestRefcountedResource( in getTestRefcountedResource()
95 private RefcountedResource<IResource> getTestRefcountedResource( in getTestRefcountedResource()
99 .new RefcountedResource<IResource>(mock(IResource.class), binder, children)); in getTestRefcountedResource()
105 RefcountedResource<IResource> resource = getTestRefcountedResource(binderMock); in testConstructor()
118 RefcountedResource<IResource> childResource = getTestRefcountedResource(binderMockChild); in testConstructorWithChildren()
119 RefcountedResource<IResource> parentResource = in testConstructorWithChildren()
148 RefcountedResource<IResource> refcountedResource = getTestRefcountedResource(binderMock); in testCleanupAndRelease()
161 RefcountedResource<IResource> refcountedResource = getTestRefcountedResource(); in testMultipleCallsToCleanupAndRelease()
[all …]
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java152 public interface IResource { interface in IpSecService
191 public class RefcountedResource<T extends IResource> implements IBinder.DeathRecipient {
290 for (RefcountedResource<? extends IResource> child : mChildren) { in releaseReference()
485 private abstract class OwnedResourceRecord implements IResource {
536 static class RefcountedResourceArray<T extends IResource> {