Add additional overriding methods to signature files
This change adds overriding methods that are essential to compile the stubs generated from the signature files. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkapi Bug: 299366704 Change-Id: Idba307148fd9afa87bfb7e0c89e00d9bd97ec204
This commit is contained in:
parent
10353d5351
commit
b3c3f2e9d0
18 changed files with 3 additions and 36 deletions
|
|
@ -1,3 +1 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.net {
|
||||
|
||||
public final class TetheringConstants {
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.net {
|
||||
|
||||
public final class TetheredClient implements android.os.Parcelable {
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.app.usage {
|
||||
|
||||
public final class NetworkStats implements java.lang.AutoCloseable {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.app.usage {
|
||||
|
||||
public class NetworkStatsManager {
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.net {
|
||||
|
||||
public class TrafficStats {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.app.usage {
|
||||
|
||||
public class NetworkStatsManager {
|
||||
|
|
@ -307,6 +305,7 @@ package android.net {
|
|||
ctor public NetworkStats(long, int);
|
||||
method @NonNull public android.net.NetworkStats add(@NonNull android.net.NetworkStats);
|
||||
method @NonNull public android.net.NetworkStats addEntry(@NonNull android.net.NetworkStats.Entry);
|
||||
method public android.net.NetworkStats clone();
|
||||
method public int describeContents();
|
||||
method @NonNull public java.util.Iterator<android.net.NetworkStats.Entry> iterator();
|
||||
method @NonNull public android.net.NetworkStats subtract(@NonNull android.net.NetworkStats);
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.net {
|
||||
|
||||
public class CaptivePortal implements android.os.Parcelable {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.net {
|
||||
|
||||
public final class ConnectivityFrameworkInitializer {
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.net {
|
||||
|
||||
public class ConnectivityManager {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
package android.net {
|
||||
|
||||
public class CaptivePortal implements android.os.Parcelable {
|
||||
|
|
@ -96,6 +94,7 @@ package android.net {
|
|||
}
|
||||
|
||||
public final class DscpPolicy implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method @Nullable public java.net.InetAddress getDestinationAddress();
|
||||
method @Nullable public android.util.Range<java.lang.Integer> getDestinationPortRange();
|
||||
method public int getDscpValue();
|
||||
|
|
@ -103,6 +102,7 @@ package android.net {
|
|||
method public int getProtocol();
|
||||
method @Nullable public java.net.InetAddress getSourceAddress();
|
||||
method public int getSourcePort();
|
||||
method public void writeToParcel(@NonNull android.os.Parcel, int);
|
||||
field @NonNull public static final android.os.Parcelable.Creator<android.net.DscpPolicy> CREATOR;
|
||||
field public static final int PROTOCOL_ANY = -1; // 0xffffffff
|
||||
field public static final int SOURCE_PORT_ANY = -1; // 0xffffffff
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// Signature format: 2.0
|
||||
// - add-additional-overrides=no
|
||||
// - migrating=Migration in progress see b/299366704
|
||||
|
|
|
|||
Loading…
Reference in a new issue