android_packages_modules_Co.../tests/net/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Benedict Wong c926bdefee 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
2017-12-12 23:40:52 -08:00
..
internal Migrate most of core networking tests to junit4 2017-10-12 15:26:09 +09:00
server Add reference counted resources to IpSecService 2017-12-12 23:40:52 -08:00