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="Field `METADATA_EXCLUSIVE_MANAGER` is a flagged API and should be inside an `if (Flags.supportExclusiveManager())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_SUPPORT_EXCLUSIVE_MANAGER) to transfer requirement to caller`)" 7 errorLine1=" private static final int METADATA_MAX_KEY = METADATA_EXCLUSIVE_MANAGER;" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothDevice.java" 11 line="902" 12 column="49"/> 13 </issue> 14 15 <issue 16 id="FlaggedApi" 17 message="Method `setMeasurementTimestampNanos()` is a flagged API and should be inside an `if (Flags.channelSounding25q2Apis())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING_25Q2_APIS) to transfer requirement to caller`)" 18 errorLine1=" return new Builder(in.readDouble(), in.readDouble())" 19 errorLine2=" ^"> 20 <location 21 file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementResult.java" 22 line="385" 23 column="28"/> 24 </issue> 25 26 <issue 27 id="WrongConstant" 28 message="Flag not allowed here" 29 errorLine1=" return (mCapability >> 1) & 1;" 30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 31 <location 32 file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothHearingAid.java" 33 line="105" 34 column="20"/> 35 </issue> 36 37 <issue 38 id="WrongConstant" 39 message="Flag not allowed here" 40 errorLine1=" return mCapability & 1;" 41 errorLine2=" ~~~~~~~~~~~~~~~"> 42 <location 43 file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothHearingAid.java" 44 line="121" 45 column="20"/> 46 </issue> 47 48 <issue 49 id="WrongConstant" 50 message="Flag not allowed here" 51 errorLine1=" mQualityReportId = rawData[0] & 0xFF;" 52 errorLine2=" ~~~~~~~~~~~~~~~~~"> 53 <location 54 file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothQualityReport.java" 55 line="778" 56 column="32"/> 57 </issue> 58 59 <issue 60 id="WrongConstant" 61 message="Must be one of: OobData.LE_DEVICE_ROLE_PERIPHERAL_ONLY, OobData.LE_DEVICE_ROLE_CENTRAL_ONLY, OobData.LE_DEVICE_ROLE_BOTH_PREFER_PERIPHERAL, OobData.LE_DEVICE_ROLE_BOTH_PREFER_CENTRAL" 62 errorLine1=" mLeDeviceRole = -1; // Satisfy final" 63 errorLine2=" ~~"> 64 <location 65 file="packages/modules/Bluetooth/framework/java/android/bluetooth/OobData.java" 66 line="781" 67 column="25"/> 68 </issue> 69 70</issues> 71