package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

aidl_interface {
    name: "audio_common-aidl",
    unstable: true,
    host_supported: true,
    vendor_available: true,
    local_include_dir: "aidl",
    double_loadable: true,
    srcs: [
        "aidl/android/media/audio/common/AudioChannelMask.aidl",
        "aidl/android/media/audio/common/AudioConfig.aidl",
        "aidl/android/media/audio/common/AudioFormat.aidl",
        "aidl/android/media/audio/common/AudioOffloadInfo.aidl",
        "aidl/android/media/audio/common/AudioStreamType.aidl",
        "aidl/android/media/audio/common/AudioUsage.aidl",
    ],
}

aidl_interface {
    name: "media_permission-aidl",
    unstable: true,
    host_supported: true,
    vendor_available: true,
    double_loadable: true,
    local_include_dir: "aidl",
    srcs: [
        "aidl/android/media/permission/Identity.aidl",
    ],
}

aidl_interface {
    name: "soundtrigger_middleware-aidl",
    unstable: true,
    local_include_dir: "aidl",
    srcs: [
        "aidl/android/media/soundtrigger_middleware/AudioCapabilities.aidl",
        "aidl/android/media/soundtrigger_middleware/ConfidenceLevel.aidl",
        "aidl/android/media/soundtrigger_middleware/ISoundTriggerCallback.aidl",
        "aidl/android/media/soundtrigger_middleware/ISoundTriggerMiddlewareService.aidl",
        "aidl/android/media/soundtrigger_middleware/ISoundTriggerModule.aidl",
        "aidl/android/media/soundtrigger_middleware/ModelParameter.aidl",
        "aidl/android/media/soundtrigger_middleware/ModelParameterRange.aidl",
        "aidl/android/media/soundtrigger_middleware/Phrase.aidl",
        "aidl/android/media/soundtrigger_middleware/PhraseRecognitionEvent.aidl",
        "aidl/android/media/soundtrigger_middleware/PhraseRecognitionExtra.aidl",
        "aidl/android/media/soundtrigger_middleware/PhraseSoundModel.aidl",
        "aidl/android/media/soundtrigger_middleware/RecognitionConfig.aidl",
        "aidl/android/media/soundtrigger_middleware/RecognitionEvent.aidl",
        "aidl/android/media/soundtrigger_middleware/RecognitionMode.aidl",
        "aidl/android/media/soundtrigger_middleware/RecognitionStatus.aidl",
        "aidl/android/media/soundtrigger_middleware/SoundModel.aidl",
        "aidl/android/media/soundtrigger_middleware/SoundModelType.aidl",
        "aidl/android/media/soundtrigger_middleware/SoundTriggerModuleDescriptor.aidl",
        "aidl/android/media/soundtrigger_middleware/SoundTriggerModuleProperties.aidl",
        "aidl/android/media/soundtrigger_middleware/Status.aidl",
    ],
    imports: [
        "audio_common-aidl",
        "media_permission-aidl",
    ],
}