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="FlaggedApi" 6 message="Method `getRetainedKeys()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `DownloadCompletedOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 7 errorLine1=" this(value.getRetainedKeys());" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/DownloadCompletedOutputParcel.java" 11 line="42" 12 column="14"/> 13 </issue> 14 15 <issue 16 id="FlaggedApi" 17 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 18 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 19 errorLine2=" ~~~~~~~"> 20 <location 21 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventInputParcel.java" 22 line="117" 23 column="126"/> 24 </issue> 25 26 <issue 27 id="FlaggedApi" 28 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 29 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 30 errorLine2=" ~~~~~~~~~~~~~~~~"> 31 <location 32 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventInputParcel.java" 33 line="117" 34 column="72"/> 35 </issue> 36 37 <issue 38 id="FlaggedApi" 39 message="Method `getEventLogRecord()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 40 errorLine1=" this(value.getEventLogRecord());" 41 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 42 <location 43 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventOutputParcel.java" 44 line="40" 45 column="14"/> 46 </issue> 47 48 <issue 49 id="FlaggedApi" 50 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 51 errorLine1=" EventLogRecord eventLogRecord = (flg & 0x1) == 0 ? null : (EventLogRecord) in.readTypedObject(EventLogRecord.CREATOR);" 52 errorLine2=" ~~~~~~~"> 53 <location 54 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventOutputParcel.java" 55 line="108" 56 column="118"/> 57 </issue> 58 59 <issue 60 id="FlaggedApi" 61 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 62 errorLine1=" EventLogRecord eventLogRecord = (flg & 0x1) == 0 ? null : (EventLogRecord) in.readTypedObject(EventLogRecord.CREATOR);" 63 errorLine2=" ~~~~~~~~~~~~~~"> 64 <location 65 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventOutputParcel.java" 66 line="108" 67 column="68"/> 68 </issue> 69 70 <issue 71 id="FlaggedApi" 72 message="Method `getEventLogRecords()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 73 errorLine1=" this(value.getRequestLogRecord(), value.getRenderingConfig(), value.getEventLogRecords()," 74 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 75 <location 76 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 77 line="72" 78 column="71"/> 79 </issue> 80 81 <issue 82 id="FlaggedApi" 83 message="Method `getRenderingConfig()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 84 errorLine1=" this(value.getRequestLogRecord(), value.getRenderingConfig(), value.getEventLogRecords()," 85 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 86 <location 87 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 88 line="72" 89 column="43"/> 90 </issue> 91 92 <issue 93 id="FlaggedApi" 94 message="Method `getRequestLogRecord()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 95 errorLine1=" this(value.getRequestLogRecord(), value.getRenderingConfig(), value.getEventLogRecords()," 96 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 97 <location 98 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 99 line="72" 100 column="14"/> 101 </issue> 102 103 <issue 104 id="FlaggedApi" 105 message="Method `getOutputData()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 106 errorLine1=" value.getOutputData());" 107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 108 <location 109 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 110 line="73" 111 column="17"/> 112 </issue> 113 114 <issue 115 id="FlaggedApi" 116 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 117 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 118 errorLine2=" ~~~~~~~"> 119 <location 120 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 121 line="203" 122 column="126"/> 123 </issue> 124 125 <issue 126 id="FlaggedApi" 127 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 128 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 129 errorLine2=" ~~~~~~~~~~~~~~~~"> 130 <location 131 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 132 line="203" 133 column="72"/> 134 </issue> 135 136 <issue 137 id="FlaggedApi" 138 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 139 errorLine1=" RenderingConfig renderingConfig = (flg & 0x2) == 0 ? null : (RenderingConfig) in.readTypedObject(RenderingConfig.CREATOR);" 140 errorLine2=" ~~~~~~~"> 141 <location 142 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 143 line="204" 144 column="122"/> 145 </issue> 146 147 <issue 148 id="FlaggedApi" 149 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 150 errorLine1=" RenderingConfig renderingConfig = (flg & 0x2) == 0 ? null : (RenderingConfig) in.readTypedObject(RenderingConfig.CREATOR);" 151 errorLine2=" ~~~~~~~~~~~~~~~"> 152 <location 153 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 154 line="204" 155 column="70"/> 156 </issue> 157 158 <issue 159 id="FlaggedApi" 160 message="Class `EventLogRecord` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 161 errorLine1=" in.readParcelableList(eventLogRecords, EventLogRecord.class.getClassLoader());" 162 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 163 <location 164 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 165 line="206" 166 column="48"/> 167 </issue> 168 169 <issue 170 id="FlaggedApi" 171 message="Field `MODEL_TYPE_TENSORFLOW_LITE` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 172 errorLine1=" InferenceInput.Params.MODEL_TYPE_TENSORFLOW_LITE;" 173 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 174 <location 175 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 176 line="60" 177 column="35"/> 178 </issue> 179 180 <issue 181 id="FlaggedApi" 182 message="Method `getKeyValueStore()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 183 errorLine1=" .setTableId(value.getParams().getKeyValueStore().getTableId())" 184 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 185 <location 186 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 187 line="73" 188 column="37"/> 189 </issue> 190 191 <issue 192 id="FlaggedApi" 193 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 194 errorLine1=" .setTableId(value.getParams().getKeyValueStore().getTableId())" 195 errorLine2=" ~~~~~~~~~~~~~~~~~"> 196 <location 197 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 198 line="73" 199 column="37"/> 200 </issue> 201 202 <issue 203 id="FlaggedApi" 204 message="Method `getTableId()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 205 errorLine1=" .setTableId(value.getParams().getKeyValueStore().getTableId())" 206 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 207 <location 208 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 209 line="73" 210 column="37"/> 211 </issue> 212 213 <issue 214 id="FlaggedApi" 215 message="Method `getModelKey()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 216 errorLine1=" .setKey(value.getParams().getModelKey())" 217 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 220 line="74" 221 column="33"/> 222 </issue> 223 224 <issue 225 id="FlaggedApi" 226 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 227 errorLine1=" .setKey(value.getParams().getModelKey())" 228 errorLine2=" ~~~~~~~~~~~~~~~~~"> 229 <location 230 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 231 line="74" 232 column="33"/> 233 </issue> 234 235 <issue 236 id="FlaggedApi" 237 message="Method `getDelegateType()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 238 errorLine1=" value.getParams().getDelegateType()," 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 242 line="76" 243 column="17"/> 244 </issue> 245 246 <issue 247 id="FlaggedApi" 248 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 249 errorLine1=" value.getParams().getDelegateType()," 250 errorLine2=" ~~~~~~~~~~~~~~~~~"> 251 <location 252 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 253 line="76" 254 column="17"/> 255 </issue> 256 257 <issue 258 id="FlaggedApi" 259 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 260 errorLine1=" value.getParams().getRecommendedNumThreads()," 261 errorLine2=" ~~~~~~~~~~~~~~~~~"> 262 <location 263 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 264 line="77" 265 column="17"/> 266 </issue> 267 268 <issue 269 id="FlaggedApi" 270 message="Method `getRecommendedNumThreads()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 271 errorLine1=" value.getParams().getRecommendedNumThreads()," 272 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 273 <location 274 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 275 line="77" 276 column="17"/> 277 </issue> 278 279 <issue 280 id="FlaggedApi" 281 message="Method `getInputData()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 282 errorLine1=" ByteArrayParceledListSlice.create(value.getInputData())," 283 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 284 <location 285 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 286 line="78" 287 column="51"/> 288 </issue> 289 290 <issue 291 id="FlaggedApi" 292 message="Method `getBatchSize()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 293 errorLine1=" value.getBatchSize()," 294 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 295 <location 296 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 297 line="79" 298 column="17"/> 299 </issue> 300 301 <issue 302 id="FlaggedApi" 303 message="Method `getModelType()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 304 errorLine1=" value.getParams().getModelType()," 305 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 306 <location 307 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 308 line="80" 309 column="17"/> 310 </issue> 311 312 <issue 313 id="FlaggedApi" 314 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 315 errorLine1=" value.getParams().getModelType()," 316 errorLine2=" ~~~~~~~~~~~~~~~~~"> 317 <location 318 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 319 line="80" 320 column="17"/> 321 </issue> 322 323 <issue 324 id="FlaggedApi" 325 message="Method `getExpectedOutputStructure()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 326 errorLine1=" new InferenceOutputParcel(value.getExpectedOutputStructure()));" 327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 328 <location 329 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 330 line="81" 331 column="43"/> 332 </issue> 333 334 <issue 335 id="FlaggedApi" 336 message="Class `InferenceInput.Params.Delegate` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 337 errorLine1=" AnnotationValidations.validate(InferenceInput.Params.Delegate.class, null, mDelegate);" 338 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 339 <location 340 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 341 line="129" 342 column="40"/> 343 </issue> 344 345 <issue 346 id="FlaggedApi" 347 message="Class `InferenceInput.Params.ModelType` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 348 errorLine1=" AnnotationValidations.validate(InferenceInput.Params.ModelType.class, null, mModelType);" 349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 350 <location 351 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 352 line="136" 353 column="40"/> 354 </issue> 355 356 <issue 357 id="FlaggedApi" 358 message="Class `InferenceInput.Params.Delegate` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 359 errorLine1=" AnnotationValidations.validate(InferenceInput.Params.Delegate.class, null, mDelegate);" 360 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 361 <location 362 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 363 line="239" 364 column="40"/> 365 </issue> 366 367 <issue 368 id="FlaggedApi" 369 message="Class `InferenceInput.Params.ModelType` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 370 errorLine1=" AnnotationValidations.validate(InferenceInput.Params.ModelType.class, null, mModelType);" 371 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 372 <location 373 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 374 line="246" 375 column="40"/> 376 </issue> 377 378 <issue 379 id="FlaggedApi" 380 message="Method `getDataOutputs()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 381 errorLine1=" this(value.getDataOutputs());" 382 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 383 <location 384 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceOutputParcel.java" 385 line="44" 386 column="14"/> 387 </issue> 388 389 <issue 390 id="FlaggedApi" 391 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 392 errorLine1="public class LocalDataImpl implements MutableKeyValueStore {" 393 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 394 <location 395 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/LocalDataImpl.java" 396 line="37" 397 column="39"/> 398 </issue> 399 400 <issue 401 id="FlaggedApi" 402 message="Method `getAppPackageName()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 403 errorLine1=" this(params.getDestinationUrl(), params.getAppPackageName(), params.getIsolatedService()," 404 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 405 <location 406 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 407 line="70" 408 column="42"/> 409 </issue> 410 411 <issue 412 id="FlaggedApi" 413 message="Method `getDestinationUrl()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 414 errorLine1=" this(params.getDestinationUrl(), params.getAppPackageName(), params.getIsolatedService()," 415 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 416 <location 417 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 418 line="70" 419 column="14"/> 420 </issue> 421 422 <issue 423 id="FlaggedApi" 424 message="Method `getIsolatedService()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 425 errorLine1=" this(params.getDestinationUrl(), params.getAppPackageName(), params.getIsolatedService()," 426 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 427 <location 428 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 429 line="70" 430 column="70"/> 431 </issue> 432 433 <issue 434 id="FlaggedApi" 435 message="Method `getCertDigest()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 436 errorLine1=" params.getCertDigest(), params.getEventData());" 437 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 438 <location 439 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 440 line="71" 441 column="17"/> 442 </issue> 443 444 <issue 445 id="FlaggedApi" 446 message="Method `getEventData()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 447 errorLine1=" params.getCertDigest(), params.getEventData());" 448 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 449 <location 450 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 451 line="71" 452 column="41"/> 453 </issue> 454 455 <issue 456 id="FlaggedApi" 457 message="Class `OnDevicePersonalizationManager` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 458 errorLine1=" ON_DEVICE_PERSONALIZATION_SERVICE, OnDevicePersonalizationManager.class," 459 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 460 <location 461 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 462 line="55" 463 column="52"/> 464 </issue> 465 466 <issue 467 id="FlaggedApi" 468 message="Field `ON_DEVICE_PERSONALIZATION_SERVICE` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 469 errorLine1=" ON_DEVICE_PERSONALIZATION_SERVICE, OnDevicePersonalizationManager.class," 470 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 471 <location 472 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 473 line="55" 474 column="17"/> 475 </issue> 476 477 <issue 478 id="FlaggedApi" 479 message="Method `OnDevicePersonalizationManager()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 480 errorLine1=" (c) -> new OnDevicePersonalizationManager(c));" 481 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 482 <location 483 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 484 line="56" 485 column="24"/> 486 </issue> 487 488 <issue 489 id="FlaggedApi" 490 message="Field `ON_DEVICE_PERSONALIZATION_CONFIG_SERVICE` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 491 errorLine1=" ON_DEVICE_PERSONALIZATION_CONFIG_SERVICE," 492 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 493 <location 494 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 495 line="58" 496 column="17"/> 497 </issue> 498 499 <issue 500 id="FlaggedApi" 501 message="Class `OnDevicePersonalizationConfigManager` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 502 errorLine1=" OnDevicePersonalizationConfigManager.class," 503 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 504 <location 505 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 506 line="59" 507 column="17"/> 508 </issue> 509 510 <issue 511 id="FlaggedApi" 512 message="Method `OnDevicePersonalizationConfigManager()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 513 errorLine1=" (c) -> new OnDevicePersonalizationConfigManager(c));" 514 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 515 <location 516 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 517 line="60" 518 column="24"/> 519 </issue> 520 521 <issue 522 id="FlaggedApi" 523 message="Field `ON_DEVICE_PERSONALIZATION_SYSTEM_EVENT_SERVICE` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 524 errorLine1=" ON_DEVICE_PERSONALIZATION_SYSTEM_EVENT_SERVICE," 525 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 526 <location 527 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 528 line="65" 529 column="17"/> 530 </issue> 531 532 <issue 533 id="FlaggedApi" 534 message="Class `OnDevicePersonalizationSystemEventManager` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 535 errorLine1=" OnDevicePersonalizationSystemEventManager.class," 536 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 537 <location 538 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 539 line="66" 540 column="17"/> 541 </issue> 542 543 <issue 544 id="FlaggedApi" 545 message="Method `OnDevicePersonalizationSystemEventManager()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 546 errorLine1=" (c) -> new OnDevicePersonalizationSystemEventManager(c));" 547 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 548 <location 549 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 550 line="67" 551 column="24"/> 552 </issue> 553 554 <issue 555 id="FlaggedApi" 556 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 557 errorLine1="public class RemoteDataImpl implements KeyValueStore {" 558 errorLine2=" ~~~~~~~~~~~~~"> 559 <location 560 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RemoteDataImpl.java" 561 line="37" 562 column="40"/> 563 </issue> 564 565 <issue 566 id="FlaggedApi" 567 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 568 errorLine1=" RenderingConfig renderingConfig = (flg & 0x4) == 0 ? null : (RenderingConfig) in.readTypedObject(RenderingConfig.CREATOR);" 569 errorLine2=" ~~~~~~~"> 570 <location 571 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderInputParcel.java" 572 line="122" 573 column="122"/> 574 </issue> 575 576 <issue 577 id="FlaggedApi" 578 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 579 errorLine1=" RenderingConfig renderingConfig = (flg & 0x4) == 0 ? null : (RenderingConfig) in.readTypedObject(RenderingConfig.CREATOR);" 580 errorLine2=" ~~~~~~~~~~~~~~~"> 581 <location 582 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderInputParcel.java" 583 line="122" 584 column="70"/> 585 </issue> 586 587 <issue 588 id="FlaggedApi" 589 message="Method `getContent()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 590 errorLine1=" this(value.getContent(), value.getTemplateId(), value.getTemplateParams());" 591 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 592 <location 593 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderOutputParcel.java" 594 line="55" 595 column="14"/> 596 </issue> 597 598 <issue 599 id="FlaggedApi" 600 message="Method `getTemplateId()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 601 errorLine1=" this(value.getContent(), value.getTemplateId(), value.getTemplateParams());" 602 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 603 <location 604 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderOutputParcel.java" 605 line="55" 606 column="34"/> 607 </issue> 608 609 <issue 610 id="FlaggedApi" 611 message="Method `getTemplateParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 612 errorLine1=" this(value.getContent(), value.getTemplateId(), value.getTemplateParams());" 613 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 614 <location 615 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderOutputParcel.java" 616 line="55" 617 column="57"/> 618 </issue> 619 620 <issue 621 id="FlaggedApi" 622 message="Method `getEventLogRecords()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 623 errorLine1=" this(value.getRequestLogRecord(), value.getEventLogRecords());" 624 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 625 <location 626 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 627 line="55" 628 column="43"/> 629 </issue> 630 631 <issue 632 id="FlaggedApi" 633 message="Method `getRequestLogRecord()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 634 errorLine1=" this(value.getRequestLogRecord(), value.getEventLogRecords());" 635 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 636 <location 637 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 638 line="55" 639 column="14"/> 640 </issue> 641 642 <issue 643 id="FlaggedApi" 644 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 645 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 646 errorLine2=" ~~~~~~~"> 647 <location 648 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 649 line="146" 650 column="126"/> 651 </issue> 652 653 <issue 654 id="FlaggedApi" 655 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 656 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 657 errorLine2=" ~~~~~~~~~~~~~~~~"> 658 <location 659 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 660 line="146" 661 column="72"/> 662 </issue> 663 664 <issue 665 id="FlaggedApi" 666 message="Class `EventLogRecord` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 667 errorLine1=" in.readParcelableList(eventLogRecords, EventLogRecord.class.getClassLoader());" 668 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 669 <location 670 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 671 line="148" 672 column="48"/> 673 </issue> 674 675 <issue 676 id="FlaggedApi" 677 message="Method `getRetainedKeys()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `DownloadCompletedOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 678 errorLine1=" this(value.getRetainedKeys());" 679 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 680 <location 681 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/DownloadCompletedOutputParcel.java" 682 line="42" 683 column="14"/> 684 </issue> 685 686 <issue 687 id="FlaggedApi" 688 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 689 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 690 errorLine2=" ~~~~~~~"> 691 <location 692 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventInputParcel.java" 693 line="117" 694 column="126"/> 695 </issue> 696 697 <issue 698 id="FlaggedApi" 699 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 700 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 701 errorLine2=" ~~~~~~~~~~~~~~~~"> 702 <location 703 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventInputParcel.java" 704 line="117" 705 column="72"/> 706 </issue> 707 708 <issue 709 id="FlaggedApi" 710 message="Method `getEventLogRecord()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 711 errorLine1=" this(value.getEventLogRecord());" 712 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 713 <location 714 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventOutputParcel.java" 715 line="40" 716 column="14"/> 717 </issue> 718 719 <issue 720 id="FlaggedApi" 721 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 722 errorLine1=" EventLogRecord eventLogRecord = (flg & 0x1) == 0 ? null : (EventLogRecord) in.readTypedObject(EventLogRecord.CREATOR);" 723 errorLine2=" ~~~~~~~"> 724 <location 725 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventOutputParcel.java" 726 line="108" 727 column="118"/> 728 </issue> 729 730 <issue 731 id="FlaggedApi" 732 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `EventOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 733 errorLine1=" EventLogRecord eventLogRecord = (flg & 0x1) == 0 ? null : (EventLogRecord) in.readTypedObject(EventLogRecord.CREATOR);" 734 errorLine2=" ~~~~~~~~~~~~~~"> 735 <location 736 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/EventOutputParcel.java" 737 line="108" 738 column="68"/> 739 </issue> 740 741 <issue 742 id="FlaggedApi" 743 message="Method `getEventLogRecords()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 744 errorLine1=" this(value.getRequestLogRecord(), value.getRenderingConfig(), value.getEventLogRecords()," 745 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 746 <location 747 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 748 line="72" 749 column="71"/> 750 </issue> 751 752 <issue 753 id="FlaggedApi" 754 message="Method `getRenderingConfig()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 755 errorLine1=" this(value.getRequestLogRecord(), value.getRenderingConfig(), value.getEventLogRecords()," 756 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 757 <location 758 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 759 line="72" 760 column="43"/> 761 </issue> 762 763 <issue 764 id="FlaggedApi" 765 message="Method `getRequestLogRecord()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 766 errorLine1=" this(value.getRequestLogRecord(), value.getRenderingConfig(), value.getEventLogRecords()," 767 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 768 <location 769 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 770 line="72" 771 column="14"/> 772 </issue> 773 774 <issue 775 id="FlaggedApi" 776 message="Method `getOutputData()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 777 errorLine1=" value.getOutputData());" 778 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 779 <location 780 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 781 line="73" 782 column="17"/> 783 </issue> 784 785 <issue 786 id="FlaggedApi" 787 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 788 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 789 errorLine2=" ~~~~~~~"> 790 <location 791 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 792 line="203" 793 column="126"/> 794 </issue> 795 796 <issue 797 id="FlaggedApi" 798 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 799 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 800 errorLine2=" ~~~~~~~~~~~~~~~~"> 801 <location 802 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 803 line="203" 804 column="72"/> 805 </issue> 806 807 <issue 808 id="FlaggedApi" 809 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 810 errorLine1=" RenderingConfig renderingConfig = (flg & 0x2) == 0 ? null : (RenderingConfig) in.readTypedObject(RenderingConfig.CREATOR);" 811 errorLine2=" ~~~~~~~"> 812 <location 813 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 814 line="204" 815 column="122"/> 816 </issue> 817 818 <issue 819 id="FlaggedApi" 820 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 821 errorLine1=" RenderingConfig renderingConfig = (flg & 0x2) == 0 ? null : (RenderingConfig) in.readTypedObject(RenderingConfig.CREATOR);" 822 errorLine2=" ~~~~~~~~~~~~~~~"> 823 <location 824 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 825 line="204" 826 column="70"/> 827 </issue> 828 829 <issue 830 id="FlaggedApi" 831 message="Class `EventLogRecord` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `ExecuteOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 832 errorLine1=" in.readParcelableList(eventLogRecords, EventLogRecord.class.getClassLoader());" 833 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 834 <location 835 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ExecuteOutputParcel.java" 836 line="206" 837 column="48"/> 838 </issue> 839 840 <issue 841 id="FlaggedApi" 842 message="Field `MODEL_TYPE_TENSORFLOW_LITE` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 843 errorLine1=" InferenceInput.Params.MODEL_TYPE_TENSORFLOW_LITE;" 844 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 845 <location 846 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 847 line="60" 848 column="35"/> 849 </issue> 850 851 <issue 852 id="FlaggedApi" 853 message="Method `getKeyValueStore()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 854 errorLine1=" .setTableId(value.getParams().getKeyValueStore().getTableId())" 855 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 856 <location 857 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 858 line="73" 859 column="37"/> 860 </issue> 861 862 <issue 863 id="FlaggedApi" 864 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 865 errorLine1=" .setTableId(value.getParams().getKeyValueStore().getTableId())" 866 errorLine2=" ~~~~~~~~~~~~~~~~~"> 867 <location 868 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 869 line="73" 870 column="37"/> 871 </issue> 872 873 <issue 874 id="FlaggedApi" 875 message="Method `getTableId()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 876 errorLine1=" .setTableId(value.getParams().getKeyValueStore().getTableId())" 877 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 878 <location 879 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 880 line="73" 881 column="37"/> 882 </issue> 883 884 <issue 885 id="FlaggedApi" 886 message="Method `getModelKey()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 887 errorLine1=" .setKey(value.getParams().getModelKey())" 888 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 889 <location 890 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 891 line="74" 892 column="33"/> 893 </issue> 894 895 <issue 896 id="FlaggedApi" 897 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 898 errorLine1=" .setKey(value.getParams().getModelKey())" 899 errorLine2=" ~~~~~~~~~~~~~~~~~"> 900 <location 901 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 902 line="74" 903 column="33"/> 904 </issue> 905 906 <issue 907 id="FlaggedApi" 908 message="Method `getDelegateType()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 909 errorLine1=" value.getParams().getDelegateType()," 910 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 911 <location 912 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 913 line="76" 914 column="17"/> 915 </issue> 916 917 <issue 918 id="FlaggedApi" 919 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 920 errorLine1=" value.getParams().getDelegateType()," 921 errorLine2=" ~~~~~~~~~~~~~~~~~"> 922 <location 923 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 924 line="76" 925 column="17"/> 926 </issue> 927 928 <issue 929 id="FlaggedApi" 930 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 931 errorLine1=" value.getParams().getRecommendedNumThreads()," 932 errorLine2=" ~~~~~~~~~~~~~~~~~"> 933 <location 934 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 935 line="77" 936 column="17"/> 937 </issue> 938 939 <issue 940 id="FlaggedApi" 941 message="Method `getRecommendedNumThreads()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 942 errorLine1=" value.getParams().getRecommendedNumThreads()," 943 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 944 <location 945 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 946 line="77" 947 column="17"/> 948 </issue> 949 950 <issue 951 id="FlaggedApi" 952 message="Method `getInputData()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 953 errorLine1=" ByteArrayParceledListSlice.create(value.getInputData())," 954 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 955 <location 956 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 957 line="78" 958 column="51"/> 959 </issue> 960 961 <issue 962 id="FlaggedApi" 963 message="Method `getBatchSize()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 964 errorLine1=" value.getBatchSize()," 965 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 966 <location 967 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 968 line="79" 969 column="17"/> 970 </issue> 971 972 <issue 973 id="FlaggedApi" 974 message="Method `getModelType()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 975 errorLine1=" value.getParams().getModelType()," 976 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 977 <location 978 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 979 line="80" 980 column="17"/> 981 </issue> 982 983 <issue 984 id="FlaggedApi" 985 message="Method `getParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 986 errorLine1=" value.getParams().getModelType()," 987 errorLine2=" ~~~~~~~~~~~~~~~~~"> 988 <location 989 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 990 line="80" 991 column="17"/> 992 </issue> 993 994 <issue 995 id="FlaggedApi" 996 message="Method `getExpectedOutputStructure()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 997 errorLine1=" new InferenceOutputParcel(value.getExpectedOutputStructure()));" 998 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 999 <location 1000 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 1001 line="81" 1002 column="43"/> 1003 </issue> 1004 1005 <issue 1006 id="FlaggedApi" 1007 message="Class `InferenceInput.Params.Delegate` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1008 errorLine1=" AnnotationValidations.validate(InferenceInput.Params.Delegate.class, null, mDelegate);" 1009 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1010 <location 1011 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 1012 line="129" 1013 column="40"/> 1014 </issue> 1015 1016 <issue 1017 id="FlaggedApi" 1018 message="Class `InferenceInput.Params.ModelType` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1019 errorLine1=" AnnotationValidations.validate(InferenceInput.Params.ModelType.class, null, mModelType);" 1020 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1021 <location 1022 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 1023 line="136" 1024 column="40"/> 1025 </issue> 1026 1027 <issue 1028 id="FlaggedApi" 1029 message="Class `InferenceInput.Params.Delegate` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1030 errorLine1=" AnnotationValidations.validate(InferenceInput.Params.Delegate.class, null, mDelegate);" 1031 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1032 <location 1033 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 1034 line="239" 1035 column="40"/> 1036 </issue> 1037 1038 <issue 1039 id="FlaggedApi" 1040 message="Class `InferenceInput.Params.ModelType` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1041 errorLine1=" AnnotationValidations.validate(InferenceInput.Params.ModelType.class, null, mModelType);" 1042 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1043 <location 1044 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceInputParcel.java" 1045 line="246" 1046 column="40"/> 1047 </issue> 1048 1049 <issue 1050 id="FlaggedApi" 1051 message="Method `getDataOutputs()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `InferenceOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1052 errorLine1=" this(value.getDataOutputs());" 1053 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1054 <location 1055 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/InferenceOutputParcel.java" 1056 line="44" 1057 column="14"/> 1058 </issue> 1059 1060 <issue 1061 id="FlaggedApi" 1062 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1063 errorLine1="public class LocalDataImpl implements MutableKeyValueStore {" 1064 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1065 <location 1066 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/LocalDataImpl.java" 1067 line="37" 1068 column="39"/> 1069 </issue> 1070 1071 <issue 1072 id="FlaggedApi" 1073 message="Method `getAppPackageName()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1074 errorLine1=" this(params.getDestinationUrl(), params.getAppPackageName(), params.getIsolatedService()," 1075 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1076 <location 1077 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 1078 line="70" 1079 column="42"/> 1080 </issue> 1081 1082 <issue 1083 id="FlaggedApi" 1084 message="Method `getDestinationUrl()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1085 errorLine1=" this(params.getDestinationUrl(), params.getAppPackageName(), params.getIsolatedService()," 1086 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1087 <location 1088 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 1089 line="70" 1090 column="14"/> 1091 </issue> 1092 1093 <issue 1094 id="FlaggedApi" 1095 message="Method `getIsolatedService()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1096 errorLine1=" this(params.getDestinationUrl(), params.getAppPackageName(), params.getIsolatedService()," 1097 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1098 <location 1099 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 1100 line="70" 1101 column="70"/> 1102 </issue> 1103 1104 <issue 1105 id="FlaggedApi" 1106 message="Method `getCertDigest()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1107 errorLine1=" params.getCertDigest(), params.getEventData());" 1108 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1109 <location 1110 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 1111 line="71" 1112 column="17"/> 1113 </issue> 1114 1115 <issue 1116 id="FlaggedApi" 1117 message="Method `getEventData()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `MeasurementWebTriggerEventParamsParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1118 errorLine1=" params.getCertDigest(), params.getEventData());" 1119 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 1120 <location 1121 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/MeasurementWebTriggerEventParamsParcel.java" 1122 line="71" 1123 column="41"/> 1124 </issue> 1125 1126 <issue 1127 id="FlaggedApi" 1128 message="Class `OnDevicePersonalizationManager` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1129 errorLine1=" ON_DEVICE_PERSONALIZATION_SERVICE, OnDevicePersonalizationManager.class," 1130 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1131 <location 1132 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1133 line="55" 1134 column="52"/> 1135 </issue> 1136 1137 <issue 1138 id="FlaggedApi" 1139 message="Field `ON_DEVICE_PERSONALIZATION_SERVICE` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1140 errorLine1=" ON_DEVICE_PERSONALIZATION_SERVICE, OnDevicePersonalizationManager.class," 1141 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1142 <location 1143 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1144 line="55" 1145 column="17"/> 1146 </issue> 1147 1148 <issue 1149 id="FlaggedApi" 1150 message="Method `OnDevicePersonalizationManager()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1151 errorLine1=" (c) -> new OnDevicePersonalizationManager(c));" 1152 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1153 <location 1154 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1155 line="56" 1156 column="24"/> 1157 </issue> 1158 1159 <issue 1160 id="FlaggedApi" 1161 message="Field `ON_DEVICE_PERSONALIZATION_CONFIG_SERVICE` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1162 errorLine1=" ON_DEVICE_PERSONALIZATION_CONFIG_SERVICE," 1163 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1164 <location 1165 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1166 line="58" 1167 column="17"/> 1168 </issue> 1169 1170 <issue 1171 id="FlaggedApi" 1172 message="Class `OnDevicePersonalizationConfigManager` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1173 errorLine1=" OnDevicePersonalizationConfigManager.class," 1174 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1175 <location 1176 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1177 line="59" 1178 column="17"/> 1179 </issue> 1180 1181 <issue 1182 id="FlaggedApi" 1183 message="Method `OnDevicePersonalizationConfigManager()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1184 errorLine1=" (c) -> new OnDevicePersonalizationConfigManager(c));" 1185 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1186 <location 1187 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1188 line="60" 1189 column="24"/> 1190 </issue> 1191 1192 <issue 1193 id="FlaggedApi" 1194 message="Field `ON_DEVICE_PERSONALIZATION_SYSTEM_EVENT_SERVICE` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1195 errorLine1=" ON_DEVICE_PERSONALIZATION_SYSTEM_EVENT_SERVICE," 1196 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1197 <location 1198 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1199 line="65" 1200 column="17"/> 1201 </issue> 1202 1203 <issue 1204 id="FlaggedApi" 1205 message="Class `OnDevicePersonalizationSystemEventManager` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1206 errorLine1=" OnDevicePersonalizationSystemEventManager.class," 1207 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1208 <location 1209 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1210 line="66" 1211 column="17"/> 1212 </issue> 1213 1214 <issue 1215 id="FlaggedApi" 1216 message="Method `OnDevicePersonalizationSystemEventManager()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `registerServiceWrappers` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1217 errorLine1=" (c) -> new OnDevicePersonalizationSystemEventManager(c));" 1218 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1219 <location 1220 file="packages/modules/OnDevicePersonalization/framework/java/android/ondevicepersonalization/OnDevicePersonalizationFrameworkInitializer.java" 1221 line="67" 1222 column="24"/> 1223 </issue> 1224 1225 <issue 1226 id="FlaggedApi" 1227 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1228 errorLine1="public class RemoteDataImpl implements KeyValueStore {" 1229 errorLine2=" ~~~~~~~~~~~~~"> 1230 <location 1231 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RemoteDataImpl.java" 1232 line="37" 1233 column="40"/> 1234 </issue> 1235 1236 <issue 1237 id="FlaggedApi" 1238 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1239 errorLine1=" RenderingConfig renderingConfig = (flg & 0x4) == 0 ? null : (RenderingConfig) in.readTypedObject(RenderingConfig.CREATOR);" 1240 errorLine2=" ~~~~~~~"> 1241 <location 1242 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderInputParcel.java" 1243 line="122" 1244 column="122"/> 1245 </issue> 1246 1247 <issue 1248 id="FlaggedApi" 1249 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderInputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1250 errorLine1=" RenderingConfig renderingConfig = (flg & 0x4) == 0 ? null : (RenderingConfig) in.readTypedObject(RenderingConfig.CREATOR);" 1251 errorLine2=" ~~~~~~~~~~~~~~~"> 1252 <location 1253 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderInputParcel.java" 1254 line="122" 1255 column="70"/> 1256 </issue> 1257 1258 <issue 1259 id="FlaggedApi" 1260 message="Method `getContent()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1261 errorLine1=" this(value.getContent(), value.getTemplateId(), value.getTemplateParams());" 1262 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 1263 <location 1264 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderOutputParcel.java" 1265 line="55" 1266 column="14"/> 1267 </issue> 1268 1269 <issue 1270 id="FlaggedApi" 1271 message="Method `getTemplateId()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1272 errorLine1=" this(value.getContent(), value.getTemplateId(), value.getTemplateParams());" 1273 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 1274 <location 1275 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderOutputParcel.java" 1276 line="55" 1277 column="34"/> 1278 </issue> 1279 1280 <issue 1281 id="FlaggedApi" 1282 message="Method `getTemplateParams()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `RenderOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1283 errorLine1=" this(value.getContent(), value.getTemplateId(), value.getTemplateParams());" 1284 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 1285 <location 1286 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/RenderOutputParcel.java" 1287 line="55" 1288 column="57"/> 1289 </issue> 1290 1291 <issue 1292 id="FlaggedApi" 1293 message="Method `getEventLogRecords()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1294 errorLine1=" this(value.getRequestLogRecord(), value.getEventLogRecords());" 1295 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1296 <location 1297 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 1298 line="55" 1299 column="43"/> 1300 </issue> 1301 1302 <issue 1303 id="FlaggedApi" 1304 message="Method `getRequestLogRecord()` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1305 errorLine1=" this(value.getRequestLogRecord(), value.getEventLogRecords());" 1306 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1307 <location 1308 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 1309 line="55" 1310 column="14"/> 1311 </issue> 1312 1313 <issue 1314 id="FlaggedApi" 1315 message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1316 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 1317 errorLine2=" ~~~~~~~"> 1318 <location 1319 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 1320 line="146" 1321 column="126"/> 1322 </issue> 1323 1324 <issue 1325 id="FlaggedApi" 1326 message="This is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1327 errorLine1=" RequestLogRecord requestLogRecord = (flg & 0x1) == 0 ? null : (RequestLogRecord) in.readTypedObject(RequestLogRecord.CREATOR);" 1328 errorLine2=" ~~~~~~~~~~~~~~~~"> 1329 <location 1330 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 1331 line="146" 1332 column="72"/> 1333 </issue> 1334 1335 <issue 1336 id="FlaggedApi" 1337 message="Class `EventLogRecord` is a flagged API and should be inside an `if (Flags.onDevicePersonalizationApisEnabled())` check (or annotate the surrounding method `WebTriggerOutputParcel` with `@FlaggedApi(Flags.FLAG_ON_DEVICE_PERSONALIZATION_APIS_ENABLED) to transfer requirement to caller`)" 1338 errorLine1=" in.readParcelableList(eventLogRecords, EventLogRecord.class.getClassLoader());" 1339 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1340 <location 1341 file="packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/WebTriggerOutputParcel.java" 1342 line="148" 1343 column="48"/> 1344 </issue> 1345 1346</issues> 1347