Convert uses of @hide to block tag

In most places the `@hide` doctag is treated as a block tag on its own
line. However, there are a few places where it is treated as an inline
doctag, e,g. `{@hide}`, and some places where it looks like a block
tag but is inline in the text, e.g. `Some text. @hide`. Dealing with
all the types increases the complexity of Metalava and makes it
slightly slower.

This change replaces the non-block tag forms with a block tag.

Flag: EXEMPT change the form of @hide does not change the API or behavior
Bug: 429965593
Test: m checkapi
Change-Id: I4ffe44a329dbcb7f0a7bd61af16c3bd99cacdac4
This commit is contained in:
Paul Duffin 2025-08-29 16:26:42 +00:00
commit 6eaa841657
18 changed files with 159 additions and 132 deletions

View file

@ -25,7 +25,7 @@ import java.io.IOException;
/**
* The classes and the methods for BPF utilization.
*
* {@hide}
* @hide
*/
@RequiresApi(Build.VERSION_CODES.TIRAMISU)
public class BpfUtils {

View file

@ -28,7 +28,7 @@ import android.net.TetherStatsParcel;
import android.net.UidRangeParcel;
import android.net.netd.aidl.NativeUidRangeConfig;
/** {@hide} */
/** @hide */
interface INetd {
/**
* Returns true if the service is responding.

View file

@ -21,7 +21,7 @@ package android.net;
* This one-way interface groups asynchronous notifications sent
* by netd to any process that registered itself via INetd.registerUnsolEventListener.
*
* {@hide}
* @hide
*/
oneway interface INetdUnsolicitedEventListener {

View file

@ -19,7 +19,7 @@ package android.net;
/**
* Configuration details for a network interface.
*
* {@hide}
* @hide
*/
parcelable InterfaceConfigurationParcel {
@utf8InCpp String ifName;

View file

@ -19,7 +19,7 @@ package android.net;
/**
* Structure that stores a firewall mark and its mask.
*
* {@hide}
* @hide
*/
parcelable MarkMaskParcel {
// The fwmark.

View file

@ -22,7 +22,7 @@ import android.net.NativeVpnType;
/**
* The configuration to create a network.
*
* {@hide}
* @hide
*/
@JavaDerive(toString=true, equals=true)
@JavaOnlyImmutable

View file

@ -19,7 +19,7 @@ package android.net;
/**
* The configuration to start tethering.
*
* {@hide}
* @hide
*/
parcelable TetherConfigParcel {
// Whether to enable or disable legacy DNS proxy server.

View file

@ -19,7 +19,7 @@ package android.net;
/**
* Represents a forwarding rule for tethering offload.
*
* {@hide}
* @hide
*/
parcelable TetherOffloadRuleParcel {
/** The interface index of the input interface. */

View file

@ -19,7 +19,7 @@ package android.net;
/**
* The statistics of tethering interface
*
* {@hide}
* @hide
*/
parcelable TetherStatsParcel {
/**

View file

@ -19,7 +19,7 @@ package android.net;
/**
* An inclusive range of UIDs.
*
* {@hide}
* @hide
*/
@JavaOnlyImmutable @JavaDerive(toString=true, equals=true)
parcelable UidRangeParcel {

View file

@ -33,7 +33,7 @@ package android.net.mdns.aidl;
* - netId
* - result
*
* {@hide}
* @hide
*/
@JavaOnlyImmutable
@JavaDerive(equals=true, toString=true)

View file

@ -32,7 +32,7 @@ package android.net.mdns.aidl;
* - address
* - result
*
* {@hide}
* @hide
*/
@JavaOnlyImmutable
@JavaDerive(equals=true, toString=true)

View file

@ -22,7 +22,7 @@ import android.net.mdns.aidl.IMDnsEventListener;
import android.net.mdns.aidl.RegistrationInfo;
import android.net.mdns.aidl.ResolutionInfo;
/** {@hide} */
/** @hide */
interface IMDns {
/**
* Start the MDNSResponder daemon.

View file

@ -26,7 +26,7 @@ import android.net.mdns.aidl.ResolutionInfo;
* This one-way interface defines the asynchronous notifications sent by mdns service to any process
* that registered itself via IMDns.registerEventListener.
*
* {@hide}
* @hide
*/
oneway interface IMDnsEventListener {
/**

View file

@ -33,7 +33,7 @@ package android.net.mdns.aidl;
* - registrationType
* - result
*
* {@hide}
* @hide
*/
@JavaOnlyImmutable
@JavaDerive(equals=true, toString=true)

View file

@ -35,7 +35,7 @@ package android.net.mdns.aidl;
* - interfaceIdx
* - result
*
* {@hide}
* @hide
*/
@JavaOnlyImmutable
@JavaDerive(equals=true, toString=true)

View file

@ -19,7 +19,7 @@ package android.net.metrics;
/**
* Logs netd events.
*
* {@hide}
* @hide
*/
oneway interface INetdEventListener {
const int EVENT_GETADDRINFO = 1;

View file

@ -21,7 +21,7 @@ import android.net.UidRangeParcel;
/**
* The configuration to add or remove UID ranges.
*
* {@hide}
* @hide
*/
@JavaDerive(toString=true, equals=true)
@JavaOnlyImmutable