Baseline NewApi issues
NewApi is a lint check that you don't call framework methods that were introduced in versions later than your min_sdk_version. We want to make this an error, so we're baselineing all existing issues. This cl was generated automatically, by taking all the NewApi issues from the reference baselines, and all the non-NewApi issues from the existing checked in baselines. Bug: 268261262 Test: Presubmits Change-Id: I3e4bcd76bad422513d48712303ce5c857511d9be
This commit is contained in:
parent
e32ffaec3b
commit
2424cc007d
6 changed files with 62 additions and 16 deletions
|
@ -25,6 +25,9 @@ aidl_interface {
|
|||
"//apex_available:platform",
|
||||
"com.android.rkpd",
|
||||
],
|
||||
lint: {
|
||||
baseline_filename: "lint-baseline.xml",
|
||||
},
|
||||
},
|
||||
rust: {
|
||||
enabled: true,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<issues format="6" by="lint 8.0.0-dev" type="baseline" dependencies="true" variant="all" version="8.0.0-dev">
|
||||
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
|
||||
|
||||
<issue
|
||||
id="NewApi"
|
||||
|
@ -7,8 +7,8 @@
|
|||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/.intermediates/hardware/interfaces/security/rkp/aidl/android.hardware.security.rkp-V1-java-source/gen/android/hardware/security/keymint/IRemotelyProvisionedComponent.java"
|
||||
line="50"
|
||||
file="out/soong/.intermediates/hardware/interfaces/security/rkp/aidl/android.hardware.security.rkp-V1-java-source/gen/android/hardware/security/keymint/IRemotelyProvisionedComponent.java"
|
||||
line="52"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
|
@ -18,8 +18,8 @@
|
|||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/.intermediates/hardware/interfaces/security/rkp/aidl/android.hardware.security.rkp-V2-java-source/gen/android/hardware/security/keymint/IRemotelyProvisionedComponent.java"
|
||||
line="50"
|
||||
file="out/soong/.intermediates/hardware/interfaces/security/rkp/aidl/android.hardware.security.rkp-V2-java-source/gen/android/hardware/security/keymint/IRemotelyProvisionedComponent.java"
|
||||
line="52"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
|
@ -29,8 +29,19 @@
|
|||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/.intermediates/hardware/interfaces/security/rkp/aidl/android.hardware.security.rkp-V3-java-source/gen/android/hardware/security/keymint/IRemotelyProvisionedComponent.java"
|
||||
line="495"
|
||||
file="out/soong/.intermediates/hardware/interfaces/security/rkp/aidl/android.hardware.security.rkp-V3-java-source/gen/android/hardware/security/keymint/IRemotelyProvisionedComponent.java"
|
||||
line="56"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="NewApi"
|
||||
message="Call requires API level 34 (current min is 33): `android.os.Binder#markVintfStability`"
|
||||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/soong/.intermediates/hardware/interfaces/security/rkp/aidl/android.hardware.security.rkp-V4-java-source/gen/android/hardware/security/keymint/IRemotelyProvisionedComponent.java"
|
||||
line="257"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
|
|
|
@ -18,6 +18,9 @@ aidl_interface {
|
|||
],
|
||||
min_sdk_version: "30",
|
||||
enabled: true,
|
||||
lint: {
|
||||
baseline_filename: "lint-baseline.xml",
|
||||
},
|
||||
},
|
||||
ndk: {
|
||||
apps_enabled: false,
|
||||
|
|
26
tetheroffload/aidl/lint-baseline.xml
Normal file
26
tetheroffload/aidl/lint-baseline.xml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
|
||||
|
||||
<issue
|
||||
id="NewApi"
|
||||
message="Call requires API level 31 (current min is 30): `android.os.Binder#markVintfStability`"
|
||||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/soong/.intermediates/hardware/interfaces/tetheroffload/aidl/android.hardware.tetheroffload-V1-java-source/gen/android/hardware/tetheroffload/IOffload.java"
|
||||
line="64"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
<issue
|
||||
id="NewApi"
|
||||
message="Call requires API level 31 (current min is 30): `android.os.Binder#markVintfStability`"
|
||||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/soong/.intermediates/hardware/interfaces/tetheroffload/aidl/android.hardware.tetheroffload-V1-java-source/gen/android/hardware/tetheroffload/ITetheringOffloadCallback.java"
|
||||
line="45"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
</issues>
|
|
@ -39,6 +39,9 @@ aidl_interface {
|
|||
"com.android.wifi",
|
||||
],
|
||||
min_sdk_version: "30",
|
||||
lint: {
|
||||
baseline_filename: "lint-baseline.xml",
|
||||
},
|
||||
},
|
||||
ndk: {
|
||||
gen_trace: true,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<issues format="6" by="lint 8.0.0-dev" type="baseline" dependencies="true" variant="all" version="8.0.0-dev">
|
||||
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
|
||||
|
||||
<issue
|
||||
id="NewApi"
|
||||
|
@ -7,8 +7,8 @@
|
|||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/.intermediates/hardware/interfaces/wifi/hostapd/aidl/android.hardware.wifi.hostapd-V1-java-source/gen/android/hardware/wifi/hostapd/IHostapd.java"
|
||||
line="55"
|
||||
file="out/soong/.intermediates/hardware/interfaces/wifi/hostapd/aidl/android.hardware.wifi.hostapd-V1-java-source/gen/android/hardware/wifi/hostapd/IHostapd.java"
|
||||
line="57"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
|
@ -18,8 +18,8 @@
|
|||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/.intermediates/hardware/interfaces/wifi/hostapd/aidl/android.hardware.wifi.hostapd-V1-java-source/gen/android/hardware/wifi/hostapd/IHostapdCallback.java"
|
||||
line="46"
|
||||
file="out/soong/.intermediates/hardware/interfaces/wifi/hostapd/aidl/android.hardware.wifi.hostapd-V1-java-source/gen/android/hardware/wifi/hostapd/IHostapdCallback.java"
|
||||
line="48"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
|
@ -29,8 +29,8 @@
|
|||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/.intermediates/hardware/interfaces/wifi/hostapd/aidl/android.hardware.wifi.hostapd-V2-java-source/gen/android/hardware/wifi/hostapd/IHostapd.java"
|
||||
line="117"
|
||||
file="out/soong/.intermediates/hardware/interfaces/wifi/hostapd/aidl/android.hardware.wifi.hostapd-V2-java-source/gen/android/hardware/wifi/hostapd/IHostapd.java"
|
||||
line="119"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
|
@ -40,8 +40,8 @@
|
|||
errorLine1=" this.markVintfStability();"
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
||||
<location
|
||||
file="out/.intermediates/hardware/interfaces/wifi/hostapd/aidl/android.hardware.wifi.hostapd-V2-java-source/gen/android/hardware/wifi/hostapd/IHostapdCallback.java"
|
||||
line="62"
|
||||
file="out/soong/.intermediates/hardware/interfaces/wifi/hostapd/aidl/android.hardware.wifi.hostapd-V2-java-source/gen/android/hardware/wifi/hostapd/IHostapdCallback.java"
|
||||
line="64"
|
||||
column="12"/>
|
||||
</issue>
|
||||
|
||||
|
|
Loading…
Reference in a new issue