Currently, metalava will discard concrete overrides of abstract methods from the API signature files which causes problems when attempting to generate stubs from those files and also discards information that may be important in API reviews. This change is the first step in the process of changing that behavior. This change hard codes the current behavior for discarding the concrete overrides (`add-additional-overrides=no`) into those signature files that will (or are likely) to be affected by the change in behavior. That allows the default behavior to be changed for all the other files without affecting these. Follow up changes will remove the hard coding from the signature files and will update the contents which will include the concrete overrides of the abstract methods. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkapi Bug: 299366704 Change-Id: I52c5bbe2e3bbd36019fe44fcb0b2d19876a5a869
53 lines
2.7 KiB
Plaintext
53 lines
2.7 KiB
Plaintext
// Signature format: 2.0
|
|
// - add-additional-overrides=no
|
|
// - migrating=Migration in progress see b/299366704
|
|
package android.net {
|
|
|
|
public final class TetheringConstants {
|
|
field public static final String EXTRA_ADD_TETHER_TYPE = "extraAddTetherType";
|
|
field public static final String EXTRA_PROVISION_CALLBACK = "extraProvisionCallback";
|
|
field public static final String EXTRA_REM_TETHER_TYPE = "extraRemTetherType";
|
|
field public static final String EXTRA_RUN_PROVISION = "extraRunProvision";
|
|
field public static final String EXTRA_SET_ALARM = "extraSetAlarm";
|
|
}
|
|
|
|
public class TetheringManager {
|
|
ctor public TetheringManager(@NonNull android.content.Context, @NonNull java.util.function.Supplier<android.os.IBinder>);
|
|
method public int getLastTetherError(@NonNull String);
|
|
method @NonNull public String[] getTetherableBluetoothRegexs();
|
|
method @NonNull public String[] getTetherableIfaces();
|
|
method @NonNull public String[] getTetherableUsbRegexs();
|
|
method @NonNull public String[] getTetherableWifiRegexs();
|
|
method @NonNull public String[] getTetheredIfaces();
|
|
method @NonNull public String[] getTetheringErroredIfaces();
|
|
method public boolean isTetheringSupported();
|
|
method public boolean isTetheringSupported(@NonNull String);
|
|
method public void requestLatestTetheringEntitlementResult(int, @NonNull android.os.ResultReceiver, boolean);
|
|
method @Deprecated public int setUsbTethering(boolean);
|
|
method @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void startTethering(int, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.StartTetheringCallback);
|
|
method @Deprecated public int tether(@NonNull String);
|
|
method @Deprecated public int untether(@NonNull String);
|
|
}
|
|
|
|
public static interface TetheringManager.TetheredInterfaceCallback {
|
|
method public void onAvailable(@NonNull String);
|
|
method public void onUnavailable();
|
|
}
|
|
|
|
public static interface TetheringManager.TetheredInterfaceRequest {
|
|
method public void release();
|
|
}
|
|
|
|
public static interface TetheringManager.TetheringEventCallback {
|
|
method @Deprecated public default void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInterfaceRegexps);
|
|
}
|
|
|
|
@Deprecated public static class TetheringManager.TetheringInterfaceRegexps {
|
|
method @Deprecated @NonNull public java.util.List<java.lang.String> getTetherableBluetoothRegexs();
|
|
method @Deprecated @NonNull public java.util.List<java.lang.String> getTetherableUsbRegexs();
|
|
method @Deprecated @NonNull public java.util.List<java.lang.String> getTetherableWifiRegexs();
|
|
}
|
|
|
|
}
|
|
|