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="NewApi" 6 message="Call requires API level 31 (current min is 30): `getFileStorage`" 7 errorLine1=" mFileStorage = MobileDataDownloadFactory.getFileStorage();" 8 errorLine2=" ~~~~~~~~~~~~~~"> 9 <location 10 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 11 line="187" 12 column="50"/> 13 </issue> 14 15 <issue 16 id="NewApi" 17 message="Call requires API level 31 (current min is 30): `getFileDownloader`" 18 errorLine1=" mFileDownloader = MobileDataDownloadFactory.getFileDownloader(mMockFlags, mFileStorage);" 19 errorLine2=" ~~~~~~~~~~~~~~~~~"> 20 <location 21 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 22 line="188" 23 column="53"/> 24 </issue> 25 26 <issue 27 id="NewApi" 28 message="Call requires API level 31 (current min is 30): `getConsent`" 29 errorLine1=" doReturn(AdServicesApiConsent.GIVEN).when(mConsentManager).getConsent();" 30 errorLine2=" ~~~~~~~~~~"> 31 <location 32 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 33 line="192" 34 column="68"/> 35 </issue> 36 37 <issue 38 id="NewApi" 39 message="Call requires API level 31 (current min is 30): `getInstance`" 40 errorLine1=" doReturn(mConsentManager).when(() -> ConsentManager.getInstance());" 41 errorLine2=" ~~~~~~~~~~~"> 42 <location 43 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 44 line="194" 45 column="61"/> 46 </issue> 47 48 <issue 49 id="NewApi" 50 message="Call requires API level 31 (current min is 30): `getInstance`" 51 errorLine1=" doReturn(mUxStatesManager).when(() -> UxStatesManager.getInstance());" 52 errorLine2=" ~~~~~~~~~~~"> 53 <location 54 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 55 line="195" 56 column="63"/> 57 </issue> 58 59 <issue 60 id="NewApi" 61 message="Call requires API level 31 (current min is 30): `getConsent`" 62 errorLine1=" when(mConsentManager.getConsent(AdServicesApiType.MEASUREMENTS))" 63 errorLine2=" ~~~~~~~~~~"> 64 <location 65 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 66 line="432" 67 column="30"/> 68 </issue> 69 70 <issue 71 id="NewApi" 72 message="Call requires API level 31 (current min is 30): `getConsent`" 73 errorLine1=" when(mConsentManager.getConsent(AdServicesApiType.MEASUREMENTS))" 74 errorLine2=" ~~~~~~~~~~"> 75 <location 76 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 77 line="455" 78 column="30"/> 79 </issue> 80 81 <issue 82 id="NewApi" 83 message="Call requires API level 31 (current min is 30): `getConsent`" 84 errorLine1=" when(mConsentManager.getConsent(AdServicesApiType.TOPICS))" 85 errorLine2=" ~~~~~~~~~~"> 86 <location 87 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 88 line="478" 89 column="30"/> 90 </issue> 91 92 <issue 93 id="NewApi" 94 message="Call requires API level 31 (current min is 30): `getConsent`" 95 errorLine1=" when(mConsentManager.getConsent(AdServicesApiType.TOPICS))" 96 errorLine2=" ~~~~~~~~~~"> 97 <location 98 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 99 line="502" 100 column="30"/> 101 </issue> 102 103 <issue 104 id="NewApi" 105 message="Call requires API level 31 (current min is 30): `getConsent`" 106 errorLine1=" when(mConsentManager.getConsent(AdServicesApiType.TOPICS))" 107 errorLine2=" ~~~~~~~~~~"> 108 <location 109 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 110 line="525" 111 column="30"/> 112 </issue> 113 114 <issue 115 id="NewApi" 116 message="Call requires API level 31 (current min is 30): `getConsent`" 117 errorLine1=" when(mConsentManager.getConsent(AdServicesApiType.TOPICS))" 118 errorLine2=" ~~~~~~~~~~"> 119 <location 120 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 121 line="554" 122 column="30"/> 123 </issue> 124 125 <issue 126 id="NewApi" 127 message="Call requires API level 31 (current min is 30): `getConsent`" 128 errorLine1=" when(mConsentManager.getConsent(AdServicesApiType.MEASUREMENTS))" 129 errorLine2=" ~~~~~~~~~~"> 130 <location 131 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 132 line="556" 133 column="30"/> 134 </issue> 135 136 <issue 137 id="NewApi" 138 message="Call requires API level 31 (current min is 30): `getConsent`" 139 errorLine1=" when(mConsentManager.getConsent(AdServicesApiType.FLEDGE))" 140 errorLine2=" ~~~~~~~~~~"> 141 <location 142 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 143 line="558" 144 column="30"/> 145 </issue> 146 147 <issue 148 id="NewApi" 149 message="Call requires API level 31 (current min is 30): `getUx`" 150 errorLine1=" doReturn(PrivacySandboxUxCollection.U18_UX).when(mUxStatesManager).getUx();" 151 errorLine2=" ~~~~~"> 152 <location 153 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 154 line="577" 155 column="76"/> 156 </issue> 157 158 <issue 159 id="NewApi" 160 message="Field requires API level 31 (current min is 30): `U18_UX`" 161 errorLine1=" doReturn(PrivacySandboxUxCollection.U18_UX).when(mUxStatesManager).getUx();" 162 errorLine2=" ~~~~~~"> 163 <location 164 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 165 line="577" 166 column="45"/> 167 </issue> 168 169 <issue 170 id="NewApi" 171 message="Call requires API level 31 (current min is 30): `getMddLogger`" 172 errorLine1=" Optional<Logger> mddLogger = MobileDataDownloadFactory.getMddLogger(mMockFlags);" 173 errorLine2=" ~~~~~~~~~~~~"> 174 <location 175 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 176 line="595" 177 column="64"/> 178 </issue> 179 180 <issue 181 id="NewApi" 182 message="Call requires API level 31 (current min is 30): `getMddLogger`" 183 errorLine1=" Optional<Logger> mddLogger = MobileDataDownloadFactory.getMddLogger(mMockFlags);" 184 errorLine2=" ~~~~~~~~~~~~"> 185 <location 186 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 187 line="603" 188 column="64"/> 189 </issue> 190 191 <issue 192 id="NewApi" 193 message="Call requires API level 31 (current min is 30): `getFileStorage`" 194 errorLine1=" SynchronousFileStorage fileStorage = MobileDataDownloadFactory.getFileStorage();" 195 errorLine2=" ~~~~~~~~~~~~~~"> 196 <location 197 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 198 line="716" 199 column="72"/> 200 </issue> 201 202 <issue 203 id="NewApi" 204 message="Call requires API level 31 (current min is 30): `getFileDownloader`" 205 errorLine1=" MobileDataDownloadFactory.getFileDownloader(flags, fileStorage);" 206 errorLine2=" ~~~~~~~~~~~~~~~~~"> 207 <location 208 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 209 line="718" 210 column="43"/> 211 </issue> 212 213 <issue 214 id="NewApi" 215 message="Call requires API level 31 (current min is 30): `getControlExecutor`" 216 errorLine1=" .setControlExecutor(MobileDataDownloadFactory.getControlExecutor())" 217 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 220 line="736" 221 column="63"/> 222 </issue> 223 224 <issue 225 id="NewApi" 226 message="Call requires API level 31 (current min is 30): `getMddLogger`" 227 errorLine1=" .setLoggerOptional(MobileDataDownloadFactory.getMddLogger(flags))" 228 errorLine2=" ~~~~~~~~~~~~"> 229 <location 230 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 231 line="741" 232 column="62"/> 233 </issue> 234 235 <issue 236 id="NewApi" 237 message="Call requires API level 31 (current min is 30): `getEncryptionKeysManifestPopulator`" 238 errorLine1=" MobileDataDownloadFactory.getEncryptionKeysManifestPopulator(" 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 242 line="756" 243 column="43"/> 244 </issue> 245 246 <issue 247 id="NewApi" 248 message="Call requires API level 31 (current min is 30): `getMeasurementManifestPopulator`" 249 errorLine1=" MobileDataDownloadFactory.getMeasurementManifestPopulator(" 250 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 251 <location 252 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 253 line="784" 254 column="43"/> 255 </issue> 256 257 <issue 258 id="NewApi" 259 message="Call requires API level 31 (current min is 30): `getTopicsManifestPopulator`" 260 errorLine1=" MobileDataDownloadFactory.getTopicsManifestPopulator(" 261 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 262 <location 263 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 264 line="808" 265 column="43"/> 266 </issue> 267 268 <issue 269 id="NewApi" 270 message="Call requires API level 31 (current min is 30): `getUiOtaResourcesManifestPopulator`" 271 errorLine1=" MobileDataDownloadFactory.getUiOtaResourcesManifestPopulator(" 272 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 273 <location 274 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 275 line="829" 276 column="43"/> 277 </issue> 278 279 <issue 280 id="NewApi" 281 message="Call requires API level 31 (current min is 30): `getMdd`" 282 errorLine1=" doReturn(mMdd).when(() -> MobileDataDownloadFactory.getMdd(any(Flags.class)));" 283 errorLine2=" ~~~~~~"> 284 <location 285 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 286 line="874" 287 column="61"/> 288 </issue> 289 290 <issue 291 id="NewApi" 292 message="Call requires API level 31 (current min is 30): `EncryptionDataDownloadManager`" 293 errorLine1=" new EncryptionDataDownloadManager(mMockFlags, encryptionKeyDao, mMockClock);" 294 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 295 <location 296 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 297 line="878" 298 column="17"/> 299 </issue> 300 301 <issue 302 id="NewApi" 303 message="Call requires API level 31 (current min is 30): `readAndInsertEncryptionDataFromMdd`" 304 errorLine1=" expect.that(encryptionDataDownloadManager.readAndInsertEncryptionDataFromMdd().get())" 305 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 306 <location 307 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 308 line="882" 309 column="51"/> 310 </issue> 311 312 <issue 313 id="NewApi" 314 message="Field requires API level 31 (current min is 30): `SUCCESS`" 315 errorLine1=" .isEqualTo(EncryptionDataDownloadManager.DownloadStatus.SUCCESS);" 316 errorLine2=" ~~~~~~~"> 317 <location 318 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 319 line="883" 320 column="73"/> 321 </issue> 322 323 <issue 324 id="NewApi" 325 message="Call requires API level 31 (current min is 30): `EnrollmentDataDownloadManager`" 326 errorLine1=" new EnrollmentDataDownloadManager(mContext, mMockFlags);" 327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 328 <location 329 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 330 line="904" 331 column="17"/> 332 </issue> 333 334 <issue 335 id="NewApi" 336 message="Call requires API level 31 (current min is 30): `getMdd`" 337 errorLine1=" doReturn(mMdd).when(() -> MobileDataDownloadFactory.getMdd(any(Flags.class)));" 338 errorLine2=" ~~~~~~"> 339 <location 340 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 341 line="931" 342 column="61"/> 343 </issue> 344 345 <issue 346 id="NewApi" 347 message="Call requires API level 31 (current min is 30): `readAndInsertEnrollmentDataFromMdd`" 348 errorLine1=" assertThat(enrollmentDataDownloadManager.readAndInsertEnrollmentDataFromMdd().get())" 349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 350 <location 351 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 352 line="944" 353 column="50"/> 354 </issue> 355 356 <issue 357 id="NewApi" 358 message="Field requires API level 31 (current min is 30): `SUCCESS`" 359 errorLine1=" .isEqualTo(SUCCESS);" 360 errorLine2=" ~~~~~~~"> 361 <location 362 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 363 line="945" 364 column="28"/> 365 </issue> 366 367 <issue 368 id="VisibleForTests" 369 message="This method should only be accessed from tests or within private scope" 370 errorLine1=" new DbHelper(sContext, DATABASE_NAME_FOR_TEST, DbHelper.DATABASE_VERSION_7);" 371 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 372 <location 373 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/DbTestUtil.java" 374 line="69" 375 column="25"/> 376 </issue> 377 378 <issue 379 id="VisibleForTests" 380 message="This method should only be accessed from tests or within private scope" 381 errorLine1=" new MeasurementDbHelper(" 382 errorLine2=" ^"> 383 <location 384 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/DbTestUtil.java" 385 line="79" 386 column="25"/> 387 </issue> 388 389 <issue 390 id="VisibleForTests" 391 message="This method should only be accessed from tests or within private scope" 392 errorLine1=" new SharedDbHelper(" 393 errorLine2=" ^"> 394 <location 395 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/DbTestUtil.java" 396 line="93" 397 column="25"/> 398 </issue> 399 400 <issue 401 id="VisibleForTests" 402 message="This method should only be accessed from tests or within private scope" 403 errorLine1=" mFileDownloader = MobileDataDownloadFactory.getFileDownloader(mMockFlags, mFileStorage);" 404 errorLine2=" ~~~~~~~~~~~~~~~~~"> 405 <location 406 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 407 line="188" 408 column="53"/> 409 </issue> 410 411 <issue 412 id="VisibleForTests" 413 message="This method should only be accessed from tests or within private scope" 414 errorLine1=" Optional<Logger> mddLogger = MobileDataDownloadFactory.getMddLogger(mMockFlags);" 415 errorLine2=" ~~~~~~~~~~~~"> 416 <location 417 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 418 line="595" 419 column="64"/> 420 </issue> 421 422 <issue 423 id="VisibleForTests" 424 message="This method should only be accessed from tests or within private scope" 425 errorLine1=" Optional<Logger> mddLogger = MobileDataDownloadFactory.getMddLogger(mMockFlags);" 426 errorLine2=" ~~~~~~~~~~~~"> 427 <location 428 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 429 line="603" 430 column="64"/> 431 </issue> 432 433 <issue 434 id="VisibleForTests" 435 message="This method should only be accessed from tests or within private scope" 436 errorLine1=" MobileDataDownloadFactory.getFileDownloader(flags, fileStorage);" 437 errorLine2=" ~~~~~~~~~~~~~~~~~"> 438 <location 439 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 440 line="718" 441 column="43"/> 442 </issue> 443 444 <issue 445 id="VisibleForTests" 446 message="This method should only be accessed from tests or within private scope" 447 errorLine1=" .setControlExecutor(MobileDataDownloadFactory.getControlExecutor())" 448 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 449 <location 450 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 451 line="736" 452 column="63"/> 453 </issue> 454 455 <issue 456 id="VisibleForTests" 457 message="This method should only be accessed from tests or within private scope" 458 errorLine1=" .setLoggerOptional(MobileDataDownloadFactory.getMddLogger(flags))" 459 errorLine2=" ~~~~~~~~~~~~"> 460 <location 461 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 462 line="741" 463 column="62"/> 464 </issue> 465 466 <issue 467 id="VisibleForTests" 468 message="This method should only be accessed from tests or within private scope" 469 errorLine1=" MobileDataDownloadFactory.getEncryptionKeysManifestPopulator(" 470 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 471 <location 472 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 473 line="756" 474 column="43"/> 475 </issue> 476 477 <issue 478 id="VisibleForTests" 479 message="This method should only be accessed from tests or within private scope" 480 errorLine1=" MobileDataDownloadFactory.getMeasurementManifestPopulator(" 481 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 482 <location 483 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 484 line="784" 485 column="43"/> 486 </issue> 487 488 <issue 489 id="VisibleForTests" 490 message="This method should only be accessed from tests or within private scope" 491 errorLine1=" MobileDataDownloadFactory.getTopicsManifestPopulator(" 492 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 493 <location 494 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 495 line="808" 496 column="43"/> 497 </issue> 498 499 <issue 500 id="VisibleForTests" 501 message="This method should only be accessed from tests or within private scope" 502 errorLine1=" MobileDataDownloadFactory.getUiOtaResourcesManifestPopulator(" 503 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 504 <location 505 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 506 line="829" 507 column="43"/> 508 </issue> 509 510 <issue 511 id="VisibleForTests" 512 message="This method should only be accessed from tests or within private scope" 513 errorLine1=" EncryptionKeyDao encryptionKeyDao = new EncryptionKeyDao(mDbHelper);" 514 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 515 <location 516 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 517 line="876" 518 column="45"/> 519 </issue> 520 521 <issue 522 id="VisibleForTests" 523 message="This method should only be accessed from tests or within private scope" 524 errorLine1=" new EncryptionDataDownloadManager(mMockFlags, encryptionKeyDao, mMockClock);" 525 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 526 <location 527 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 528 line="878" 529 column="17"/> 530 </issue> 531 532 <issue 533 id="VisibleForTests" 534 message="This method should only be accessed from tests or within private scope" 535 errorLine1=" EnrollmentDao enrollmentDao = new EnrollmentDao(mContext, mDbHelper, mMockFlags);" 536 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 537 <location 538 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 539 line="897" 540 column="39"/> 541 </issue> 542 543 <issue 544 id="VisibleForTests" 545 message="This method should only be accessed from tests or within private scope" 546 errorLine1=" new EnrollmentDataDownloadManager(mContext, mMockFlags);" 547 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 548 <location 549 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 550 line="904" 551 column="17"/> 552 </issue> 553 554 <issue 555 id="VisibleForTests" 556 message="This method should only be accessed from tests or within private scope" 557 errorLine1=" EncryptionKeyDao encryptionKeyDao = new EncryptionKeyDao(mDbHelper);" 558 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 559 <location 560 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/MobileDataDownloadTest.java" 561 line="906" 562 column="45"/> 563 </issue> 564 565 <issue 566 id="MissingVersion" 567 message="Should set `android:versionCode` to specify the application version" 568 errorLine1="<manifest xmlns:android="http://schemas.android.com/apk/res/android"" 569 errorLine2=" ~~~~~~~~"> 570 <location 571 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/service-core/AdExtServicesMddIntegrationTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 572 line="17" 573 column="2"/> 574 </issue> 575 576 <issue 577 id="MissingVersion" 578 message="Should set `android:versionName` to specify the application version" 579 errorLine1="<manifest xmlns:android="http://schemas.android.com/apk/res/android"" 580 errorLine2=" ~~~~~~~~"> 581 <location 582 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/service-core/AdExtServicesMddIntegrationTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 583 line="17" 584 column="2"/> 585 </issue> 586 587 <issue 588 id="HardcodedDebugMode" 589 message="Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one" 590 errorLine1=" android:debuggable="true"" 591 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 592 <location 593 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/service-core/AdExtServicesMddIntegrationTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 594 line="56" 595 column="9"/> 596 </issue> 597 598 <issue 599 id="QueryAllPackagesPermission" 600 message="A `<queries>` declaration should generally be used instead of QUERY_ALL_PACKAGES; see https://g.co/dev/packagevisibility for details" 601 errorLine1=" <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />" 602 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 603 <location 604 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/service-core/AdExtServicesMddIntegrationTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 605 line="33" 606 column="22"/> 607 </issue> 608 609 <issue 610 id="Recycle" 611 message="This `Cursor` should be freed up after use with `#close()`" 612 errorLine1=" Cursor cursor = db.rawQuery(query, null);" 613 errorLine2=" ~~~~~~~~"> 614 <location 615 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/DbTestUtil.java" 616 line="120" 617 column="28"/> 618 </issue> 619 620 <issue 621 id="Recycle" 622 message="This `Cursor` should be freed up after use with `#close()`" 623 errorLine1=" Cursor cursor = db.rawQuery(query, null);" 624 errorLine2=" ~~~~~~~~"> 625 <location 626 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/DbTestUtil.java" 627 line="136" 628 column="28"/> 629 </issue> 630 631 <issue 632 id="Recycle" 633 message="This `Cursor` should be freed up after use with `#close()`" 634 errorLine1=" Cursor cursor = db.rawQuery(query, null);" 635 errorLine2=" ~~~~~~~~"> 636 <location 637 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/DbTestUtil.java" 638 line="142" 639 column="28"/> 640 </issue> 641 642 <issue 643 id="StaticFieldLeak" 644 message="Do not place Android context classes in static fields; this is a memory leak" 645 errorLine1=" private static final Context sContext = ApplicationProvider.getApplicationContext();" 646 errorLine2=" ~~~~~~"> 647 <location 648 file="packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/DbTestUtil.java" 649 line="41" 650 column="13"/> 651 </issue> 652 653 <issue 654 id="MissingApplicationIcon" 655 message="Should explicitly set `android:icon`, there is no default" 656 errorLine1=" <application" 657 errorLine2=" ~~~~~~~~~~~"> 658 <location 659 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/service-core/AdExtServicesMddIntegrationTests/android_common/517e36bbdae437931ccf5a16a9e1f42d/manifest_merger/AndroidManifest.xml" 660 line="54" 661 column="6"/> 662 </issue> 663 664</issues> 665