Update signature files to the new format
The new format is described in tools/metalava/FORMAT.md.
Fixes: 116589402 Switch signature files over to the v2 format
Fixes: 112626813 Drop "synchronized" modifier from the signature format
Fixes: 122358225 Omit overriding methods that only differ in final [...]
Fixes: 73088715 API Review: Need doclava to output nullability
Fixes: 79739773 API Review: Metalava enforcing constants are constant
Exempt-From-Owner-Approval: Large-scale tooling change
Test: make sdk, make update-api, make checkapi
Change-Id: I2943d9a65c24e7ca8fb9ae9b69f7edf06173f467
diff --git a/audio/effect/5.0/xml/api/current.txt b/audio/effect/5.0/xml/api/current.txt
index 294501d..4a7f88b 100644
--- a/audio/effect/5.0/xml/api/current.txt
+++ b/audio/effect/5.0/xml/api/current.txt
@@ -1,3 +1,4 @@
+// Signature format: 2.0
package audio.effects.V5_0 {
public class Audioeffectsconf {
@@ -26,10 +27,10 @@
public class EffectImplType {
ctor public EffectImplType();
- method public java.lang.String getLibrary();
- method public java.lang.String getUuid();
- method public void setLibrary(java.lang.String);
- method public void setUuid(java.lang.String);
+ method public String getLibrary();
+ method public String getUuid();
+ method public void setLibrary(String);
+ method public void setUuid(String);
}
public class EffectProxyType extends audio.effects.V5_0.EffectType {
@@ -42,8 +43,8 @@
public class EffectType extends audio.effects.V5_0.EffectImplType {
ctor public EffectType();
- method public java.lang.String getName();
- method public void setName(java.lang.String);
+ method public String getName();
+ method public void setName(String);
}
public class EffectsType {
@@ -59,16 +60,14 @@
public static class LibrariesType.Library {
ctor public LibrariesType.Library();
- method public java.lang.String getName();
- method public java.lang.String getPath();
- method public void setName(java.lang.String);
- method public void setPath(java.lang.String);
+ method public String getName();
+ method public String getPath();
+ method public void setName(String);
+ method public void setPath(String);
}
- public final class StreamInputType extends java.lang.Enum {
- method public java.lang.String getRawName();
- method public static audio.effects.V5_0.StreamInputType valueOf(java.lang.String);
- method public static final audio.effects.V5_0.StreamInputType[] values();
+ public enum StreamInputType {
+ method public String getRawName();
enum_constant public static final audio.effects.V5_0.StreamInputType camcorder;
enum_constant public static final audio.effects.V5_0.StreamInputType mic;
enum_constant public static final audio.effects.V5_0.StreamInputType unprocessed;
@@ -79,10 +78,8 @@
enum_constant public static final audio.effects.V5_0.StreamInputType voice_uplink;
}
- public final class StreamOutputType extends java.lang.Enum {
- method public java.lang.String getRawName();
- method public static audio.effects.V5_0.StreamOutputType valueOf(java.lang.String);
- method public static final audio.effects.V5_0.StreamOutputType[] values();
+ public enum StreamOutputType {
+ method public String getRawName();
enum_constant public static final audio.effects.V5_0.StreamOutputType alarm;
enum_constant public static final audio.effects.V5_0.StreamOutputType bluetooth_sco;
enum_constant public static final audio.effects.V5_0.StreamOutputType dtmf;
@@ -114,21 +111,19 @@
public static class StreamProcessingType.Apply {
ctor public StreamProcessingType.Apply();
- method public java.lang.String getEffect();
- method public void setEffect(java.lang.String);
+ method public String getEffect();
+ method public void setEffect(String);
}
- public final class VersionType extends java.lang.Enum {
- method public java.lang.String getRawName();
- method public static audio.effects.V5_0.VersionType valueOf(java.lang.String);
- method public static final audio.effects.V5_0.VersionType[] values();
+ public enum VersionType {
+ method public String getRawName();
enum_constant public static final audio.effects.V5_0.VersionType _2_0;
}
public class XmlParser {
ctor public XmlParser();
method public static audio.effects.V5_0.Audioeffectsconf read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException;
- method public static java.lang.String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
+ method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
}
diff --git a/audio/effect/5.0/xml/api/removed.txt b/audio/effect/5.0/xml/api/removed.txt
index e69de29..d802177 100644
--- a/audio/effect/5.0/xml/api/removed.txt
+++ b/audio/effect/5.0/xml/api/removed.txt
@@ -0,0 +1 @@
+// Signature format: 2.0