diff options
author | Benedict Wong <benedictwong@google.com> | 2017-11-16 15:27:22 -0800 |
---|---|---|
committer | Benedict Wong <benedictwong@google.com> | 2017-12-13 23:28:41 +0000 |
commit | 344bd62a31d844781f0b73267dbf4a9b2a0b7341 (patch) | |
tree | 84191d4789bb7dad87c9461dad8d0ba6103f4cde /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8244ebfc4ee302d40fc38211ca2fa4f8d27918b2 (diff) |
Convert IpSecService resources to use refcounting
This is part 2 of 2 of the refcounting refactor for IpSecService
resources.
Switched ManagedResources to use RefcountedResource structure for
managing reference counts and eventual cleanup. Further, resource arrays
and quota management have been aggregated into a UserRecord for better
isolation. UID access checking has been similarly moved into the
UserRecordTracker, and resourceId checking has been rolled into
RefcountedResourceArray's accessor methods.
Bug: 63409385
Test: CTS, all unit tests run on aosp_marlin-eng, new tests added
Change-Id: Iee52dd1c9d2583bb6bfaf65be87569e9d50a5b63
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions