<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08">

    <issue
        id="FlaggedApi"
        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`)"
        errorLine1="    private static final int METADATA_MAX_KEY = METADATA_EXCLUSIVE_MANAGER;"
        errorLine2="                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothDevice.java"
            line="811"
            column="49"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `PRESET_INDEX_UNAVAILABLE` is a flagged API and should be inside an `if (Flags.settingsCanControlHapPreset())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_SETTINGS_CAN_CONTROL_HAP_PRESET) to transfer requirement to caller`)"
        errorLine1="        private int mPresetIndex = BluetoothHapClient.PRESET_INDEX_UNAVAILABLE;"
        errorLine2="                                                      ~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothHapPresetInfo.java"
            line="138"
            column="55"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `AUDIO_LOCATION_INVALID` is a flagged API and should be inside an `if (Flags.leaudioMonoLocationErrata())` check (or annotate the surrounding method `getAudioLocation` with `@FlaggedApi(Flags.FLAG_LEAUDIO_MONO_LOCATION_ERRATA) to transfer requirement to caller`)"
        errorLine1="        return AUDIO_LOCATION_INVALID;"
        errorLine2="               ~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothLeAudio.java"
            line="1208"
            column="16"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `UNIX_FILE_SOCKET_CREATION_FAILURE` is a flagged API and should be inside an `if (Flags.unixFileSocketCreationFailure())` check (or annotate the surrounding method `connect` with `@FlaggedApi(Flags.FLAG_UNIX_FILE_SOCKET_CREATION_FAILURE) to transfer requirement to caller`)"
        errorLine1="                            BluetoothSocketException.UNIX_FILE_SOCKET_CREATION_FAILURE);"
        errorLine2="                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothSocket.java"
            line="470"
            column="54"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `UNIX_FILE_SOCKET_CREATION_FAILURE` is a flagged API and should be inside an `if (Flags.unixFileSocketCreationFailure())` check (or annotate the surrounding method `getMessage` with `@FlaggedApi(Flags.FLAG_UNIX_FILE_SOCKET_CREATION_FAILURE) to transfer requirement to caller`)"
        errorLine1="            case UNIX_FILE_SOCKET_CREATION_FAILURE:"
        errorLine2="                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothSocketException.java"
            line="235"
            column="18"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `DISTANCE_MEASUREMENT_METHOD_CHANNEL_SOUNDING` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `Builder` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="                case DISTANCE_MEASUREMENT_METHOD_CHANNEL_SOUNDING:"
        errorLine2="                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementMethod.java"
            line="224"
            column="22"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Method `writeToParcel()` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `writeToParcel` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="            mChannelSoundingParams.writeToParcel(out, flags);"
        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementParams.java"
            line="196"
            column="13"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Method `setChannelSoundingParams()` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="                        builder.setChannelSoundingParams("
        errorLine2="                        ^">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementParams.java"
            line="210"
            column="25"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="                                ChannelSoundingParams.CREATOR.createFromParcel(in));"
        errorLine2="                                                      ~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementParams.java"
            line="211"
            column="55"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `DISTANCE_MEASUREMENT_METHOD_CHANNEL_SOUNDING` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `setMethodId` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="                case DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_CHANNEL_SOUNDING:"
        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementParams.java"
            line="299"
            column="48"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Method `setConfidenceLevel()` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="                    return new Builder(in.readDouble(), in.readDouble())"
        errorLine2="                           ^">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementResult.java"
            line="398"
            column="28"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Method `setDelaySpreadMeters()` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="                    return new Builder(in.readDouble(), in.readDouble())"
        errorLine2="                           ^">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementResult.java"
            line="398"
            column="28"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Method `setDetectedAttackLevel()` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="                    return new Builder(in.readDouble(), in.readDouble())"
        errorLine2="                           ^">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementResult.java"
            line="398"
            column="28"/>
    </issue>

    <issue
        id="FlaggedApi"
        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`)"
        errorLine1="                    return new Builder(in.readDouble(), in.readDouble())"
        errorLine2="                           ^">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementResult.java"
            line="398"
            column="28"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Method `setVelocityMetersPerSecond()` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="                    return new Builder(in.readDouble(), in.readDouble())"
        errorLine2="                           ^">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementResult.java"
            line="398"
            column="28"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `NADM_UNKNOWN` is a flagged API and should be inside an `if (Flags.channelSounding())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING) to transfer requirement to caller`)"
        errorLine1="        private int mDetectedAttackLevel = NADM_UNKNOWN;"
        errorLine2="                                           ~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementResult.java"
            line="432"
            column="44"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `UNIX_FILE_SOCKET_CREATION_FAILURE` is a flagged API and should be inside an `if (Flags.unixFileSocketCreationFailure())` check (or annotate the surrounding method `getL2capLeConnectStatusCode` with `@FlaggedApi(Flags.FLAG_UNIX_FILE_SOCKET_CREATION_FAILURE) to transfer requirement to caller`)"
        errorLine1="            case (BluetoothSocketException.UNIX_FILE_SOCKET_CREATION_FAILURE):"
        errorLine2="                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/SocketMetrics.java"
            line="140"
            column="44"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Field `UNIX_FILE_SOCKET_CREATION_FAILURE` is a flagged API and should be inside an `if (Flags.unixFileSocketCreationFailure())` check (or annotate the surrounding method `getRfcommConnectStatusCode` with `@FlaggedApi(Flags.FLAG_UNIX_FILE_SOCKET_CREATION_FAILURE) to transfer requirement to caller`)"
        errorLine1="            case (BluetoothSocketException.UNIX_FILE_SOCKET_CREATION_FAILURE):"
        errorLine2="                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/SocketMetrics.java"
            line="161"
            column="44"/>
    </issue>

    <issue
        id="WrongConstant"
        message="Flag not allowed here"
        errorLine1="            return (mCapability >> 1) &amp; 1;"
        errorLine2="                   ~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothHearingAid.java"
            line="105"
            column="20"/>
    </issue>

    <issue
        id="WrongConstant"
        message="Flag not allowed here"
        errorLine1="            return mCapability &amp; 1;"
        errorLine2="                   ~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothHearingAid.java"
            line="121"
            column="20"/>
    </issue>

    <issue
        id="WrongConstant"
        message="Flag not allowed here"
        errorLine1="            mQualityReportId = bqrBuf.get() &amp; 0xFF;"
        errorLine2="                               ~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/BluetoothQualityReport.java"
            line="694"
            column="32"/>
    </issue>

    <issue
        id="WrongConstant"
        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"
        errorLine1="        mLeDeviceRole = -1; // Satisfy final"
        errorLine2="                        ~~">
        <location
            file="packages/modules/Bluetooth/framework/java/android/bluetooth/OobData.java"
            line="783"
            column="25"/>
    </issue>

</issues>
