1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08"> 3 4 <issue 5 id="DefaultLocale" 6 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 7 errorLine1=" String.format(" 8 errorLine2=" ^"> 9 <location 10 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/RemoveAdCounterHistogramOverrideInputTest.java" 11 line="91" 12 column="17"/> 13 </issue> 14 15 <issue 16 id="DefaultLocale" 17 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 18 errorLine1=" String.format(" 19 errorLine2=" ^"> 20 <location 21 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/RemoveAdCounterHistogramOverrideRequestTest.java" 22 line="58" 23 column="17"/> 24 </issue> 25 26 <issue 27 id="DefaultLocale" 28 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 29 errorLine1=" String.format(" 30 errorLine2=" ^"> 31 <location 32 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/SetAdCounterHistogramOverrideInputTest.java" 33 line="118" 34 column="17"/> 35 </issue> 36 37 <issue 38 id="DefaultLocale" 39 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 40 errorLine1=" String.format(" 41 errorLine2=" ^"> 42 <location 43 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/SetAdCounterHistogramOverrideRequestTest.java" 44 line="80" 45 column="17"/> 46 </issue> 47 48 <issue 49 id="NewApi" 50 message="Call requires API level 31 (current min is 30): `get`" 51 errorLine1=" expect.that(AdSelectionManager.get(mContext)).isNotNull();" 52 errorLine2=" ~~~"> 53 <location 54 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 55 line="95" 56 column="40"/> 57 </issue> 58 59 <issue 60 id="NewApi" 61 message="Call requires API level 31 (current min is 30): `get`" 62 errorLine1=" expect.that(AdSelectionManager.get(mContext)).isNotNull();" 63 errorLine2=" ~~~"> 64 <location 65 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 66 line="102" 67 column="40"/> 68 </issue> 69 70 <issue 71 id="NewApi" 72 message="Call requires API level 31 (current min is 30): `get`" 73 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceToReportEvent);" 74 errorLine2=" ~~~"> 75 <location 76 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 77 line="112" 78 column="36"/> 79 </issue> 80 81 <issue 82 id="NewApi" 83 message="Call requires API level 31 (current min is 30): `reportEvent`" 84 errorLine1=" mAdSelectionManager.reportEvent(" 85 errorLine2=" ~~~~~~~~~~~"> 86 <location 87 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 88 line="117" 89 column="29"/> 90 </issue> 91 92 <issue 93 id="NewApi" 94 message="Call requires API level 31 (current min is 30): `get`" 95 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceToReportEvent);" 96 errorLine2=" ~~~"> 97 <location 98 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 99 line="138" 100 column="36"/> 101 </issue> 102 103 <issue 104 id="NewApi" 105 message="Call requires API level 31 (current min is 30): `reportEvent`" 106 errorLine1=" mAdSelectionManager.reportEvent(" 107 errorLine2=" ~~~~~~~~~~~"> 108 <location 109 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 110 line="143" 111 column="29"/> 112 </issue> 113 114 <issue 115 id="NewApi" 116 message="Call requires API level 31 (current min is 30): `get`" 117 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceToReportEvent);" 118 errorLine2=" ~~~"> 119 <location 120 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 121 line="164" 122 column="36"/> 123 </issue> 124 125 <issue 126 id="NewApi" 127 message="Call requires API level 31 (current min is 30): `reportEvent`" 128 errorLine1=" mAdSelectionManager.reportEvent(" 129 errorLine2=" ~~~~~~~~~~~"> 130 <location 131 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 132 line="169" 133 column="29"/> 134 </issue> 135 136 <issue 137 id="NewApi" 138 message="Call requires API level 31 (current min is 30): `get`" 139 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceGetAdSelectionData);" 140 errorLine2=" ~~~"> 141 <location 142 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 143 line="197" 144 column="36"/> 145 </issue> 146 147 <issue 148 id="NewApi" 149 message="Call requires API level 31 (current min is 30): `getAdSelectionData`" 150 errorLine1=" adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver);" 151 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 152 <location 153 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 154 line="207" 155 column="28"/> 156 </issue> 157 158 <issue 159 id="NewApi" 160 message="Call requires API level 31 (current min is 30): `get`" 161 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceGetAdSelectionData);" 162 errorLine2=" ~~~"> 163 <location 164 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 165 line="231" 166 column="36"/> 167 </issue> 168 169 <issue 170 id="NewApi" 171 message="Call requires API level 31 (current min is 30): `getAdSelectionData`" 172 errorLine1=" adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver);" 173 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 174 <location 175 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 176 line="242" 177 column="28"/> 178 </issue> 179 180 <issue 181 id="NewApi" 182 message="Call requires API level 31 (current min is 30): `get`" 183 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceGetAdSelectionData);" 184 errorLine2=" ~~~"> 185 <location 186 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 187 line="266" 188 column="36"/> 189 </issue> 190 191 <issue 192 id="NewApi" 193 message="Call requires API level 31 (current min is 30): `getAdSelectionData`" 194 errorLine1=" adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver);" 195 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 196 <location 197 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 198 line="276" 199 column="28"/> 200 </issue> 201 202 <issue 203 id="NewApi" 204 message="Call requires API level 31 (current min is 30): `get`" 205 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceGetAdSelectionData);" 206 errorLine2=" ~~~"> 207 <location 208 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 209 line="301" 210 column="36"/> 211 </issue> 212 213 <issue 214 id="NewApi" 215 message="Call requires API level 31 (current min is 30): `getAdSelectionData`" 216 errorLine1=" adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver);" 217 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 220 line="310" 221 column="28"/> 222 </issue> 223 224 <issue 225 id="NewApi" 226 message="Class requires API level 31 (current min is 30): `android.os.OutcomeReceiver`" 227 errorLine1=" implements android.os.OutcomeReceiver<Object, Exception> {" 228 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 229 <location 230 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 231 line="566" 232 column="24"/> 233 </issue> 234 235 <issue 236 id="NewApi" 237 message="Class requires API level 31 (current min is 30): `android.os.OutcomeReceiver`" 238 errorLine1=" implements android.os.OutcomeReceiver<GetAdSelectionDataOutcome, Exception> {" 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 242 line="576" 243 column="24"/> 244 </issue> 245 246 <issue 247 id="NewApi" 248 message="Call requires API level 31 (current min is 30): `get`" 249 errorLine1=" assertThat(CustomAudienceManager.get(mContext)).isNotNull();" 250 errorLine2=" ~~~"> 251 <location 252 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/CustomAudienceManagerTest.java" 253 line="36" 254 column="42"/> 255 </issue> 256 257 <issue 258 id="NewApi" 259 message="Call requires API level 31 (current min is 30): `get`" 260 errorLine1=" assertThat(CustomAudienceManager.get(mContext)).isNotNull();" 261 errorLine2=" ~~~"> 262 <location 263 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/CustomAudienceManagerTest.java" 264 line="43" 265 column="42"/> 266 </issue> 267 268 <issue 269 id="NewApi" 270 message="Call requires API level 31 (current min is 30): `toAdServicesOutcomeReceiver`" 271 errorLine1=" expect.that(OutcomeReceiverConverter.toAdServicesOutcomeReceiver(null)).isNull();" 272 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 273 <location 274 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/OutcomeReceiverConverterTest.java" 275 line="34" 276 column="46"/> 277 </issue> 278 279 <issue 280 id="NewApi" 281 message="Class requires API level 31 (current min is 30): `android.os.OutcomeReceiver`" 282 errorLine1=" new OutcomeReceiver<>() {" 283 errorLine2=" ~~~~~~~~~~~~~~~~~"> 284 <location 285 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/OutcomeReceiverConverterTest.java" 286 line="46" 287 column="21"/> 288 </issue> 289 290 <issue 291 id="NewApi" 292 message="Call requires API level 31 (current min is 30): `toAdServicesOutcomeReceiver`" 293 errorLine1=" OutcomeReceiverConverter.toAdServicesOutcomeReceiver(outcomeReceiver);" 294 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 295 <location 296 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/OutcomeReceiverConverterTest.java" 297 line="61" 298 column="42"/> 299 </issue> 300 301 <issue 302 id="NewApi" 303 message="Call requires API level 31 (current min is 30): `get`" 304 errorLine1=" assertThat(TopicsManager.get(mContext)).isNotNull();" 305 errorLine2=" ~~~"> 306 <location 307 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/topics/TopicsManagerTest.java" 308 line="36" 309 column="34"/> 310 </issue> 311 312 <issue 313 id="NewApi" 314 message="Call requires API level 31 (current min is 30): `get`" 315 errorLine1=" assertThat(TopicsManager.get(mContext)).isNotNull();" 316 errorLine2=" ~~~"> 317 <location 318 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/topics/TopicsManagerTest.java" 319 line="44" 320 column="34"/> 321 </issue> 322 323 <issue 324 id="VisibleForTests" 325 message="This method should only be accessed from tests or within private scope" 326 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceToReportEvent);" 327 errorLine2=" ~~~"> 328 <location 329 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 330 line="112" 331 column="36"/> 332 </issue> 333 334 <issue 335 id="VisibleForTests" 336 message="This method should only be accessed from tests or within private scope" 337 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceToReportEvent);" 338 errorLine2=" ~~~"> 339 <location 340 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 341 line="138" 342 column="36"/> 343 </issue> 344 345 <issue 346 id="VisibleForTests" 347 message="This method should only be accessed from tests or within private scope" 348 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceToReportEvent);" 349 errorLine2=" ~~~"> 350 <location 351 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 352 line="164" 353 column="36"/> 354 </issue> 355 356 <issue 357 id="VisibleForTests" 358 message="This method should only be accessed from tests or within private scope" 359 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceGetAdSelectionData);" 360 errorLine2=" ~~~"> 361 <location 362 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 363 line="197" 364 column="36"/> 365 </issue> 366 367 <issue 368 id="VisibleForTests" 369 message="This method should only be accessed from tests or within private scope" 370 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceGetAdSelectionData);" 371 errorLine2=" ~~~"> 372 <location 373 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 374 line="231" 375 column="36"/> 376 </issue> 377 378 <issue 379 id="VisibleForTests" 380 message="This method should only be accessed from tests or within private scope" 381 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceGetAdSelectionData);" 382 errorLine2=" ~~~"> 383 <location 384 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 385 line="266" 386 column="36"/> 387 </issue> 388 389 <issue 390 id="VisibleForTests" 391 message="This method should only be accessed from tests or within private scope" 392 errorLine1=" AdSelectionManager.get(mContext, mockAdIdManager, mockServiceGetAdSelectionData);" 393 errorLine2=" ~~~"> 394 <location 395 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/AdSelectionManagerTest.java" 396 line="301" 397 column="36"/> 398 </issue> 399 400 <issue 401 id="VisibleForTests" 402 message="This method should only be accessed from tests or within private scope" 403 errorLine1=" json.remove(FrequencyCapFilters.WIN_EVENTS_FIELD_NAME);" 404 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 405 <location 406 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/InternalFrequencyCapFiltersTest.java" 407 line="64" 408 column="41"/> 409 </issue> 410 411 <issue 412 id="VisibleForTests" 413 message="This method should only be accessed from tests or within private scope" 414 errorLine1=" json.remove(FrequencyCapFilters.IMPRESSION_EVENTS_FIELD_NAME);" 415 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 416 <location 417 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/InternalFrequencyCapFiltersTest.java" 418 line="74" 419 column="41"/> 420 </issue> 421 422 <issue 423 id="VisibleForTests" 424 message="This method should only be accessed from tests or within private scope" 425 errorLine1=" json.remove(FrequencyCapFilters.VIEW_EVENTS_FIELD_NAME);" 426 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 427 <location 428 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/InternalFrequencyCapFiltersTest.java" 429 line="84" 430 column="41"/> 431 </issue> 432 433 <issue 434 id="VisibleForTests" 435 message="This method should only be accessed from tests or within private scope" 436 errorLine1=" json.remove(FrequencyCapFilters.CLICK_EVENTS_FIELD_NAME);" 437 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 438 <location 439 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/InternalFrequencyCapFiltersTest.java" 440 line="94" 441 column="41"/> 442 </issue> 443 444 <issue 445 id="VisibleForTests" 446 message="This method should only be accessed from tests or within private scope" 447 errorLine1=" FrequencyCapFilters.WIN_EVENTS_FIELD_NAME," 448 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 449 <location 450 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/InternalFrequencyCapFiltersTest.java" 451 line="105" 452 column="37"/> 453 </issue> 454 455 <issue 456 id="VisibleForTests" 457 message="This method should only be accessed from tests or within private scope" 458 errorLine1=" json.getJSONArray(FrequencyCapFilters.WIN_EVENTS_FIELD_NAME).put(0));" 459 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 460 <location 461 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/InternalFrequencyCapFiltersTest.java" 462 line="106" 463 column="55"/> 464 </issue> 465 466 <issue 467 id="VisibleForTests" 468 message="This method should only be accessed from tests or within private scope" 469 errorLine1=" json.put(FrequencyCapFilters.WIN_EVENTS_FIELD_NAME, "value");" 470 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 471 <location 472 file="packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/InternalFrequencyCapFiltersTest.java" 473 line="113" 474 column="38"/> 475 </issue> 476 477 <issue 478 id="MissingVersion" 479 message="Should set `android:versionCode` to specify the application version" 480 errorLine1="<manifest xmlns:android="http://schemas.android.com/apk/res/android"" 481 errorLine2=" ~~~~~~~~"> 482 <location 483 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/framework/AdExtServicesFrameworkUnitTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 484 line="17" 485 column="2"/> 486 </issue> 487 488 <issue 489 id="MissingVersion" 490 message="Should set `android:versionName` to specify the application version" 491 errorLine1="<manifest xmlns:android="http://schemas.android.com/apk/res/android"" 492 errorLine2=" ~~~~~~~~"> 493 <location 494 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/framework/AdExtServicesFrameworkUnitTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 495 line="17" 496 column="2"/> 497 </issue> 498 499 <issue 500 id="HardcodedDebugMode" 501 message="Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one" 502 errorLine1=" android:debuggable="true"" 503 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 504 <location 505 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/framework/AdExtServicesFrameworkUnitTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 506 line="44" 507 column="9"/> 508 </issue> 509 510 <issue 511 id="ExpiredTargetSdkVersion" 512 message="Google Play requires that apps target API level 33 or higher." 513 errorLine1=" android:targetSdkVersion="30" />" 514 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 515 <location 516 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/framework/AdExtServicesFrameworkUnitTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 517 line="22" 518 column="9"/> 519 </issue> 520 521 <issue 522 id="MissingApplicationIcon" 523 message="Should explicitly set `android:icon`, there is no default" 524 errorLine1=" <application" 525 errorLine2=" ~~~~~~~~~~~"> 526 <location 527 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/framework/AdExtServicesFrameworkUnitTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 528 line="42" 529 column="6"/> 530 </issue> 531 532</issues> 533