1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0"> 3 4 <issue 5 id="NewApi" 6 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 7 errorLine1=" private val EMPTY_CAPABILITIES = NetworkCapabilities()" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/NetworkStackNotifierTest.kt" 11 line="134" 12 column="38"/> 13 </issue> 14 15 <issue 16 id="NewApi" 17 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 18 errorLine1=" private val VALIDATED_CAPABILITIES = NetworkCapabilities()" 19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 20 <location 21 file="packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/NetworkStackNotifierTest.kt" 22 line="135" 23 column="42"/> 24 </issue> 25 26 <issue 27 id="NewApi" 28 message="Call requires API level R (current min is 29): `new android.net.NetworkCapabilities`" 29 errorLine1=" new NetworkCapabilities()" 30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 31 <location 32 file="packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/NetworkValidationMetricsTest.java" 33 line="57" 34 column="13"/> 35 </issue> 36 37 <issue 38 id="NewApi" 39 message="Call requires API level R (current min is 29): `new android.net.NetworkCapabilities`" 40 errorLine1=" NetworkCapabilities nc = new NetworkCapabilities();" 41 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 42 <location 43 file="packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/NetworkValidationMetricsTest.java" 44 line="109" 45 column="34"/> 46 </issue> 47 48 <issue 49 id="NewApi" 50 message="Call requires API level R (current min is 29): `new android.net.NetworkCapabilities`" 51 errorLine1=" nc = new NetworkCapabilities();" 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/NetworkValidationMetricsTest.java" 55 line="117" 56 column="14"/> 57 </issue> 58 59 <issue 60 id="NewApi" 61 message="Call requires API level R (current min is 29): `new android.net.NetworkCapabilities`" 62 errorLine1=" nc = new NetworkCapabilities();" 63 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 64 <location 65 file="packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/NetworkValidationMetricsTest.java" 66 line="123" 67 column="14"/> 68 </issue> 69 70 <issue 71 id="NewApi" 72 message="Call requires API level R (current min is 29): `new android.net.NetworkCapabilities`" 73 errorLine1=" nc = new NetworkCapabilities();" 74 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 75 <location 76 file="packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/NetworkValidationMetricsTest.java" 77 line="129" 78 column="14"/> 79 </issue> 80 81 <issue 82 id="NewApi" 83 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 84 errorLine1=" mCallback.onCapabilitiesChanged(net2097, NetworkCapabilities())" 85 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 86 <location 87 file="packages/modules/NetworkStack/tests/unit/src/android/net/testutils/TestableNetworkCallbackTest.kt" 88 line="59" 89 column="50"/> 90 </issue> 91 92 <issue 93 id="NewApi" 94 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 95 errorLine1=" mCallback.onCapabilitiesChanged(net2098, NetworkCapabilities())" 96 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 97 <location 98 file="packages/modules/NetworkStack/tests/unit/src/android/net/testutils/TestableNetworkCallbackTest.kt" 99 line="71" 100 column="50"/> 101 </issue> 102 103 <issue 104 id="NewApi" 105 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 106 errorLine1=" val meteredNc = NetworkCapabilities()" 107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 108 <location 109 file="packages/modules/NetworkStack/tests/unit/src/android/net/testutils/TestableNetworkCallbackTest.kt" 110 line="108" 111 column="25"/> 112 </issue> 113 114 <issue 115 id="NewApi" 116 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 117 errorLine1=" val unmeteredNc = NetworkCapabilities().addCapability(NOT_METERED)" 118 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 119 <location 120 file="packages/modules/NetworkStack/tests/unit/src/android/net/testutils/TestableNetworkCallbackTest.kt" 121 line="109" 122 column="27"/> 123 </issue> 124 125 <issue 126 id="NewApi" 127 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 128 errorLine1=" val netCaps = NetworkCapabilities().addTransportType(CELLULAR)" 129 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 130 <location 131 file="packages/modules/NetworkStack/tests/unit/src/android/net/testutils/TestableNetworkCallbackTest.kt" 132 line="130" 133 column="23"/> 134 </issue> 135 136 <issue 137 id="NewApi" 138 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 139 errorLine1=" val netCaps = NetworkCapabilities().addCapability(NOT_METERED).addTransportType(WIFI)" 140 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 141 <location 142 file="packages/modules/NetworkStack/tests/unit/src/android/net/testutils/TestableNetworkCallbackTest.kt" 143 line="152" 144 column="23"/> 145 </issue> 146 147 <issue 148 id="NewApi" 149 message="Call requires API level R (current min is 29): `android.net.NetworkCapabilities()`" 150 errorLine1=" "CapabilitiesChanged" -> cb.onCapabilitiesChanged(net, NetworkCapabilities())" 151 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 152 <location 153 file="packages/modules/NetworkStack/tests/unit/src/android/net/testutils/TestableNetworkCallbackTest.kt" 154 line="279" 155 column="68"/> 156 </issue> 157 158</issues> 159