summaryrefslogtreecommitdiff
path: root/framework-t/src/android/net/IpSecManager.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-12-15 07:11:59 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-12-15 07:11:59 +0000
commit25bd0064954ab46c0708fe48bbc8918f2363f694 (patch)
tree5684eb902f89fcba72ac84f9330e9d990e4ea813 /framework-t/src/android/net/IpSecManager.java
parent3ebc32d54f079646d5e34a699193b9000a2ca38b (diff)
parentef3517e6015c31397591aabb9fc7a63c9bfae09f (diff)
Merge "Fix style errors for IpSec associated files" am: f715998454 am: 47008b0fab am: ef3517e601
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1918643 Change-Id: Idc461718a9e454db6fa9ddde6625749c6f096548
Diffstat (limited to 'framework-t/src/android/net/IpSecManager.java')
-rw-r--r--framework-t/src/android/net/IpSecManager.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/framework-t/src/android/net/IpSecManager.java b/framework-t/src/android/net/IpSecManager.java
index c10680761f..837629911c 100644
--- a/framework-t/src/android/net/IpSecManager.java
+++ b/framework-t/src/android/net/IpSecManager.java
@@ -99,9 +99,9 @@ public final class IpSecManager {
/** @hide */
public interface Status {
- public static final int OK = 0;
- public static final int RESOURCE_UNAVAILABLE = 1;
- public static final int SPI_UNAVAILABLE = 2;
+ int OK = 0;
+ int RESOURCE_UNAVAILABLE = 1;
+ int SPI_UNAVAILABLE = 2;
}
/** @hide */
@@ -276,7 +276,7 @@ public final class IpSecManager {
* @param destinationAddress the destination address for traffic bearing the requested SPI.
* For inbound traffic, the destination should be an address currently assigned on-device.
* @return the reserved SecurityParameterIndex
- * @throws {@link #ResourceUnavailableException} indicating that too many SPIs are
+ * @throws ResourceUnavailableException indicating that too many SPIs are
* currently allocated for this user
*/
@NonNull
@@ -307,9 +307,9 @@ public final class IpSecManager {
* @param requestedSpi the requested SPI. The range 1-255 is reserved and may not be used. See
* RFC 4303 Section 2.1.
* @return the reserved SecurityParameterIndex
- * @throws {@link #ResourceUnavailableException} indicating that too many SPIs are
+ * @throws ResourceUnavailableException indicating that too many SPIs are
* currently allocated for this user
- * @throws {@link #SpiUnavailableException} indicating that the requested SPI could not be
+ * @throws SpiUnavailableException indicating that the requested SPI could not be
* reserved
*/
@NonNull