summaryrefslogtreecommitdiff
path: root/framework-t/src/android/net/IpSecManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Un-finalize IpSecManagerYan Yan2022-02-081-1/+1
| | | | | | | | | | | | | Allows VCN and IKE unit tests to mock IpSecManager and thus stop depending on the hidden APIs in the Connectivity module (e.g. IpSecService binder interface). Otherwise, any changes on these related hidden APIs will require topic changes across multiple projects. Bug: 217572993 Test: make update-api Test: atest IpSecManagerTest, IpSecManagerTunnelTest Change-Id: I29f3ac96f83b4271f29a7051d33ccf47a0dd6c57
* Merge "Remove ServiceManager usage from IpSecTransform"Treehugger Robot2022-01-191-0/+24
|\
| * Remove ServiceManager usage from IpSecTransformAaron Huang2021-12-281-0/+24
| | | | | | | | | | | | | | | | | | | | | | Remove ServiceManager hidden API dependency because this class is going to be moved into mainline module. Thus have IpSecTransform calls createTransform and deleteTransform through IpSecManager to remove the ServiceManager usage. Bug: 204153604 Test: FrameworksNetTests Change-Id: Iba48da4aecac1080684d5a7e7e7ca2e31219591a
* | Add PolicyDirection InfDef annotation to IpSecManagerAaron Huang2022-01-131-1/+8
|/ | | | | | | | | | IpSec is going to be moved into Connectivity module and it needs to use PolicyDirection annotation. Add PolicyDirection IntDef annotation so that it can be used in the module. Bug: 204153604 Test: FrameworksNetTests Change-Id: Ib411d8c436d67574bfaf7f3aba43e5f31e7487e2
* Merge "Replace Preconditions.checkNotNull with Objects.requireNonNull"Treehugger Robot2021-12-221-3/+2
|\
| * Replace Preconditions.checkNotNull with Objects.requireNonNullAaron Huang2021-12-221-3/+2
| | | | | | | | | | | | | | | | | | | | IpSec service is going to be moved into Connectivity module. Replace Preconditions.checkNotNull with Objects.requireNonNull to remove hidden API usages. Bug: 204153604 Test: FrameworksNetTests Change-Id: Iff7f76844d4126b0e17b62b4ce821449b5b6ce44
* | Make IpSecManager.DIRECTION_FWD @SystemApiAaron Huang2021-12-191-0/+1
|/ | | | | | | | | | | IpSecManager.DIRECTION_FWD is used by VcnGatewayConnection and it will be not visible to platform after IpSec was moved into Connectivity mainline module. Therefore, make DIRECTION_FWD @SystemApi so that it can be used by VcnGatewayConnection. Bug: 204153604 Test: FrameworksNetTests Change-Id: I80dc2a5b4940504820cee0d8e2d2e59ef3fcca18
* Fix style errors for IpSec associated filesAaron Huang2021-12-141-6/+6
| | | | | | Bug: 204153604 Test: build pass. Change-Id: I940de8bef7f693dcce8808148a975bea1f36712c
* Move IpSec associated files to f/b/packages/ConnectivityTAaron Huang2021-12-141-0/+1034
IpSecService is going to be moved into Connectivity mainline module. Move all ipsec associated files to packages/ConnectivityT so that it can be easily migrate these files to connectivity module after clearing the hidden API usages. Bug: 204153604 Test: build pass FrameworksNetTests CtsNetTestCases Change-Id: I562b47f18e345988a2638cf886f86818f9144b91