OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RefcountedResource
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/tests/net/java/com/android/server/
IpSecServiceRefcountedResourceTest.java
38
import com.android.server.IpSecService.
RefcountedResource
;
50
/** Unit tests for {@link IpSecService.
RefcountedResource
}. */
66
RefcountedResource
<IResource> resource,
73
// Check refcount on
RefcountedResource
76
// Check call count of
RefcountedResource
87
private
RefcountedResource
<IResource> getTestRefcountedResource(
88
RefcountedResource
... children) {
93
private
RefcountedResource
<IResource> getTestRefcountedResource(
94
IBinder binder,
RefcountedResource
... children) {
97
.new
RefcountedResource
<IResource>(mock(IResource.class), binder, children))
[
all
...]
IpSecServiceParameterizedTest.java
190
// Verify quota and
RefcountedResource
objects cleaned up
213
IpSecService.
RefcountedResource
refcountedRecord =
227
// Verify quota and
RefcountedResource
objects cleaned up
398
// Verify quota and
RefcountedResource
objects cleaned up
437
IpSecService.
RefcountedResource
refcountedRecord =
452
// Verify quota and
RefcountedResource
objects cleaned up
513
IpSecService.
RefcountedResource
refcountedRecord =
537
// Verify quota and
RefcountedResource
objects cleaned up
555
IpSecService.
RefcountedResource
refcountedRecord =
561
// Verify quota and
RefcountedResource
objects cleaned u
[
all
...]
IpSecServiceTest.java
169
// Verify quota and
RefcountedResource
objects cleaned up
188
IpSecService.
RefcountedResource
refcountedRecord =
194
// Verify quota and
RefcountedResource
objects cleaned up
/frameworks/base/services/core/java/com/android/server/
IpSecService.java
158
* <p>References to the IResource object may be held by other
RefcountedResource
objects,
167
* tracked by the IResource object. Due to other
RefcountedResource
objects potentially
175
*
RefcountedResource
manages references and dependencies in an exclusively acyclic graph.
177
* <p>
RefcountedResource
implements both explicit and implicit resource management. Creating a
178
*
RefcountedResource
object creates an explicit reference that must be freed by calling
179
* userRelease(). Additionally, adding this object as a child of another
RefcountedResource
187
public class
RefcountedResource
<T extends IResource> implements IBinder.DeathRecipient {
189
private final List<
RefcountedResource
> mChildren;
193
RefcountedResource
(T resource, IBinder binder,
RefcountedResource
... children)
[
all
...]
Completed in 344 milliseconds