Merge "Convert uses of @hide to block tag" into main

This commit is contained in:
Treehugger Robot 2025-09-08 04:21:26 -07:00 • committed by Android (Google) Code Review
commit 4910c42dc7
5 changed files with 159 additions and 132 deletions

View file

@ -18,7 +18,7 @@ package android.net;
/**
* Listener interface allowing objects to listen to various module event.
* {@hide}
* @hide
*/
oneway interface IIntResultListener {
void onResult(int resultCode);

View file

@ -20,7 +20,7 @@ import android.net.TetheringInterface;
/**
* Status details for tethering downstream interfaces.
* {@hide}
* @hide
*/
parcelable TetherStatesParcel {
TetheringInterface[] availableList;

View file

@ -381,7 +381,7 @@ public class TetheringManager {
* @param context Context for the manager.
* @param connectorSupplier Supplier for the manager connector; may return null while the
* service is not connected.
* {@hide}
* @hide
*/
@SystemApi(client = MODULE_LIBRARIES)
public TetheringManager(@NonNull final Context context,
@ -574,7 +574,7 @@ public class TetheringManager {
* already released.
* 2. This is not synchronous, so it's not useful to use try-with-resources.
*
* {@hide}
* @hide
*/
@SystemApi(client = MODULE_LIBRARIES)
@SuppressLint("NotCloseable")
@ -588,7 +588,7 @@ public class TetheringManager {
/**
* Callback for requestTetheredInterface.
*
* {@hide}
* @hide
*/
@SystemApi(client = MODULE_LIBRARIES)
public interface TetheredInterfaceCallback {
@ -694,7 +694,7 @@ public class TetheringManager {
* @param iface the interface name to tether.
* @return error a {@code TETHER_ERROR} value indicating success or failure type
*
* {@hide}
* @hide
*/
@Deprecated
@SystemApi(client = MODULE_LIBRARIES)
@ -729,7 +729,7 @@ public class TetheringManager {
* On SDK versions after {@link Build.VERSION_CODES.VANILLA_ICE_CREAM}, this will
* throw an UnsupportedOperationException.
*
* {@hide}
* @hide
*/
@Deprecated
@SystemApi(client = MODULE_LIBRARIES)
@ -758,7 +758,7 @@ public class TetheringManager {
* used and an entitlement check is needed, downstream USB tethering will be enabled but will
* not have any upstream.
*
* {@hide}
* @hide
*/
@Deprecated
@SystemApi(client = MODULE_LIBRARIES)
@ -1553,7 +1553,7 @@ public class TetheringManager {
* Helper function of #requestLatestTetheringEntitlementResult to remain backwards compatible
* with ConnectivityManager#getLatestTetheringEntitlementResult
*
* {@hide}
* @hide
*/
// TODO: improve the usage of ResultReceiver, b/145096122
@SystemApi(client = MODULE_LIBRARIES)

View file

@ -30,7 +30,7 @@ import java.io.IOException;
/**
* The classes and the methods for BPF utilization.
*
* {@hide}
* @hide
*/
public class BpfUtils {
static {

View file

@ -48,7 +48,7 @@ import java.util.Arrays;
/**
* The classes and the methods for tethering utilization.
*
* {@hide}
* @hide
*/
public class TetheringUtils {
static {