summaryrefslogtreecommitdiff
path: root/common/lint-baseline.xml
blob: d413b2a7769b760652529ffc04b06867963baac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?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">

    <issue
        id="NewApi"
        message="Call requires API level 30 (current min is 29): `android.net.LinkProperties#getAddresses`"
        errorLine1="        final Collection&lt;InetAddress&gt; leftAddresses = left.getAddresses();"
        errorLine2="                                                           ~~~~~~~~~~~~">
        <location
            file="frameworks/libs/net/common/framework/com/android/net/module/util/LinkPropertiesUtils.java"
            line="158"
            column="60"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 30 (current min is 29): `android.net.LinkProperties#getAddresses`"
        errorLine1="        final Collection&lt;InetAddress&gt; rightAddresses = right.getAddresses();"
        errorLine2="                                                             ~~~~~~~~~~~~">
        <location
            file="frameworks/libs/net/common/framework/com/android/net/module/util/LinkPropertiesUtils.java"
            line="159"
            column="62"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 30 (current min is 29): `android.net.NetworkStats#addEntry`"
        errorLine1="            stats = stats.addEntry(entry);"
        errorLine2="                          ~~~~~~~~">
        <location
            file="frameworks/libs/net/common/framework/com/android/net/module/util/NetworkStatsUtils.java"
            line="113"
            column="27"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 30 (current min is 29): `new android.net.NetworkStats.Entry`"
        errorLine1="        return new android.net.NetworkStats.Entry("
        errorLine2="               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="frameworks/libs/net/common/framework/com/android/net/module/util/NetworkStatsUtils.java"
            line="120"
            column="16"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 30 (current min is 29): `new android.net.NetworkStats`"
        errorLine1="        android.net.NetworkStats stats = new android.net.NetworkStats(0L, 0);"
        errorLine2="                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="frameworks/libs/net/common/framework/com/android/net/module/util/NetworkStatsUtils.java"
            line="108"
            column="42"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 31 (current min is 29): `new android.system.NetlinkSocketAddress`"
        errorLine1="        return new NetlinkSocketAddress(portId, groupsMask);"
        errorLine2="               ~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="frameworks/libs/net/common/device/com/android/net/module/util/SocketUtils.java"
            line="44"
            column="16"/>
    </issue>

</issues>