1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01"> 3 4 <issue 5 id="FlaggedApi" 6 message="Method `updateForShouldDefaultToObserveMode()` is a flagged API and should be inside an `if (Flags.nfcObserveMode())` check (or annotate the surrounding method `updateForShouldDefaultToObserveMode` with `@FlaggedApi(Flags.FLAG_NFC_OBSERVE_MODE) to transfer requirement to caller`)" 7 errorLine1=" mHostEmulationManager.updateForShouldDefaultToObserveMode(enableObserveMode);" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/CardEmulationManager.java" 11 line="1095" 12 column="13"/> 13 </issue> 14 15 <issue 16 id="FlaggedApi" 17 message="Field `SE_NAME_HCE` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `HostEmulationManager` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 18 errorLine1=" this(context, looper, aidCache, new StatsdUtils(StatsdUtils.SE_NAME_HCE));" 19 errorLine2=" ~~~~~~~~~~~"> 20 <location 21 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 22 line="200" 23 column="69"/> 24 </issue> 25 26 <issue 27 id="FlaggedApi" 28 message="Method `StatsdUtils()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `HostEmulationManager` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 29 errorLine1=" this(context, looper, aidCache, new StatsdUtils(StatsdUtils.SE_NAME_HCE));" 30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 31 <location 32 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 33 line="200" 34 column="41"/> 35 </issue> 36 37 <issue 38 id="FlaggedApi" 39 message="Method `tallyPollingFrame()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onPollingLoopDetected` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 40 errorLine1=" mStatsdUtils.tallyPollingFrame(dataStr, pollingFrame);" 41 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 42 <location 43 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 44 line="412" 45 column="25"/> 46 </issue> 47 48 <issue 49 id="FlaggedApi" 50 message="Method `logPollingFrames()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onPollingLoopDetected` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 51 errorLine1=" mStatsdUtils.logPollingFrames();" 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 55 line="418" 56 column="21"/> 57 </issue> 58 59 <issue 60 id="FlaggedApi" 61 message="Method `setCardEmulationEventCategory()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 62 errorLine1=" mStatsdUtils.setCardEmulationEventCategory(resolveInfo.category);" 63 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 64 <location 65 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 66 line="610" 67 column="25"/> 68 </issue> 69 70 <issue 71 id="FlaggedApi" 72 message="Method `setCardEmulationEventUid()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 73 errorLine1=" mStatsdUtils.setCardEmulationEventUid(defaultServiceInfo.getUid());" 74 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 75 <location 76 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 77 line="611" 78 column="25"/> 79 </issue> 80 81 <issue 82 id="FlaggedApi" 83 message="Method `logCardEmulationWrongSettingEvent()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 84 errorLine1=" mStatsdUtils.logCardEmulationWrongSettingEvent();" 85 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 86 <location 87 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 88 line="621" 89 column="29"/> 90 </issue> 91 92 <issue 93 id="FlaggedApi" 94 message="Method `setCardEmulationEventCategory()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 95 errorLine1=" mStatsdUtils.setCardEmulationEventCategory(CardEmulation.CATEGORY_OTHER);" 96 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 97 <location 98 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 99 line="663" 100 column="25"/> 101 </issue> 102 103 <issue 104 id="FlaggedApi" 105 message="Method `logCardEmulationWrongSettingEvent()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 106 errorLine1=" mStatsdUtils.logCardEmulationWrongSettingEvent();" 107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 108 <location 109 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 110 line="664" 111 column="25"/> 112 </issue> 113 114 <issue 115 id="FlaggedApi" 116 message="Method `setCardEmulationEventUid()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 117 errorLine1=" mStatsdUtils.setCardEmulationEventUid(uid);" 118 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 119 <location 120 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 121 line="676" 122 column="29"/> 123 </issue> 124 125 <issue 126 id="FlaggedApi" 127 message="Method `setCardEmulationEventCategory()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 128 errorLine1=" mStatsdUtils.setCardEmulationEventCategory(resolveInfo.category);" 129 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 130 <location 131 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 132 line="677" 133 column="29"/> 134 </issue> 135 136 <issue 137 id="FlaggedApi" 138 message="Method `notifyCardEmulationEventWaitingForResponse()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 139 errorLine1=" mStatsdUtils.notifyCardEmulationEventWaitingForResponse();" 140 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 141 <location 142 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 143 line="694" 144 column="29"/> 145 </issue> 146 147 <issue 148 id="FlaggedApi" 149 message="Method `logCardEmulationDeactivatedEvent()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationDeactivated` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 150 errorLine1=" mStatsdUtils.logCardEmulationDeactivatedEvent();" 151 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 152 <location 153 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 154 line="760" 155 column="17"/> 156 </issue> 157 158 <issue 159 id="FlaggedApi" 160 message="Method `notifyCardEmulationEventWaitingForService()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `bindServiceIfNeededLocked` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 161 errorLine1=" mStatsdUtils.notifyCardEmulationEventWaitingForService();" 162 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 163 <location 164 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 165 line="825" 166 column="17"/> 167 </issue> 168 169 <issue 170 id="FlaggedApi" 171 message="Method `notifyCardEmulationEventServiceBound()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onServiceConnected` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 172 errorLine1=" mStatsdUtils.notifyCardEmulationEventServiceBound();" 173 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 174 <location 175 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 176 line="1065" 177 column="25"/> 178 </issue> 179 180 <issue 181 id="FlaggedApi" 182 message="Method `notifyCardEmulationEventResponseReceived()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `handleMessage` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 183 errorLine1=" mStatsdUtils.notifyCardEmulationEventResponseReceived();" 184 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 185 <location 186 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostEmulationManager.java" 187 line="1125" 188 column="25"/> 189 </issue> 190 191 <issue 192 id="FlaggedApi" 193 message="Method `logCardEmulationWrongSettingEvent()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 194 errorLine1=" mStatsdUtils.logCardEmulationWrongSettingEvent();" 195 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 196 <location 197 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostNfcFEmulationManager.java" 198 line="138" 199 column="21"/> 200 </issue> 201 202 <issue 203 id="FlaggedApi" 204 message="Method `setCardEmulationEventUid()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 205 errorLine1=" mStatsdUtils.setCardEmulationEventUid(uid);" 206 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 207 <location 208 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostNfcFEmulationManager.java" 209 line="169" 210 column="25"/> 211 </issue> 212 213 <issue 214 id="FlaggedApi" 215 message="Method `notifyCardEmulationEventWaitingForResponse()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationData` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 216 errorLine1=" mStatsdUtils.notifyCardEmulationEventWaitingForResponse();" 217 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostNfcFEmulationManager.java" 220 line="170" 221 column="25"/> 222 </issue> 223 224 <issue 225 id="FlaggedApi" 226 message="Method `logCardEmulationDeactivatedEvent()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onHostEmulationDeactivated` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 227 errorLine1=" mStatsdUtils.logCardEmulationDeactivatedEvent();" 228 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 229 <location 230 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostNfcFEmulationManager.java" 231 line="199" 232 column="17"/> 233 </issue> 234 235 <issue 236 id="FlaggedApi" 237 message="Method `notifyCardEmulationEventWaitingForService()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `bindServiceIfNeededLocked` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 238 errorLine1=" mStatsdUtils.notifyCardEmulationEventWaitingForService();" 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostNfcFEmulationManager.java" 242 line="273" 243 column="17"/> 244 </issue> 245 246 <issue 247 id="FlaggedApi" 248 message="Method `notifyCardEmulationEventServiceBound()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onServiceConnected` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 249 errorLine1=" mStatsdUtils.notifyCardEmulationEventServiceBound();" 250 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 251 <location 252 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostNfcFEmulationManager.java" 253 line="327" 254 column="25"/> 255 </issue> 256 257 <issue 258 id="FlaggedApi" 259 message="Method `notifyCardEmulationEventResponseReceived()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `handleMessage` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 260 errorLine1=" mStatsdUtils.notifyCardEmulationEventResponseReceived();" 261 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 262 <location 263 file="packages/apps/Nfc/src/com/android/nfc/cardemulation/HostNfcFEmulationManager.java" 264 line="381" 265 column="25"/> 266 </issue> 267 268 <issue 269 id="FlaggedApi" 270 message="Method `StatsdUtils()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `NfcInjector` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 271 errorLine1=" mStatsdUtils = mFeatureFlags.statsdCeEventsFlag() ? new StatsdUtils() : null;" 272 errorLine2=" ~~~~~~~~~~~~~~~~~"> 273 <location 274 file="packages/apps/Nfc/src/com/android/nfc/NfcInjector.java" 275 line="102" 276 column="61"/> 277 </issue> 278 279 <issue 280 id="FlaggedApi" 281 message="Method `logFieldChanged()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onRemoteFieldActivated` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 282 errorLine1=" mStatsdUtils.logFieldChanged(true, 0);" 283 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 284 <location 285 file="packages/apps/Nfc/src/com/android/nfc/NfcService.java" 286 line="508" 287 column="13"/> 288 </issue> 289 290 <issue 291 id="FlaggedApi" 292 message="Method `logFieldChanged()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `onRemoteFieldDeactivated` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 293 errorLine1=" mStatsdUtils.logFieldChanged(false, 0);" 294 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 295 <location 296 file="packages/apps/Nfc/src/com/android/nfc/NfcService.java" 297 line="517" 298 column="13"/> 299 </issue> 300 301 <issue 302 id="FlaggedApi" 303 message="Method `logObserveModeStateChanged()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `setObserveMode` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 304 errorLine1=" mStatsdUtils.logObserveModeStateChanged(enable, triggerSource, latency);" 305 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 306 <location 307 file="packages/apps/Nfc/src/com/android/nfc/NfcService.java" 308 line="1802" 309 column="17"/> 310 </issue> 311 312 <issue 313 id="FlaggedApi" 314 message="Method `setCardEmulationEventCategory()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `sendOffHostTransactionEvent` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 315 errorLine1=" mStatsdUtils.setCardEmulationEventCategory(aidCategory);" 316 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 317 <location 318 file="packages/apps/Nfc/src/com/android/nfc/NfcService.java" 319 line="3979" 320 column="21"/> 321 </issue> 322 323 <issue 324 id="FlaggedApi" 325 message="Method `logCardEmulationOffhostEvent()` is a flagged API and should be inside an `if (Flags.statsdCeEventsFlag())` check (or annotate the surrounding method `sendOffHostTransactionEvent` with `@FlaggedApi(Flags.FLAG_STATSD_CE_EVENTS_FLAG) to transfer requirement to caller`)" 326 errorLine1=" mStatsdUtils.logCardEmulationOffhostEvent(reader);" 327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 328 <location 329 file="packages/apps/Nfc/src/com/android/nfc/NfcService.java" 330 line="4073" 331 column="21"/> 332 </issue> 333 334</issues> 335