Searched refs:RefcountedResource (Results 1 – 4 of 4) sorted by relevance
38 import com.android.server.IpSecService.RefcountedResource;66 RefcountedResource<IResource> resource, in assertResourceState()87 private RefcountedResource<IResource> getTestRefcountedResource( in getTestRefcountedResource()88 RefcountedResource... children) { in getTestRefcountedResource()93 private RefcountedResource<IResource> getTestRefcountedResource( in getTestRefcountedResource()94 IBinder binder, RefcountedResource... children) { 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()[all …]
213 IpSecService.RefcountedResource refcountedRecord = in testSecurityParameterIndexBinderDeath()437 IpSecService.RefcountedResource refcountedRecord = in testTransportModeTransformBinderDeath()513 IpSecService.RefcountedResource refcountedRecord = in testCreateTunnelInterface()555 IpSecService.RefcountedResource refcountedRecord = in testTunnelInterfaceBinderDeath()
188 IpSecService.RefcountedResource refcountedRecord = in testUdpEncapsulationSocketBinderDeath()
187 public class RefcountedResource<T extends IResource> implements IBinder.DeathRecipient { class in IpSecService189 private final List<RefcountedResource> mChildren;193 RefcountedResource(T resource, IBinder binder, RefcountedResource... children) { in RefcountedResource() method in IpSecService.RefcountedResource199 for (RefcountedResource child : children) { in RefcountedResource()285 for (RefcountedResource<? extends IResource> child : mChildren) { in releaseReference()532 SparseArray<RefcountedResource<T>> mArray = new SparseArray<>();553 RefcountedResource<T> getRefcountedResourceOrThrow(int key) { in getRefcountedResourceOrThrow()554 RefcountedResource<T> resource = mArray.get(key); in getRefcountedResourceOrThrow()563 void put(int key, RefcountedResource<T> obj) { in put()1100 new RefcountedResource<SpiRecord>( in allocateSecurityParameterIndex()[all …]