Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2424cc00 authored by Cole Faust's avatar Cole Faust
Browse files

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
parent e32ffaec
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@ aidl_interface {
                "//apex_available:platform",
                "com.android.rkpd",
            ],
            lint: {
                baseline_filename: "lint-baseline.xml",
            },
        },
        rust: {
            enabled: true,
+18 −7
Original line number Diff line number Diff line
<?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>

+3 −0
Original line number Diff line number Diff line
@@ -18,6 +18,9 @@ aidl_interface {
            ],
            min_sdk_version: "30",
            enabled: true,
            lint: {
                baseline_filename: "lint-baseline.xml",
            },
        },
        ndk: {
            apps_enabled: false,
+26 −0
Original line number Diff line number Diff line
<?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>
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@ aidl_interface {
                "com.android.wifi",
            ],
            min_sdk_version: "30",
            lint: {
                baseline_filename: "lint-baseline.xml",
            },
        },
        ndk: {
            gen_trace: true,
Loading