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.java40 import com.android.server.IpSecService.IResource;
70 RefcountedResource<IResource> resource, in assertResourceState()
91 private RefcountedResource<IResource> getTestRefcountedResource( in getTestRefcountedResource()
97 private RefcountedResource<IResource> getTestRefcountedResource( in getTestRefcountedResource()
101 .new RefcountedResource<IResource>(mock(IResource.class), binder, children)); in getTestRefcountedResource()
107 RefcountedResource<IResource> resource = getTestRefcountedResource(binderMock); in testConstructor()
120 RefcountedResource<IResource> childResource = getTestRefcountedResource(binderMockChild); in testConstructorWithChildren()
121 RefcountedResource<IResource> parentResource = in testConstructorWithChildren()
150 RefcountedResource<IResource> refcountedResource = getTestRefcountedResource(binderMock); in testCleanupAndRelease()
163 RefcountedResource<IResource> refcountedResource = getTestRefcountedResource(); in testMultipleCallsToCleanupAndRelease()
[all …]
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java155 public interface IResource { interface in IpSecService
194 public class RefcountedResource<T extends IResource> implements IBinder.DeathRecipient {
293 for (RefcountedResource<? extends IResource> child : mChildren) { in releaseReference()
492 private abstract class OwnedResourceRecord implements IResource {
543 static class RefcountedResourceArray<T extends IResource> {