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="Class `ClusterHomeManager` is a flagged API and should be inside an `if (Flags.clusterHealthMonitoring())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CLUSTER_HEALTH_MONITORING) to transfer requirement to caller`)" 7 errorLine1=" CAR_SERVICE_NAMES.put(ClusterHomeManager.class, CLUSTER_HOME_SERVICE);" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="packages/services/Car/car-lib/src/android/car/Car.java" 11 line="1741" 12 column="31"/> 13 </issue> 14 15 <issue 16 id="FlaggedApi" 17 message="Method `ClusterHomeManager()` is a flagged API and should be inside an `if (Flags.clusterHealthMonitoring())` check (or annotate the surrounding method `createCarManagerLocked` with `@FlaggedApi(Flags.FLAG_CLUSTER_HEALTH_MONITORING) to transfer requirement to caller`)" 18 errorLine1=" manager = new ClusterHomeManager(this, binder);" 19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 20 <location 21 file="packages/services/Car/car-lib/src/android/car/Car.java" 22 line="2713" 23 column="27"/> 24 </issue> 25 26 <issue 27 id="FlaggedApi" 28 message="Method `onAudioZoneConfigurationsChanged()` is a flagged API and should be inside an `if (Flags.carAudioDynamicDevices())` check (or annotate the surrounding method `onAudioZoneConfigurationsChanged` with `@FlaggedApi(Flags.FLAG_CAR_AUDIO_DYNAMIC_DEVICES) to transfer requirement to caller`)" 29 errorLine1=" mExecutor.execute(() -> mCallback.onAudioZoneConfigurationsChanged(configs," 30 errorLine2=" ^"> 31 <location 32 file="packages/services/Car/car-lib/src/android/car/media/CarAudioManager.java" 33 line="2252" 34 column="41"/> 35 </issue> 36 37 <issue 38 id="FlaggedApi" 39 message="Method `CarEvsBufferDescriptor()` is a flagged API and should be inside an `if (Flags.carEvsStreamManagement())` check (or annotate the surrounding method `CarEvsBufferDescriptor` with `@FlaggedApi(Flags.FLAG_CAR_EVS_STREAM_MANAGEMENT) to transfer requirement to caller`)" 40 errorLine1=" this(id, Flags.carEvsStreamManagement() ?" 41 errorLine2=" ^"> 42 <location 43 file="packages/services/Car/car-lib/src/android/car/evs/CarEvsBufferDescriptor.java" 44 line="79" 45 column="9"/> 46 </issue> 47 48 <issue 49 id="FlaggedApi" 50 message="Method `onStreamEvent()` is a flagged API and should be inside an `if (Flags.carEvsStreamManagement())` check (or annotate the surrounding method `handleStreamEventLocked` with `@FlaggedApi(Flags.FLAG_CAR_EVS_STREAM_MANAGEMENT) to transfer requirement to caller`)" 51 errorLine1=" executor.execute(() -> cb.onStreamEvent(origin, event));" 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="packages/services/Car/car-lib/src/android/car/evs/CarEvsManager.java" 55 line="595" 56 column="36"/> 57 </issue> 58 59 <issue 60 id="FlaggedApi" 61 message="Method `getType()` is a flagged API and should be inside an `if (Flags.carEvsStreamManagement())` check (or annotate the surrounding method `handleNewFrame` with `@FlaggedApi(Flags.FLAG_CAR_EVS_STREAM_MANAGEMENT) to transfer requirement to caller`)" 62 errorLine1=" buffer.getType() : CarEvsUtils.getTag(buffer.getId());" 63 errorLine2=" ~~~~~~~~~~~~~~~~"> 64 <location 65 file="packages/services/Car/car-lib/src/android/car/evs/CarEvsManager.java" 66 line="610" 67 column="17"/> 68 </issue> 69 70 <issue 71 id="FlaggedApi" 72 message="Method `getType()` is a flagged API and should be inside an `if (Flags.carEvsStreamManagement())` check (or annotate the surrounding method `returnFrameBuffer` with `@FlaggedApi(Flags.FLAG_CAR_EVS_STREAM_MANAGEMENT) to transfer requirement to caller`)" 73 errorLine1=" buffer.getType() : CarEvsUtils.getTag(buffer.getId());" 74 errorLine2=" ~~~~~~~~~~~~~~~~"> 75 <location 76 file="packages/services/Car/car-lib/src/android/car/evs/CarEvsManager.java" 77 line="719" 78 column="17"/> 79 </issue> 80 81 <issue 82 id="FlaggedApi" 83 message="Method `subscribePropertyEvents()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 84 errorLine1=" return subscribePropertyEvents(List.of(" 85 errorLine2=" ^"> 86 <location 87 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 88 line="1243" 89 column="16"/> 90 </issue> 91 92 <issue 93 id="FlaggedApi" 94 message="Method `Builder()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 95 errorLine1=" new Subscription.Builder(propertyId).setUpdateRateHz(DEFAULT_UPDATE_RATE_HZ)" 96 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 97 <location 98 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 99 line="1244" 100 column="17"/> 101 </issue> 102 103 <issue 104 id="FlaggedApi" 105 message="Method `build()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 106 errorLine1=" new Subscription.Builder(propertyId).setUpdateRateHz(DEFAULT_UPDATE_RATE_HZ)" 107 errorLine2=" ^"> 108 <location 109 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 110 line="1244" 111 column="17"/> 112 </issue> 113 114 <issue 115 id="FlaggedApi" 116 message="Method `setUpdateRateHz()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 117 errorLine1=" new Subscription.Builder(propertyId).setUpdateRateHz(DEFAULT_UPDATE_RATE_HZ)" 118 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 119 <location 120 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 121 line="1244" 122 column="17"/> 123 </issue> 124 125 <issue 126 id="FlaggedApi" 127 message="Method `subscribePropertyEvents()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 128 errorLine1=" return subscribePropertyEvents(List.of(" 129 errorLine2=" ^"> 130 <location 131 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 132 line="1274" 133 column="16"/> 134 </issue> 135 136 <issue 137 id="FlaggedApi" 138 message="Method `Builder()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 139 errorLine1=" new Subscription.Builder(propertyId).setUpdateRateHz(updateRateHz).build())," 140 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 141 <location 142 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 143 line="1275" 144 column="17"/> 145 </issue> 146 147 <issue 148 id="FlaggedApi" 149 message="Method `build()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 150 errorLine1=" new Subscription.Builder(propertyId).setUpdateRateHz(updateRateHz).build())," 151 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 152 <location 153 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 154 line="1275" 155 column="17"/> 156 </issue> 157 158 <issue 159 id="FlaggedApi" 160 message="Method `setUpdateRateHz()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 161 errorLine1=" new Subscription.Builder(propertyId).setUpdateRateHz(updateRateHz).build())," 162 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 163 <location 164 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 165 line="1275" 166 column="17"/> 167 </issue> 168 169 <issue 170 id="FlaggedApi" 171 message="Method `subscribePropertyEvents()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 172 errorLine1=" return subscribePropertyEvents(List.of(" 173 errorLine2=" ^"> 174 <location 175 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 176 line="1305" 177 column="16"/> 178 </issue> 179 180 <issue 181 id="FlaggedApi" 182 message="Method `Builder()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 183 errorLine1=" new Subscription.Builder(propertyId).addAreaId(areaId).setUpdateRateHz(1f)" 184 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 185 <location 186 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 187 line="1306" 188 column="17"/> 189 </issue> 190 191 <issue 192 id="FlaggedApi" 193 message="Method `addAreaId()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 194 errorLine1=" new Subscription.Builder(propertyId).addAreaId(areaId).setUpdateRateHz(1f)" 195 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 196 <location 197 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 198 line="1306" 199 column="17"/> 200 </issue> 201 202 <issue 203 id="FlaggedApi" 204 message="Method `build()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 205 errorLine1=" new Subscription.Builder(propertyId).addAreaId(areaId).setUpdateRateHz(1f)" 206 errorLine2=" ^"> 207 <location 208 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 209 line="1306" 210 column="17"/> 211 </issue> 212 213 <issue 214 id="FlaggedApi" 215 message="Method `setUpdateRateHz()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 216 errorLine1=" new Subscription.Builder(propertyId).addAreaId(areaId).setUpdateRateHz(1f)" 217 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 220 line="1306" 221 column="17"/> 222 </issue> 223 224 <issue 225 id="FlaggedApi" 226 message="Method `Builder()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 227 errorLine1=" Subscription subscription = new Subscription.Builder(propertyId).addAreaId(areaId)" 228 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 229 <location 230 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 231 line="1361" 232 column="37"/> 233 </issue> 234 235 <issue 236 id="FlaggedApi" 237 message="Method `addAreaId()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 238 errorLine1=" Subscription subscription = new Subscription.Builder(propertyId).addAreaId(areaId)" 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 242 line="1361" 243 column="37"/> 244 </issue> 245 246 <issue 247 id="FlaggedApi" 248 message="Method `build()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 249 errorLine1=" Subscription subscription = new Subscription.Builder(propertyId).addAreaId(areaId)" 250 errorLine2=" ^"> 251 <location 252 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 253 line="1361" 254 column="37"/> 255 </issue> 256 257 <issue 258 id="FlaggedApi" 259 message="Method `setUpdateRateHz()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 260 errorLine1=" Subscription subscription = new Subscription.Builder(propertyId).addAreaId(areaId)" 261 errorLine2=" ^"> 262 <location 263 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 264 line="1361" 265 column="37"/> 266 </issue> 267 268 <issue 269 id="FlaggedApi" 270 message="Method `subscribePropertyEvents()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `subscribePropertyEvents` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 271 errorLine1=" return subscribePropertyEvents(List.of(subscription), /* callbackExecutor= */ null," 272 errorLine2=" ^"> 273 <location 274 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 275 line="1363" 276 column="16"/> 277 </issue> 278 279 <issue 280 id="FlaggedApi" 281 message="Method `getPropertyId()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `convertToCarSubscribeOptions` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 282 errorLine1=" internalOption.propertyId = clientOption.getPropertyId();" 283 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 284 <location 285 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 286 line="1499" 287 column="41"/> 288 </issue> 289 290 <issue 291 id="FlaggedApi" 292 message="Method `getAreaIds()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `convertToCarSubscribeOptions` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 293 errorLine1=" internalOption.areaIds = clientOption.getAreaIds();" 294 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 295 <location 296 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 297 line="1500" 298 column="38"/> 299 </issue> 300 301 <issue 302 id="FlaggedApi" 303 message="Method `getUpdateRateHz()` is a flagged API and should be inside an `if (Flags.batchedSubscriptions())` check (or annotate the surrounding method `convertToCarSubscribeOptions` with `@FlaggedApi(Flags.FLAG_BATCHED_SUBSCRIPTIONS) to transfer requirement to caller`)" 304 errorLine1=" internalOption.updateRateHz = clientOption.getUpdateRateHz();" 305 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 306 <location 307 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 308 line="1501" 309 column="43"/> 310 </issue> 311 312 <issue 313 id="FlaggedApi" 314 message="Method `isVariableUpdateRateEnabled()` is a flagged API and should be inside an `if (Flags.variableUpdateRate())` check (or annotate the surrounding method `convertToCarSubscribeOptions` with `@FlaggedApi(Flags.FLAG_VARIABLE_UPDATE_RATE) to transfer requirement to caller`)" 315 errorLine1=" internalOption.enableVariableUpdateRate = clientOption.isVariableUpdateRateEnabled();" 316 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 317 <location 318 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 319 line="1502" 320 column="55"/> 321 </issue> 322 323 <issue 324 id="FlaggedApi" 325 message="Method `getResolution()` is a flagged API and should be inside an `if (Flags.subscriptionWithResolution())` check (or annotate the surrounding method `convertToCarSubscribeOptions` with `@FlaggedApi(Flags.FLAG_SUBSCRIPTION_WITH_RESOLUTION) to transfer requirement to caller`)" 326 errorLine1=" internalOption.resolution = clientOption.getResolution();" 327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 328 <location 329 file="packages/services/Car/car-lib/src/android/car/hardware/property/CarPropertyManager.java" 330 line="1503" 331 column="41"/> 332 </issue> 333 334 <issue 335 id="FlaggedApi" 336 message="Method `InVehicleTaskScheduler()` is a flagged API and should be inside an `if (Flags.serverlessRemoteAccess())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_SERVERLESS_REMOTE_ACCESS) to transfer requirement to caller`)" 337 errorLine1=" private final InVehicleTaskScheduler mInVehicleTaskScheduler = new InVehicleTaskScheduler();" 338 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 339 <location 340 file="packages/services/Car/car-lib/src/android/car/remoteaccess/CarRemoteAccessManager.java" 341 line="102" 342 column="68"/> 343 </issue> 344 345 <issue 346 id="FlaggedApi" 347 message="Method `onServerlessClientRegistered()` is a flagged API and should be inside an `if (Flags.serverlessRemoteAccess())` check (or annotate the surrounding method `onServerlessClientRegistered` with `@FlaggedApi(Flags.FLAG_SERVERLESS_REMOTE_ACCESS) to transfer requirement to caller`)" 348 errorLine1=" executor.execute(() -> callback.onServerlessClientRegistered());" 349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 350 <location 351 file="packages/services/Car/car-lib/src/android/car/remoteaccess/CarRemoteAccessManager.java" 352 line="224" 353 column="40"/> 354 </issue> 355 356 <issue 357 id="FlaggedApi" 358 message="Method `isVariableUpdateRateSupported()` is a flagged API and should be inside an `if (Flags.variableUpdateRate())` check (or annotate the surrounding method `sanitizeEnableVariableUpdateRate` with `@FlaggedApi(Flags.FLAG_VARIABLE_UPDATE_RATE) to transfer requirement to caller`)" 359 errorLine1=" if (carPropertyConfig.getAreaIdConfig(areaId)" 360 errorLine2=" ^"> 361 <location 362 file="packages/services/Car/car-lib/src/com/android/car/internal/property/InputSanitizationUtils.java" 363 line="160" 364 column="21"/> 365 </issue> 366 367</issues> 368