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="ApplySharedPref" 6 message="Consider using `apply()` instead; `commit` writes its data to persistent storage immediately, whereas `apply` will handle it in the background" 7 errorLine1=" mSharedPreferences.edit().putString(USER_PROFILE_ID_KEY, userProfileId.toString()).commit();" 8 errorLine2=" ~~~~~~~~"> 9 <location 10 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/UserProfileIdDaoSharedPreferencesImpl.java" 11 line="91" 12 column="92"/> 13 </issue> 14 15 <issue 16 id="ApplySharedPref" 17 message="Consider using `apply()` instead; `commit` writes its data to persistent storage immediately, whereas `apply` will handle it in the background" 18 errorLine1=" .commit();" 19 errorLine2=" ~~~~~~~~"> 20 <location 21 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/UserProfileIdDaoSharedPreferencesImpl.java" 22 line="95" 23 column="18"/> 24 </issue> 25 26 <issue 27 id="ApplySharedPref" 28 message="Consider using `apply()` instead; `commit` writes its data to persistent storage immediately, whereas `apply` will handle it in the background" 29 errorLine1=" mSharedPreferences.edit().clear().commit();" 30 errorLine2=" ~~~~~~~~"> 31 <location 32 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/UserProfileIdDaoSharedPreferencesImpl.java" 33 line="100" 34 column="43"/> 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/service-core/java/com/android/adservices/data/topics/migration/AbstractTopicsDbMigrator.java" 44 line="69" 45 column="17"/> 46 </issue> 47 48 <issue 49 id="DefaultLocale" 50 message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." 51 errorLine1=" List<String> result = allHeaderFields.get(requiredField.toLowerCase());" 52 errorLine2=" ~~~~~~~~~~~"> 53 <location 54 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/AdServicesHttpsClient.java" 55 line="465" 56 column="65"/> 57 </issue> 58 59 <issue 60 id="DefaultLocale" 61 message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." 62 errorLine1=" resultMap.put(Objects.nonNull(key) ? key.toLowerCase() : null, value));" 63 errorLine2=" ~~~~~~~~~~~"> 64 <location 65 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/AdServicesHttpsClient.java" 66 line="477" 67 column="66"/> 68 </issue> 69 70 <issue 71 id="DefaultLocale" 72 message="Implicitly using the default locale is a common source of bugs: Use `toUpperCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." 73 errorLine1=" .toUpperCase();" 74 errorLine2=" ~~~~~~~~~~~"> 75 <location 76 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/AsyncSourceFetcher.java" 77 line="527" 78 column="34"/> 79 </issue> 80 81 <issue 82 id="DefaultLocale" 83 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 84 errorLine1=" writer.println(String.format("mCachedTopics size: %d", mCachedTopics.size()));" 85 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 86 <location 87 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/CacheManager.java" 88 line="471" 89 column="24"/> 90 </issue> 91 92 <issue 93 id="DefaultLocale" 94 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 95 errorLine1=" writer.println(String.format("mCachedBlockedTopics size: %d", mCachedBlockedTopics.size()));" 96 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 97 <location 98 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/CacheManager.java" 99 line="472" 100 column="24"/> 101 </issue> 102 103 <issue 104 id="DefaultLocale" 105 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 106 errorLine1=" writer.println(String.format("Epoch Id: %d \n", epochId));" 107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 108 <location 109 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/CacheManager.java" 110 line="475" 111 column="32"/> 112 </issue> 113 114 <issue 115 id="DefaultLocale" 116 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 117 errorLine1=" writer.println(String.format("Current epochId is %d", epochId));" 118 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 119 <location 120 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/EpochManager.java" 121 line="629" 122 column="24"/> 123 </issue> 124 125 <issue 126 id="InlinedApi" 127 message="Field requires API level 31 (current min is 30): `INVALID_API_TYPE`" 128 errorLine1=" String.format(Locale.ENGLISH, INVALID_API_TYPE, apiType));" 129 errorLine2=" ~~~~~~~~~~~~~~~~"> 130 <location 131 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/FledgeAllowListsFilter.java" 132 line="108" 133 column="51"/> 134 </issue> 135 136 <issue 137 id="NewApi" 138 message="Call requires API level 31 (current min is 30): `getScriptStrategy`" 139 errorLine1=" debugReporting.getScriptStrategy()," 140 errorLine2=" ~~~~~~~~~~~~~~~~~"> 141 <location 142 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/AdBidGeneratorImpl.java" 143 line="139" 144 column="40"/> 145 </issue> 146 147 <issue 148 id="NewApi" 149 message="Call requires API level 31 (current min is 30): `isEnabled`" 150 errorLine1=" mDebugReportingEnabled = debugReporting.isEnabled();" 151 errorLine2=" ~~~~~~~~~"> 152 <location 153 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/AdBidGeneratorImpl.java" 154 line="150" 155 column="49"/> 156 </issue> 157 158 <issue 159 id="NewApi" 160 message="Call requires API level 31 (current min is 30): `isEnabled`" 161 errorLine1=" mDebugReportingEnabled = debugReporting.isEnabled();" 162 errorLine2=" ~~~~~~~~~"> 163 <location 164 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/AdBidGeneratorImpl.java" 165 line="193" 166 column="49"/> 167 </issue> 168 169 <issue 170 id="NewApi" 171 message="Call requires API level 31 (current min is 30): `isEnabled`" 172 errorLine1=" mDebugReportingEnabled = debugReporting.isEnabled();" 173 errorLine2=" ~~~~~~~~~"> 174 <location 175 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/AdsScoreGeneratorImpl.java" 176 line="143" 177 column="49"/> 178 </issue> 179 180 <issue 181 id="NewApi" 182 message="Call requires API level 31 (current min is 30): `android.content.pm.PackageManager#getProperty`" 183 errorLine1=" pm.getProperty(AD_SERVICES_CONFIG_PROPERTY, appPackageName);" 184 errorLine2=" ~~~~~~~~~~~"> 185 <location 186 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/AppManifestConfigHelper.java" 187 line="200" 188 column="24"/> 189 </issue> 190 191 <issue 192 id="NewApi" 193 message="Call requires API level 31 (current min is 30): `android.content.pm.PackageManager.Property#getResourceId`" 194 errorLine1=" return property.getResourceId();" 195 errorLine2=" ~~~~~~~~~~~~~"> 196 <location 197 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/AppManifestConfigHelper.java" 198 line="201" 199 column="29"/> 200 </issue> 201 202 <issue 203 id="NewApi" 204 message="Call requires API level 31 (current min is 30): `org.json.JSONObject#keySet`" 205 errorLine1=" for (String id : aggregationKeys.keySet()) {" 206 errorLine2=" ~~~~~~"> 207 <location 208 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/AsyncSourceFetcher.java" 209 line="1154" 210 column="42"/> 211 </issue> 212 213 <issue 214 errorLine1=" this(FlagsFactory.getFlags(), MobileDataDownloadFactory.getFileStorage());" errorLine2=" ~~~~~~~~~~~~~~" 215 id="NewApi" 216 message="Call requires API level 31 (current min is 30): `getFileStorage`"> 217 <location 218 column="65" 219 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/CobaltDownloadRegistryManager.java" 220 line="61" /> 221 </issue> 222 223 <issue 224 errorLine1=" MobileDataDownload mdd = MobileDataDownloadFactory.getMdd(mFlags);" errorLine2=" ~~~~~~" 225 id="NewApi" 226 message="Call requires API level 31 (current min is 30): `getMdd`"> 227 <location 228 column="60" 229 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/CobaltDownloadRegistryManager.java" 230 line="70" /> 231 </issue> 232 233 234 <issue 235 id="NewApi" 236 message="Call requires API level 31 (current min is 30): `EnableAdServicesCommand`" 237 errorLine1=" return new EnableAdServicesCommand();" 238 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 239 <location 240 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/CommonShellCommandFactory.java" 241 line="85" 242 column="24"/> 243 </issue> 244 245 <issue 246 id="NewApi" 247 message="Call requires API level 31 (current min is 30): `ResetConsentCommand`" 248 errorLine1=" return new ResetConsentCommand();" 249 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 250 <location 251 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/CommonShellCommandFactory.java" 252 line="87" 253 column="24"/> 254 </issue> 255 256 <issue 257 id="NewApi" 258 message="Extending DebugReporting requires API level 31 (current min is 30): `DebugReporting`" 259 errorLine1="public class DebugReportingDisabled extends DebugReporting {" 260 errorLine2=" ~~~~~~~~~~~~~~"> 261 <location 262 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/DebugReportingDisabled.java" 263 line="20" 264 column="45"/> 265 </issue> 266 267 <issue 268 id="NewApi" 269 message="Call requires API level 31 (current min is 30): `org.json.JSONObject#keySet`" 270 errorLine1=" for (String key : jsonObject.keySet()) {" 271 errorLine2=" ~~~~~~"> 272 <location 273 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/Source.java" 274 line="1052" 275 column="38"/> 276 </issue> 277 278 <issue 279 id="NewApi" 280 message="Call requires API level 31 (current min is 30): `org.json.JSONObject#keySet`" 281 errorLine1=" for (String key : values.keySet()) {" 282 errorLine2=" ~~~~~~"> 283 <location 284 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/Trigger.java" 285 line="441" 286 column="34"/> 287 </issue> 288 289 <issue 290 id="WrongConstant" 291 message="Must be one of: ConsentManager.NO_MANUAL_INTERACTIONS_RECORDED, ConsentManager.UNKNOWN, ConsentManager.MANUAL_INTERACTIONS_RECORDED" 292 errorLine1=" return dao.getValue();" 293 errorLine2=" ~~~~~~~~~~~~~~"> 294 <location 295 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/AppSearchInteractionsDao.java" 296 line="246" 297 column="16"/> 298 </issue> 299 300 <issue 301 id="InvalidAdServicesJobService" 302 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 303 errorLine1=" MEASUREMENT_AGGREGATE_FALLBACK_REPORTING_JOB.getJobId();" 304 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 305 <location 306 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/AggregateFallbackReportingJobService.java" 307 line="55" 308 column="13"/> 309 </issue> 310 311 <issue 312 id="InvalidAdServicesJobService" 313 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 314 errorLine1=" MEASUREMENT_AGGREGATE_MAIN_REPORTING_JOB.getJobId();" 315 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 316 <location 317 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/AggregateReportingJobService.java" 318 line="54" 319 column="13"/> 320 </issue> 321 322 <issue 323 id="InvalidAdServicesJobService" 324 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 325 errorLine1=" MEASUREMENT_ASYNC_REGISTRATION_FALLBACK_JOB.getJobId();" 326 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 327 <location 328 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/AsyncRegistrationFallbackJobService.java" 329 line="58" 330 column="13"/> 331 </issue> 332 333 <issue 334 id="InvalidAdServicesJobService" 335 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 336 errorLine1=" MEASUREMENT_ASYNC_REGISTRATION_JOB.getJobId();" 337 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 338 <location 339 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/AsyncRegistrationQueueJobService.java" 340 line="50" 341 column="13"/> 342 </issue> 343 344 <issue 345 id="InvalidAdServicesJobService" 346 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 347 errorLine1=" MEASUREMENT_ATTRIBUTION_FALLBACK_JOB.getJobId();" 348 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 349 <location 350 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/AttributionFallbackJobService.java" 351 line="56" 352 column="13"/> 353 </issue> 354 355 <issue 356 id="InvalidAdServicesJobService" 357 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 358 errorLine1=" MEASUREMENT_ATTRIBUTION_JOB.getJobId();" 359 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 360 <location 361 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/AttributionJobService.java" 362 line="57" 363 column="13"/> 364 </issue> 365 366 <issue 367 id="InvalidAdServicesJobService" 368 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 369 errorLine1=" FLEDGE_BACKGROUND_FETCH_JOB.getJobId();" 370 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 371 <location 372 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/BackgroundFetchJobService.java" 373 line="63" 374 column="13"/> 375 </issue> 376 377 <issue 378 id="InvalidAdServicesJobService" 379 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 380 errorLine1=" FLEDGE_AD_SELECTION_ENCRYPTION_KEY_FETCH_JOB.getJobId();" 381 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 382 <location 383 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/BackgroundKeyFetchJobService.java" 384 line="60" 385 column="13"/> 386 </issue> 387 388 <issue 389 id="InvalidAdServicesJobService" 390 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 391 errorLine1=" private static final int COBALT_LOGGING_JOB_ID = COBALT_LOGGING_JOB.getJobId();" 392 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 393 <location 394 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/CobaltJobService.java" 395 line="54" 396 column="54"/> 397 </issue> 398 399 <issue 400 id="InvalidAdServicesJobService" 401 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 402 errorLine1=" static final int CONSENT_NOTIFICATION_JOB_ID = CONSENT_NOTIFICATION_JOB.getJobId();" 403 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 404 <location 405 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ConsentNotificationJobService.java" 406 line="67" 407 column="52"/> 408 </issue> 409 410 <issue 411 id="InvalidAdServicesJobService" 412 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 413 errorLine1=" FLEDGE_AD_SELECTION_DEBUG_REPORT_SENDER_JOB.getJobId();" 414 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 415 <location 416 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/DebugReportSenderJobService.java" 417 line="61" 418 column="13"/> 419 </issue> 420 421 <issue 422 id="InvalidAdServicesJobService" 423 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 424 errorLine1=" MEASUREMENT_DEBUG_REPORTING_FALLBACK_JOB.getJobId();" 425 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 426 <location 427 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/DebugReportingFallbackJobService.java" 428 line="58" 429 column="13"/> 430 </issue> 431 432 <issue 433 id="InvalidAdServicesJobService" 434 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 435 errorLine1=" static final int DEBUG_REPORT_JOB_ID = MEASUREMENT_DEBUG_REPORT_JOB.getJobId();" 436 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 437 <location 438 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/DebugReportingJobService.java" 439 line="54" 440 column="44"/> 441 </issue> 442 443 <issue 444 id="InvalidAdServicesJobService" 445 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 446 errorLine1=" MEASUREMENT_DELETE_EXPIRED_JOB.getJobId();" 447 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 448 <location 449 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/DeleteExpiredJobService.java" 450 line="46" 451 column="13"/> 452 </issue> 453 454 <issue 455 id="InvalidAdServicesJobService" 456 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 457 errorLine1=" MEASUREMENT_DELETE_UNINSTALLED_JOB.getJobId();" 458 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 459 <location 460 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/DeleteUninstalledJobService.java" 461 line="50" 462 column="13"/> 463 </issue> 464 465 <issue 466 id="InvalidAdServicesJobService" 467 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 468 errorLine1=" private static final int ENCRYPTION_KEY_JOB_ID = ENCRYPTION_KEY_PERIODIC_JOB.getJobId();" 469 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 470 <location 471 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/EncryptionKeyJobService.java" 472 line="48" 473 column="54"/> 474 </issue> 475 476 <issue 477 id="InvalidAdServicesJobService" 478 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 479 errorLine1=" private static final int TOPICS_EPOCH_JOB_ID = TOPICS_EPOCH_JOB.getJobId();" 480 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 481 <location 482 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/EpochJobService.java" 483 line="60" 484 column="52"/> 485 </issue> 486 487 <issue 488 id="InvalidAdServicesJobService" 489 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 490 errorLine1=" MEASUREMENT_EVENT_FALLBACK_REPORTING_JOB.getJobId();" 491 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 492 <location 493 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/EventFallbackReportingJobService.java" 494 line="54" 495 column="13"/> 496 </issue> 497 498 <issue 499 id="InvalidAdServicesJobService" 500 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 501 errorLine1=" MEASUREMENT_EVENT_MAIN_REPORTING_JOB.getJobId();" 502 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 503 <location 504 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/EventReportingJobService.java" 505 line="52" 506 column="13"/> 507 </issue> 508 509 <issue 510 id="InvalidAdServicesJobService" 511 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 512 errorLine1=" MEASUREMENT_IMMEDIATE_AGGREGATE_REPORTING_JOB.getJobId();" 513 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 514 <location 515 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ImmediateAggregateReportingJobService.java" 516 line="55" 517 column="13"/> 518 </issue> 519 520 <issue 521 id="InvalidAdServicesJobService" 522 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 523 errorLine1=" private static final int MAINTENANCE_JOB_ID = MAINTENANCE_JOB.getJobId();" 524 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 525 <location 526 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/MaintenanceJobService.java" 527 line="54" 528 column="51"/> 529 </issue> 530 531 <issue 532 id="InvalidAdServicesJobService" 533 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 534 errorLine1=" PERIODIC_SIGNALS_ENCODING_JOB.getJobId();" 535 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 536 <location 537 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/PeriodicEncodingJobService.java" 538 line="55" 539 column="13"/> 540 </issue> 541 542 <issue 543 id="InvalidAdServicesJobService" 544 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 545 errorLine1=" SCHEDULE_CUSTOM_AUDIENCE_UPDATE_BACKGROUND_JOB.getJobId();" 546 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 547 <location 548 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ScheduleCustomAudienceUpdateJobService.java" 549 line="57" 550 column="13"/> 551 </issue> 552 553 <issue 554 id="InvalidAdServicesJobService" 555 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 556 errorLine1=" MEASUREMENT_VERBOSE_DEBUG_REPORTING_FALLBACK_JOB.getJobId();" 557 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 558 <location 559 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/VerboseDebugReportingFallbackJobService.java" 560 line="57" 561 column="13"/> 562 </issue> 563 564 <issue 565 id="InvalidAdServicesJobService" 566 message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition." 567 errorLine1=" static final int VERBOSE_DEBUG_REPORT_JOB_ID = MEASUREMENT_VERBOSE_DEBUG_REPORT_JOB.getJobId();" 568 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 569 <location 570 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/VerboseDebugReportingJobService.java" 571 line="53" 572 column="52"/> 573 </issue> 574 575 <issue 576 id="JobSchedulerService" 577 message="Did not find a manifest registration for this service" 578 errorLine1=" new ComponentName(context, AggregateFallbackReportingJobService.class))" 579 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 580 <location 581 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/AggregateFallbackReportingJobService.java" 582 line="154" 583 column="52"/> 584 </issue> 585 586 <issue 587 id="JobSchedulerService" 588 message="Did not find a manifest registration for this service" 589 errorLine1=" new ComponentName(context, AggregateReportingJobService.class))" 590 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 591 <location 592 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/AggregateReportingJobService.java" 593 line="182" 594 column="60"/> 595 </issue> 596 597 <issue 598 id="JobSchedulerService" 599 message="Did not find a manifest registration for this service" 600 errorLine1=" new ComponentName(context, AsyncRegistrationFallbackJobService.class))" 601 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 602 <location 603 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/AsyncRegistrationFallbackJobService.java" 604 line="192" 605 column="52"/> 606 </issue> 607 608 <issue 609 id="JobSchedulerService" 610 message="Did not find a manifest registration for this service" 611 errorLine1=" new ComponentName(context, AsyncRegistrationQueueJobService.class))" 612 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 613 <location 614 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/AsyncRegistrationQueueJobService.java" 615 line="157" 616 column="52"/> 617 </issue> 618 619 <issue 620 id="JobSchedulerService" 621 message="Did not find a manifest registration for this service" 622 errorLine1=" new ComponentName(context, AsyncRegistrationQueueJobService.class))" 623 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 624 <location 625 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/AsyncRegistrationQueueJobService.java" 626 line="243" 627 column="60"/> 628 </issue> 629 630 <issue 631 id="JobSchedulerService" 632 message="Did not find a manifest registration for this service" 633 errorLine1=" new ComponentName(context, AttributionFallbackJobService.class))" 634 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 635 <location 636 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/AttributionFallbackJobService.java" 637 line="156" 638 column="52"/> 639 </issue> 640 641 <issue 642 id="JobSchedulerService" 643 message="Did not find a manifest registration for this service" 644 errorLine1=" new ComponentName(context, AttributionJobService.class))" 645 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 646 <location 647 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/AttributionJobService.java" 648 line="177" 649 column="52"/> 650 </issue> 651 652 <issue 653 id="JobSchedulerService" 654 message="Did not find a manifest registration for this service" 655 errorLine1=" new ComponentName(context, AttributionJobService.class))" 656 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 657 <location 658 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/AttributionJobService.java" 659 line="237" 660 column="60"/> 661 </issue> 662 663 <issue 664 id="JobSchedulerService" 665 message="Did not find a manifest registration for this service" 666 errorLine1=" new ComponentName(context, BackgroundFetchJobService.class))" 667 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 668 <location 669 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/BackgroundFetchJobService.java" 670 line="265" 671 column="60"/> 672 </issue> 673 674 <issue 675 id="JobSchedulerService" 676 message="Did not find a manifest registration for this service" 677 errorLine1=" new ComponentName(context, BackgroundKeyFetchJobService.class))" 678 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 679 <location 680 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/BackgroundKeyFetchJobService.java" 681 line="242" 682 column="60"/> 683 </issue> 684 685 <issue 686 id="JobSchedulerService" 687 message="Did not find a manifest registration for this service" 688 errorLine1=" new ComponentName(context, CobaltJobService.class))" 689 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 690 <location 691 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/CobaltJobService.java" 692 line="151" 693 column="60"/> 694 </issue> 695 696 <issue 697 id="JobSchedulerService" 698 message="Did not find a manifest registration for this service" 699 errorLine1=" new ComponentName(context, ConsentNotificationJobService.class))" 700 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 701 <location 702 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ConsentNotificationJobService.java" 703 line="112" 704 column="60"/> 705 </issue> 706 707 <issue 708 id="JobSchedulerService" 709 message="Did not find a manifest registration for this service" 710 errorLine1=" new ComponentName(context, DebugReportSenderJobService.class))" 711 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 712 <location 713 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/DebugReportSenderJobService.java" 714 line="249" 715 column="60"/> 716 </issue> 717 718 <issue 719 id="JobSchedulerService" 720 message="Did not find a manifest registration for this service" 721 errorLine1=" new ComponentName(context, DebugReportingFallbackJobService.class))" 722 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 723 <location 724 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/DebugReportingFallbackJobService.java" 725 line="179" 726 column="52"/> 727 </issue> 728 729 <issue 730 id="JobSchedulerService" 731 message="Did not find a manifest registration for this service" 732 errorLine1=" new ComponentName(context, DebugReportingJobService.class))" 733 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 734 <location 735 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/DebugReportingJobService.java" 736 line="143" 737 column="52"/> 738 </issue> 739 740 <issue 741 id="JobSchedulerService" 742 message="Did not find a manifest registration for this service" 743 errorLine1=" new ComponentName(context, DeleteExpiredJobService.class))" 744 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 745 <location 746 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/DeleteExpiredJobService.java" 747 line="160" 748 column="52"/> 749 </issue> 750 751 <issue 752 id="JobSchedulerService" 753 message="Did not find a manifest registration for this service" 754 errorLine1=" new ComponentName(context, DeleteUninstalledJobService.class))" 755 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 756 <location 757 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/DeleteUninstalledJobService.java" 758 line="143" 759 column="52"/> 760 </issue> 761 762 <issue 763 id="JobSchedulerService" 764 message="Did not find a manifest registration for this service" 765 errorLine1=" new ComponentName(context, EncryptionKeyJobService.class))" 766 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 767 <location 768 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/EncryptionKeyJobService.java" 769 line="160" 770 column="52"/> 771 </issue> 772 773 <issue 774 id="JobSchedulerService" 775 message="Did not find a manifest registration for this service" 776 errorLine1=" new ComponentName(context, EpochJobService.class))" 777 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 778 <location 779 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/EpochJobService.java" 780 line="179" 781 column="52"/> 782 </issue> 783 784 <issue 785 id="JobSchedulerService" 786 message="Did not find a manifest registration for this service" 787 errorLine1=" new ComponentName(context, EventFallbackReportingJobService.class))" 788 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 789 <location 790 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/EventFallbackReportingJobService.java" 791 line="182" 792 column="52"/> 793 </issue> 794 795 <issue 796 id="JobSchedulerService" 797 message="Did not find a manifest registration for this service" 798 errorLine1=" new ComponentName(context, EventReportingJobService.class))" 799 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 800 <location 801 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/EventReportingJobService.java" 802 line="175" 803 column="52"/> 804 </issue> 805 806 <issue 807 id="JobSchedulerService" 808 message="Did not find a manifest registration for this service" 809 errorLine1=" new ComponentName(context, ImmediateAggregateReportingJobService.class))" 810 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 811 <location 812 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ImmediateAggregateReportingJobService.java" 813 line="188" 814 column="52"/> 815 </issue> 816 817 <issue 818 id="JobSchedulerService" 819 message="Did not find a manifest registration for this service" 820 errorLine1=" new ComponentName(context, KAnonSignJoinBackgroundJobService.class))" 821 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 822 <location 823 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/KAnonSignJoinBackgroundJobService.java" 824 line="161" 825 column="60"/> 826 </issue> 827 828 <issue 829 id="JobSchedulerService" 830 message="Did not find a manifest registration for this service" 831 errorLine1=" new ComponentName(context, MaintenanceJobService.class))" 832 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 833 <location 834 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/MaintenanceJobService.java" 835 line="193" 836 column="60"/> 837 </issue> 838 839 <issue 840 id="JobSchedulerService" 841 message="Did not find a manifest registration for this service" 842 errorLine1=" new ComponentName(context, MddJobService.class))" 843 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 844 <location 845 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/MddJobService.java" 846 line="391" 847 column="60"/> 848 </issue> 849 850 <issue 851 id="JobSchedulerService" 852 message="Did not find a manifest registration for this service" 853 errorLine1=" new ComponentName(context, PeriodicEncodingJobService.class))" 854 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 855 <location 856 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/PeriodicEncodingJobService.java" 857 line="207" 858 column="60"/> 859 </issue> 860 861 <issue 862 id="JobSchedulerService" 863 message="Did not find a manifest registration for this service" 864 errorLine1=" new ComponentName(context, ReportingJobService.class))" 865 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 866 <location 867 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ReportingJobService.java" 868 line="295" 869 column="60"/> 870 </issue> 871 872 <issue 873 id="JobSchedulerService" 874 message="Did not find a manifest registration for this service" 875 errorLine1=" context, ScheduleCustomAudienceUpdateJobService.class))" 876 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 877 <location 878 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ScheduleCustomAudienceUpdateJobService.java" 879 line="203" 880 column="50"/> 881 </issue> 882 883 <issue 884 id="JobSchedulerService" 885 message="Did not find a manifest registration for this service" 886 errorLine1=" new ComponentName(context, VerboseDebugReportingFallbackJobService.class))" 887 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 888 <location 889 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/VerboseDebugReportingFallbackJobService.java" 890 line="165" 891 column="52"/> 892 </issue> 893 894 <issue 895 id="JobSchedulerService" 896 message="Did not find a manifest registration for this service" 897 errorLine1=" new ComponentName(context, VerboseDebugReportingJobService.class))" 898 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 899 <location 900 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/VerboseDebugReportingJobService.java" 901 line="143" 902 column="52"/> 903 </issue> 904 905 <issue 906 id="VisibleForTests" 907 message="This method should only be accessed from tests or within private scope" 908 errorLine1=" resultOutcomeJson.optString(SelectAdsFromOutcomesArgumentUtil.ID_FIELD_NAME));" 909 errorLine2=" ~~~~~~~~~~~~~"> 910 <location 911 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/AdSelectionScriptEngine.java" 912 line="660" 913 column="83"/> 914 </issue> 915 916 <issue 917 id="VisibleForTests" 918 message="This method should only be accessed from tests or within private scope" 919 errorLine1=" AppManifestAdSelectionConfig::getEnabledByDefaultInstance);" 920 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 921 <location 922 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/AppManifestConfig.java" 923 line="170" 924 column="17"/> 925 </issue> 926 927 <issue 928 id="VisibleForTests" 929 message="This method should only be accessed from tests or within private scope" 930 errorLine1=" VIOLATION_ACTIVATE_AFTER_MAX_ACTIVATE," 931 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 932 <location 933 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceActivationTimeValidator.java" 934 line="81" 935 column="29"/> 936 </issue> 937 938 <issue 939 id="VisibleForTests" 940 message="This method should only be accessed from tests or within private scope" 941 errorLine1=" CUSTOM_AUDIENCE_CLASS_NAME," 942 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 943 <location 944 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceAdsValidator.java" 945 line="86" 946 column="29"/> 947 </issue> 948 949 <issue 950 id="VisibleForTests" 951 message="This method should only be accessed from tests or within private scope" 952 errorLine1=" VIOLATION_TOTAL_ADS_SIZE_TOO_BIG," 953 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 954 <location 955 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceAdsValidator.java" 956 line="152" 957 column="29"/> 958 </issue> 959 960 <issue 961 id="VisibleForTests" 962 message="This method should only be accessed from tests or within private scope" 963 errorLine1=" VIOLATION_TOTAL_ADS_COUNT_TOO_BIG," 964 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 965 <location 966 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceAdsValidator.java" 967 line="162" 968 column="29"/> 969 </issue> 970 971 <issue 972 id="VisibleForTests" 973 message="This method should only be accessed from tests or within private scope" 974 errorLine1=" CUSTOM_AUDIENCE_CLASS_NAME," 975 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 976 <location 977 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceBiddingLogicUriValidator.java" 978 line="65" 979 column="29"/> 980 </issue> 981 982 <issue 983 id="VisibleForTests" 984 message="This method should only be accessed from tests or within private scope" 985 errorLine1=" CUSTOM_AUDIENCE_CLASS_NAME," 986 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 987 <location 988 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceBiddingLogicUriValidator.java" 989 line="111" 990 column="25"/> 991 </issue> 992 993 <issue 994 id="VisibleForTests" 995 message="This method should only be accessed from tests or within private scope" 996 errorLine1=" BIDDING_LOGIC_URI_FIELD_NAME);" 997 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 998 <location 999 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceBiddingLogicUriValidator.java" 1000 line="112" 1001 column="25"/> 1002 </issue> 1003 1004 <issue 1005 id="VisibleForTests" 1006 message="This method should only be accessed from tests or within private scope" 1007 errorLine1=" VIOLATION_BIDDING_LOGIC_URI_TOO_LONG," 1008 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1009 <location 1010 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceBiddingLogicUriValidator.java" 1011 line="122" 1012 column="29"/> 1013 </issue> 1014 1015 <issue 1016 id="VisibleForTests" 1017 message="This method should only be accessed from tests or within private scope" 1018 errorLine1=" CUSTOM_AUDIENCE_CLASS_NAME," 1019 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1020 <location 1021 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceDailyUpdateUriValidator.java" 1022 line="65" 1023 column="29"/> 1024 </issue> 1025 1026 <issue 1027 id="VisibleForTests" 1028 message="This method should only be accessed from tests or within private scope" 1029 errorLine1=" CUSTOM_AUDIENCE_CLASS_NAME," 1030 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1031 <location 1032 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceDailyUpdateUriValidator.java" 1033 line="111" 1034 column="25"/> 1035 </issue> 1036 1037 <issue 1038 id="VisibleForTests" 1039 message="This method should only be accessed from tests or within private scope" 1040 errorLine1=" DAILY_UPDATE_URI_FIELD_NAME);" 1041 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1042 <location 1043 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceDailyUpdateUriValidator.java" 1044 line="112" 1045 column="25"/> 1046 </issue> 1047 1048 <issue 1049 id="VisibleForTests" 1050 message="This method should only be accessed from tests or within private scope" 1051 errorLine1=" VIOLATION_DAILY_UPDATE_URI_TOO_LONG," 1052 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1053 <location 1054 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceDailyUpdateUriValidator.java" 1055 line="121" 1056 column="29"/> 1057 </issue> 1058 1059 <issue 1060 id="VisibleForTests" 1061 message="This method should only be accessed from tests or within private scope" 1062 errorLine1=" CUSTOM_AUDIENCE_CLASS_NAME," 1063 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1064 <location 1065 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceExpirationTimeValidator.java" 1066 line="70" 1067 column="29"/> 1068 </issue> 1069 1070 <issue 1071 id="VisibleForTests" 1072 message="This method should only be accessed from tests or within private scope" 1073 errorLine1=" Locale.ENGLISH, VIOLATION_EXPIRE_BEFORE_CURRENT_TIME, expirationTime));" 1074 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1075 <location 1076 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceExpirationTimeValidator.java" 1077 line="120" 1078 column="45"/> 1079 </issue> 1080 1081 <issue 1082 id="VisibleForTests" 1083 message="This method should only be accessed from tests or within private scope" 1084 errorLine1=" VIOLATION_EXPIRE_BEFORE_ACTIVATION," 1085 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1086 <location 1087 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceExpirationTimeValidator.java" 1088 line="126" 1089 column="29"/> 1090 </issue> 1091 1092 <issue 1093 id="VisibleForTests" 1094 message="This method should only be accessed from tests or within private scope" 1095 errorLine1=" VIOLATION_EXPIRE_AFTER_MAX_EXPIRE_TIME," 1096 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1097 <location 1098 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceExpirationTimeValidator.java" 1099 line="134" 1100 column="29"/> 1101 </issue> 1102 1103 <issue 1104 id="VisibleForTests" 1105 message="This method should only be accessed from tests or within private scope" 1106 errorLine1=" VIOLATION_NAME_TOO_LONG," 1107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 1108 <location 1109 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceNameValidator.java" 1110 line="62" 1111 column="29"/> 1112 </issue> 1113 1114 <issue 1115 id="VisibleForTests" 1116 message="This method should only be accessed from tests or within private scope" 1117 errorLine1=" VIOLATION_USER_BIDDING_SIGNAL_TOO_BIG," 1118 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1119 <location 1120 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/CustomAudienceUserBiddingSignalsValidator.java" 1121 line="80" 1122 column="29"/> 1123 </issue> 1124 1125 <issue 1126 id="VisibleForTests" 1127 message="This method should only be accessed from tests or within private scope" 1128 errorLine1=" mContext.getSharedPreferences(ENROLLMENT_SHARED_PREF, Context.MODE_PRIVATE);" 1129 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1130 <location 1131 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/EnrollmentDataDownloadManager.java" 1132 line="407" 1133 column="47"/> 1134 </issue> 1135 1136 <issue 1137 id="VisibleForTests" 1138 message="This method should only be accessed from tests or within private scope" 1139 errorLine1=" edit.putInt(BUILD_ID, buildId.intValue());" 1140 errorLine2=" ~~~~~~~~"> 1141 <location 1142 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/EnrollmentDataDownloadManager.java" 1143 line="409" 1144 column="21"/> 1145 </issue> 1146 1147 <issue 1148 id="VisibleForTests" 1149 message="This method should only be accessed from tests or within private scope" 1150 errorLine1=" edit.putInt(FILE_GROUP_STATUS, fileGroupStatus.getNumber());" 1151 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1152 <location 1153 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/EnrollmentDataDownloadManager.java" 1154 line="410" 1155 column="21"/> 1156 </issue> 1157 1158 <issue 1159 id="VisibleForTests" 1160 message="This method should only be accessed from tests or within private scope" 1161 errorLine1=" ENROLLMENT_SHARED_PREF, BUILD_ID, FILE_GROUP_STATUS);" 1162 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1163 <location 1164 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/EnrollmentDataDownloadManager.java" 1165 line="414" 1166 column="21"/> 1167 </issue> 1168 1169 <issue 1170 id="VisibleForTests" 1171 message="This method should only be accessed from tests or within private scope" 1172 errorLine1=" ENROLLMENT_SHARED_PREF, BUILD_ID, FILE_GROUP_STATUS);" 1173 errorLine2=" ~~~~~~~~"> 1174 <location 1175 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/EnrollmentDataDownloadManager.java" 1176 line="414" 1177 column="45"/> 1178 </issue> 1179 1180 <issue 1181 id="VisibleForTests" 1182 message="This method should only be accessed from tests or within private scope" 1183 errorLine1=" ENROLLMENT_SHARED_PREF, BUILD_ID, FILE_GROUP_STATUS);" 1184 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1185 <location 1186 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/EnrollmentDataDownloadManager.java" 1187 line="414" 1188 column="55"/> 1189 </issue> 1190 1191 <issue 1192 id="VisibleForTests" 1193 message="This method should only be accessed from tests or within package private scope" 1194 errorLine1=" TopicsTables.TopTopicsContract.TABLE," 1195 errorLine2=" ~~~~~"> 1196 <location 1197 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/EpochManager.java" 1198 line="72" 1199 column="56"/> 1200 </issue> 1201 1202 <issue 1203 id="VisibleForTests" 1204 message="This method should only be accessed from tests or within package private scope" 1205 errorLine1=" TopicsTables.TopTopicsContract.EPOCH_ID)," 1206 errorLine2=" ~~~~~~~~"> 1207 <location 1208 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/EpochManager.java" 1209 line="73" 1210 column="56"/> 1211 </issue> 1212 1213 <issue 1214 id="VisibleForTests" 1215 message="This method should only be accessed from tests or within private scope" 1216 errorLine1=" CustomAudienceBlobValidator.CLASS_NAME," 1217 errorLine2=" ~~~~~~~~~~"> 1218 <location 1219 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/FetchCustomAudienceImpl.java" 1220 line="233" 1221 column="69"/> 1222 </issue> 1223 1224 <issue 1225 id="VisibleForTests" 1226 message="This method should only be accessed from tests or within private scope" 1227 errorLine1=" CustomAudienceBlobValidator.CLASS_NAME, AD_TECH_ROLE_BUYER)," 1228 errorLine2=" ~~~~~~~~~~"> 1229 <location 1230 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/FetchCustomAudienceImpl.java" 1231 line="241" 1232 column="61"/> 1233 </issue> 1234 1235 <issue 1236 id="VisibleForTests" 1237 message="This method should only be accessed from tests or within private scope" 1238 errorLine1=" String.format(Locale.ENGLISH, INVALID_API_TYPE, apiType));" 1239 errorLine2=" ~~~~~~~~~~~~~~~~"> 1240 <location 1241 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/FledgeAllowListsFilter.java" 1242 line="108" 1243 column="51"/> 1244 </issue> 1245 1246 <issue 1247 id="VisibleForTests" 1248 message="This method should only be accessed from tests or within private scope" 1249 errorLine1=" throw new IllegalStateException(ERROR_NO_VALID_BIDS_OR_CONTEXTUAL_ADS_FOR_SCORING);" 1250 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1251 <location 1252 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/OnDeviceAdSelectionRunner.java" 1253 line="481" 1254 column="45"/> 1255 </issue> 1256 1257 <issue 1258 id="VisibleForTests" 1259 message="This method should only be accessed from tests or within private scope" 1260 errorLine1=" throw new IllegalStateException(ERROR_NO_WINNING_AD_FOUND);" 1261 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 1262 <location 1263 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/OnDeviceAdSelectionRunner.java" 1264 line="533" 1265 column="45"/> 1266 </issue> 1267 1268 <issue 1269 id="VisibleForTests" 1270 message="This method should only be accessed from tests or within private scope" 1271 errorLine1=" VIOLATION_TRUSTED_BIDDING_DATA_TOO_BIG," 1272 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1273 <location 1274 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/TrustedBiddingDataValidator.java" 1275 line="127" 1276 column="29"/> 1277 </issue> 1278 1279 <issue 1280 id="UnclosedTrace" 1281 message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may throw an exception" 1282 errorLine1=" Trace.beginSection("AdServicesCommonService#EnableAdServices_UxEngineFlow");" 1283 errorLine2=" ~~~~~~~~~~~~"> 1284 <location 1285 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/AdServicesCommonServiceImpl.java" 1286 line="362" 1287 column="31"/> 1288 </issue> 1289 1290 <issue 1291 id="UnclosedTrace" 1292 message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may throw an exception" 1293 errorLine1=" Trace.beginSection("ConsentManager#WriteOperation");" 1294 errorLine2=" ~~~~~~~~~~~~"> 1295 <location 1296 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ConsentManager.java" 1297 line="2648" 1298 column="15"/> 1299 </issue> 1300 1301 <issue 1302 id="UnclosedTrace" 1303 message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may throw an exception" 1304 errorLine1=" Trace.beginSection("ConsentManager#ReadOperation");" 1305 errorLine2=" ~~~~~~~~~~~~"> 1306 <location 1307 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ConsentManager.java" 1308 line="2714" 1309 column="15"/> 1310 </issue> 1311 1312 <issue 1313 id="ExpiredTargetSdkVersion" 1314 message="Google Play requires that apps target API level 33 or higher." 1315 errorLine1=" <uses-sdk android:minSdkVersion="30" android:targetSdkVersion="16"/>" 1316 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1317 <location 1318 file="./out/soong/.intermediates/packages/modules/AdServices/adservices/service-core/adservices-service-core/android_common/manifest_fixer/AndroidManifest.xml" 1319 line="18" 1320 column="42"/> 1321 </issue> 1322 1323 <issue 1324 id="NewAdServicesFile" 1325 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1326 errorLine1=" return mContext.getSharedPreferences(SHARED_PREFS_IAPC, Context.MODE_PRIVATE);" 1327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1328 <location 1329 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/AdIdCacheManager.java" 1330 line="278" 1331 column="25"/> 1332 </issue> 1333 1334 <issue 1335 id="NewAdServicesFile" 1336 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1337 errorLine1=" mContext.getSharedPreferences(" 1338 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1339 <location 1340 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/AdServicesCommonServiceImpl.java" 1341 line="222" 1342 column="42"/> 1343 </issue> 1344 1345 <issue 1346 id="NewAdServicesFile" 1347 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1348 errorLine1=" mContext.getSharedPreferences(" 1349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1350 <location 1351 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/AdServicesCommonServiceImpl.java" 1352 line="288" 1353 column="34"/> 1354 </issue> 1355 1356 <issue 1357 id="NewAdServicesFile" 1358 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1359 errorLine1=" context.getSharedPreferences(SHARED_PREFS_BLOCKED_TOPICS, Context.MODE_PRIVATE);" 1360 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1361 <location 1362 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/BlockedTopicsManager.java" 1363 line="409" 1364 column="25"/> 1365 </issue> 1366 1367 <issue 1368 id="NewAdServicesFile" 1369 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1370 errorLine1=" context.getSharedPreferences(SHARED_PREFS_BLOCKED_TOPICS, Context.MODE_PRIVATE);" 1371 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1372 <location 1373 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/BlockedTopicsManager.java" 1374 line="437" 1375 column="25"/> 1376 </issue> 1377 1378 <issue 1379 id="NewAdServicesFile" 1380 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1381 errorLine1=" context.getSharedPreferences(SHARED_PREFS_BLOCKED_TOPICS, Context.MODE_PRIVATE);" 1382 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1383 <location 1384 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/BlockedTopicsManager.java" 1385 line="476" 1386 column="25"/> 1387 </issue> 1388 1389 <issue 1390 id="NewAdServicesFile" 1391 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1392 errorLine1=" context.getSharedPreferences(" 1393 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1394 <location 1395 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ConsentManager.java" 1396 line="1808" 1397 column="29"/> 1398 </issue> 1399 1400 <issue 1401 id="NewAdServicesFile" 1402 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1403 errorLine1=" context.getSharedPreferences(" 1404 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1405 <location 1406 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ConsentManager.java" 1407 line="1904" 1408 column="25"/> 1409 </issue> 1410 1411 <issue 1412 id="NewAdServicesFile" 1413 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1414 errorLine1=" context.getSharedPreferences(" 1415 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1416 <location 1417 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ConsentManager.java" 1418 line="1941" 1419 column="25"/> 1420 </issue> 1421 1422 <issue 1423 id="NewAdServicesFile" 1424 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1425 errorLine1=" context.getSharedPreferences(" 1426 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1427 <location 1428 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ConsentManager.java" 1429 line="2064" 1430 column="29"/> 1431 </issue> 1432 1433 <issue 1434 id="NewAdServicesFile" 1435 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1436 errorLine1=" context.getSharedPreferences(" 1437 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1438 <location 1439 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ConsentNotificationJobService.java" 1440 line="87" 1441 column="25"/> 1442 </issue> 1443 1444 <issue 1445 id="NewAdServicesFile" 1446 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1447 errorLine1=" mContext.getSharedPreferences(ENROLLMENT_SHARED_PREF, Context.MODE_PRIVATE);" 1448 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1449 <location 1450 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/EnrollmentDao.java" 1451 line="131" 1452 column="26"/> 1453 </issue> 1454 1455 <issue 1456 id="NewAdServicesFile" 1457 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1458 errorLine1=" mContext.getSharedPreferences(ENROLLMENT_SHARED_PREF, Context.MODE_PRIVATE);" 1459 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1460 <location 1461 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/EnrollmentDao.java" 1462 line="151" 1463 column="34"/> 1464 </issue> 1465 1466 <issue 1467 id="NewAdServicesFile" 1468 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1469 errorLine1=" mContext.getSharedPreferences(ENROLLMENT_SHARED_PREF, Context.MODE_PRIVATE);" 1470 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1471 <location 1472 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/EnrollmentDao.java" 1473 line="173" 1474 column="26"/> 1475 </issue> 1476 1477 <issue 1478 id="NewAdServicesFile" 1479 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1480 errorLine1=" mContext.getSharedPreferences(" 1481 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1482 <location 1483 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/EnrollmentDataDownloadManager.java" 1484 line="169" 1485 column="26"/> 1486 </issue> 1487 1488 <issue 1489 id="NewAdServicesFile" 1490 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1491 errorLine1=" mContext.getSharedPreferences(ENROLLMENT_SHARED_PREF, Context.MODE_PRIVATE);" 1492 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1493 <location 1494 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/EnrollmentDataDownloadManager.java" 1495 line="407" 1496 column="26"/> 1497 </issue> 1498 1499 <issue 1500 id="NewAdServicesFile" 1501 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1502 errorLine1=" mContext.getSharedPreferences(ENROLLMENT_SHARED_PREF, Context.MODE_PRIVATE);" 1503 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1504 <location 1505 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/enrollment/EnrollmentUtil.java" 1506 line="55" 1507 column="26"/> 1508 </issue> 1509 1510 <issue 1511 id="NewAdServicesFile" 1512 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1513 errorLine1=" mContext.getSharedPreferences(ENROLLMENT_SHARED_PREF, Context.MODE_PRIVATE);" 1514 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1515 <location 1516 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/enrollment/EnrollmentUtil.java" 1517 line="62" 1518 column="26"/> 1519 </issue> 1520 1521 <issue 1522 id="NewAdServicesFile" 1523 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1524 errorLine1=" context.getSharedPreferences(MDD_METADATA_SHARED_PREFERENCES, Context.MODE_PRIVATE);" 1525 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1526 <location 1527 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/MobileDataDownloadFactory.java" 1528 line="235" 1529 column="25"/> 1530 </issue> 1531 1532 <issue 1533 id="NewAdServicesFile" 1534 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1535 errorLine1=" context.getSharedPreferences(STORAGE_NAME, Context.MODE_PRIVATE)," 1536 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1537 <location 1538 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/UserProfileIdDaoSharedPreferencesImpl.java" 1539 line="67" 1540 column="41"/> 1541 </issue> 1542 1543 <issue 1544 id="NewAdServicesFile" 1545 message="Please use FileCompatUtils to ensure any newly added files have a name that begins with "adservices" or create the files in a subdirectory called "adservices/"" 1546 errorLine1=" context.getSharedPreferences("UX_SHARED_PREFERENCES", Context.MODE_PRIVATE);" 1547 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1548 <location 1549 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/data/UxStatesManager.java" 1550 line="74" 1551 column="25"/> 1552 </issue> 1553 1554 <issue 1555 id="RoomDatabaseChange" 1556 message="autoMigrations in androidx.room.Database should contain migration path in increment of 1 from 1 to DATABASE_VERSION." 1557 errorLine1="@Database(" 1558 errorLine2="^"> 1559 <location 1560 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/CustomAudienceDatabase.java" 1561 line="41" 1562 column="1"/> 1563 </issue> 1564 1565 <issue 1566 id="StaticFieldLeak" 1567 message="Do not place Android context classes in static fields (static reference to `AdServicesJobScheduler` which has field `sContext` pointing to `Context`); this is a memory leak" 1568 errorLine1=" private static volatile AdServicesJobScheduler sSingleton;" 1569 errorLine2=" ~~~~~~"> 1570 <location 1571 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/spe/AdServicesJobScheduler.java" 1572 line="35" 1573 column="13"/> 1574 </issue> 1575 1576 <issue 1577 id="StaticFieldLeak" 1578 message="Do not place Android context classes in static fields (static reference to `AsyncRegistrationQueueRunner` which has field `mContext` pointing to `Context`); this is a memory leak" 1579 errorLine1=" private static AsyncRegistrationQueueRunner sAsyncRegistrationQueueRunner;" 1580 errorLine2=" ~~~~~~"> 1581 <location 1582 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/AsyncRegistrationQueueRunner.java" 1583 line="71" 1584 column="13"/> 1585 </issue> 1586 1587 <issue 1588 id="StaticFieldLeak" 1589 message="Do not place Android context classes in static fields (static reference to `EnrollmentDao` which has field `mContext` pointing to `Context`); this is a memory leak" 1590 errorLine1=" private static EnrollmentDao sSingleton;" 1591 errorLine2=" ~~~~~~"> 1592 <location 1593 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/EnrollmentDao.java" 1594 line="69" 1595 column="13"/> 1596 </issue> 1597 1598 <issue 1599 id="StaticFieldLeak" 1600 message="Do not place Android context classes in static fields (static reference to `EnrollmentUtil` which has field `mContext` pointing to `Context`); this is a memory leak" 1601 errorLine1=" private static EnrollmentUtil sSingleton;" 1602 errorLine2=" ~~~~~~"> 1603 <location 1604 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/enrollment/EnrollmentUtil.java" 1605 line="31" 1606 column="13"/> 1607 </issue> 1608 1609 <issue 1610 id="StaticFieldLeak" 1611 message="Do not place Android context classes in static fields (static reference to `MeasurementImpl` which has field `mContext` pointing to `Context`); this is a memory leak" 1612 errorLine1=" private static volatile MeasurementImpl sMeasurementImpl;" 1613 errorLine2=" ~~~~~~"> 1614 <location 1615 file="packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/MeasurementImpl.java" 1616 line="87" 1617 column="13"/> 1618 </issue> 1619 1620</issues> 1621