diff options
author | Benedict Wong <benedictwong@google.com> | 2017-10-26 19:41:43 -0700 |
---|---|---|
committer | Benedict Wong <benedictwong@google.com> | 2017-12-12 23:40:52 -0800 |
commit | 409c8ca7beabb98340d0c579ff134ec07f21b865 (patch) | |
tree | 59f61b9857d5de6ca8234ea69e7c850865df2b82 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 06e314f6cc0d629f59579f8bd549915580f79b4b (diff) |
Add reference counted resources to IpSecService
This patch adds (but does not enable the usage of) RefcountedResource
objects to IpSecService, with tests to ensure correct function. This is
patch 1 of a series of patches to refactor the resource management
systems in IpSecService.
RefcountedResource objects allow for management of acyclical dependency
trees, ensuring eventual cleanup when resources are no longer used. This
cleanup may be triggered by binder death or by explicit user action.
Bug: 63409385
Test: New tests written in IpSecServiceRefcountedResourceTest,
explicitly testing the RefcountedResource class
Change-Id: Ib5be7482b2ef5f1c8dec9be68f15e90d8b3aba6d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions