OSDN Git Service

Use consistent naming for allocating SPI.
authorJonathan Basseri <misterikkit@google.com>
Thu, 16 Nov 2017 18:58:01 +0000 (10:58 -0800)
committerNathan Harold <nharold@google.com>
Tue, 12 Dec 2017 21:50:35 +0000 (13:50 -0800)
commit5fb929032de14ca78163e1d0c42c34f6fb287da4
tree5efce3a17f03238572ddc890a872ea3610be45c7
parent403c8f72e38114d0aadfd852b98b323827068e5b
Use consistent naming for allocating SPI.

Throughout the IPsec code (API, system server, netd) we use "reserve"
SPI and "allocate" SPI interchangeably. This renames to use "allocate"
everywhere for self-consistency and consistency with the kernel
(ALLOCSPI).

In javadoc, I am leaving the word "reserve" in several places because it
is still an accurate description of how the method behaves.

Bug: 69128142
Test: TreeHugger should be enough
Change-Id: I8ea603b4612303b0393beef04032671fa53d2106
api/current.txt
core/java/android/net/IIpSecService.aidl
core/java/android/net/IpSecManager.java
core/java/android/net/IpSecTransform.java
services/core/java/com/android/server/IpSecService.java
tests/net/java/android/net/IpSecManagerTest.java
tests/net/java/com/android/server/IpSecServiceParameterizedTest.java
tests/net/java/com/android/server/IpSecServiceTest.java