blob: b7c3a9c112d1b47c524a6047c21e0408de33ca9f [file] [log] [blame]
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",
],
imports: [
"android.media.audio.common.types",
],
}
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",
],
}
aidl_interface {
name: "android.media.audio.common.types",
vendor_available: true,
host_supported: true,
double_loadable: true,
flags: [
"-Werror",
"-Weverything",
],
local_include_dir: "aidl",
srcs: [
"aidl/android/media/audio/common/AudioContentType.aidl",
"aidl/android/media/audio/common/AudioSource.aidl",
"aidl/android/media/audio/common/AudioUsage.aidl",
],
stability: "vintf",
backend: {
cpp: {
min_sdk_version: "29",
apex_available: [
"//apex_available:platform",
"com.android.media",
],
},
java: {
},
ndk: {
vndk: {
enabled: true,
},
min_sdk_version: "29",
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
},
},
}