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.java37 import com.android.server.IpSecService.IResource;
66 RefcountedResource<IResource> resource, in assertResourceState()
87 private RefcountedResource<IResource> getTestRefcountedResource( in getTestRefcountedResource()
93 private RefcountedResource<IResource> getTestRefcountedResource( in getTestRefcountedResource()
97 .new RefcountedResource<IResource>(mock(IResource.class), binder, children)); in getTestRefcountedResource()
103 RefcountedResource<IResource> resource = getTestRefcountedResource(binderMock); in testConstructor()
116 RefcountedResource<IResource> childResource = getTestRefcountedResource(binderMockChild); in testConstructorWithChildren()
117 RefcountedResource<IResource> parentResource = in testConstructorWithChildren()
136 RefcountedResource<IResource> refcountedResource = getTestRefcountedResource(binderMock); in testFailLinkToDeath()
146 RefcountedResource<IResource> refcountedResource = getTestRefcountedResource(binderMock); in testCleanupAndRelease()
[all …]
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java148 public interface IResource { interface in IpSecService
187 public class RefcountedResource<T extends IResource> implements IBinder.DeathRecipient {
285 for (RefcountedResource<? extends IResource> child : mChildren) { in releaseReference()
480 private abstract class OwnedResourceRecord implements IResource {
531 static class RefcountedResourceArray<T extends IResource> {