blob: fcdfd72c91d5414928a450954f3912e08060feba [file] [log] [blame]
Bob Badour8a6a2bc2021-02-12 17:07:05 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_base_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_base_license"],
8}
9
Ytai Ben-Tsvid58b04a2019-11-22 12:33:09 -080010aidl_interface {
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070011 name: "media_permission-aidl",
12 unstable: true,
Philip P. Moltmannfece2432020-07-17 16:39:54 -070013 host_supported: true,
14 vendor_available: true,
15 double_loadable: true,
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070016 local_include_dir: "aidl",
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070017 srcs: [
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070018 "aidl/android/media/permission/Identity.aidl",
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070019 ],
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070020}
21
22aidl_interface {
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080023 name: "soundtrigger_middleware-aidl",
Jiyong Parkdb589dd2020-04-13 12:55:24 +090024 unstable: true,
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070025 local_include_dir: "aidl",
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -080026 backend: {
27 java: {
28 sdk_version: "module_current",
29 },
30 },
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080031 srcs: [
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070032 "aidl/android/media/soundtrigger_middleware/ISoundTriggerCallback.aidl",
33 "aidl/android/media/soundtrigger_middleware/ISoundTriggerMiddlewareService.aidl",
34 "aidl/android/media/soundtrigger_middleware/ISoundTriggerModule.aidl",
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070035 "aidl/android/media/soundtrigger_middleware/SoundTriggerModuleDescriptor.aidl",
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080036 ],
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070037 imports: [
Mikhail Naganov15710102021-08-10 16:10:06 -070038 "android.media.audio.common.types",
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -080039 "android.media.soundtrigger.types",
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070040 "media_permission-aidl",
41 ],
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080042}
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -080043
44aidl_interface {
45 name: "android.media.audio.common.types",
46 vendor_available: true,
47 host_supported: true,
48 double_loadable: true,
Mikhail Naganov15710102021-08-10 16:10:06 -070049 flags: [
50 "-Werror",
51 "-Weverything",
52 ],
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -080053 local_include_dir: "aidl",
54 srcs: [
Mikhail Naganov15710102021-08-10 16:10:06 -070055 "aidl/android/media/audio/common/AudioChannelLayout.aidl",
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -080056 "aidl/android/media/audio/common/AudioConfig.aidl",
Mikhail Naganovb6148ee2021-08-25 18:17:08 -070057 "aidl/android/media/audio/common/AudioConfigBase.aidl",
Mikhail Naganov67c75e42021-09-03 13:56:35 -070058 "aidl/android/media/audio/common/AudioContentType.aidl",
Mikhail Naganov49ba38f2021-09-15 22:20:30 +000059 "aidl/android/media/audio/common/AudioDevice.aidl",
Mikhail Naganov54d01932021-09-16 01:03:48 +000060 "aidl/android/media/audio/common/AudioDeviceAddress.aidl",
Mikhail Naganov49ba38f2021-09-15 22:20:30 +000061 "aidl/android/media/audio/common/AudioDeviceDescription.aidl",
62 "aidl/android/media/audio/common/AudioDeviceType.aidl",
Mikhail Naganov67c75e42021-09-03 13:56:35 -070063 "aidl/android/media/audio/common/AudioEncapsulationMetadataType.aidl",
Mikhail Naganovb6148ee2021-08-25 18:17:08 -070064 "aidl/android/media/audio/common/AudioEncapsulationMode.aidl",
Mikhail Naganov67c75e42021-09-03 13:56:35 -070065 "aidl/android/media/audio/common/AudioEncapsulationType.aidl",
Mikhail Naganov15710102021-08-10 16:10:06 -070066 "aidl/android/media/audio/common/AudioFormatDescription.aidl",
67 "aidl/android/media/audio/common/AudioFormatType.aidl",
Mikhail Naganov788d91b2021-09-22 23:49:56 +000068 "aidl/android/media/audio/common/AudioGain.aidl",
69 "aidl/android/media/audio/common/AudioGainConfig.aidl",
70 "aidl/android/media/audio/common/AudioGainMode.aidl",
Mikhail Naganovd80ff5a2021-10-19 10:08:49 -070071 "aidl/android/media/audio/common/AudioInputFlags.aidl",
72 "aidl/android/media/audio/common/AudioIoFlags.aidl",
jiabin072b46f2021-09-17 05:23:39 +000073 "aidl/android/media/audio/common/AudioMMapPolicy.aidl",
74 "aidl/android/media/audio/common/AudioMMapPolicyInfo.aidl",
75 "aidl/android/media/audio/common/AudioMMapPolicyType.aidl",
Mikhail Naganov67c75e42021-09-03 13:56:35 -070076 "aidl/android/media/audio/common/AudioMode.aidl",
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -080077 "aidl/android/media/audio/common/AudioOffloadInfo.aidl",
Mikhail Naganovd80ff5a2021-10-19 10:08:49 -070078 "aidl/android/media/audio/common/AudioOutputFlags.aidl",
Mikhail Naganovaf0e3bf2021-09-30 01:09:39 +000079 "aidl/android/media/audio/common/AudioPort.aidl",
80 "aidl/android/media/audio/common/AudioPortConfig.aidl",
Mikhail Naganovd80ff5a2021-10-19 10:08:49 -070081 "aidl/android/media/audio/common/AudioPortDeviceExt.aidl",
Mikhail Naganovaf0e3bf2021-09-30 01:09:39 +000082 "aidl/android/media/audio/common/AudioPortExt.aidl",
83 "aidl/android/media/audio/common/AudioPortMixExt.aidl",
84 "aidl/android/media/audio/common/AudioPortMixExtUseCase.aidl",
Mikhail Naganov651ff0a2021-09-21 20:44:14 +000085 "aidl/android/media/audio/common/AudioProfile.aidl",
Mikhail Naganov67c75e42021-09-03 13:56:35 -070086 "aidl/android/media/audio/common/AudioSource.aidl",
Mikhail Naganovaf0e3bf2021-09-30 01:09:39 +000087 "aidl/android/media/audio/common/AudioStandard.aidl",
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -080088 "aidl/android/media/audio/common/AudioStreamType.aidl",
89 "aidl/android/media/audio/common/AudioUsage.aidl",
Mikhail Naganov67c75e42021-09-03 13:56:35 -070090 "aidl/android/media/audio/common/AudioUuid.aidl",
Mikhail Naganovaf0e3bf2021-09-30 01:09:39 +000091 "aidl/android/media/audio/common/ExtraAudioDescriptor.aidl",
92 "aidl/android/media/audio/common/Int.aidl",
Mikhail Naganov15710102021-08-10 16:10:06 -070093 "aidl/android/media/audio/common/PcmType.aidl",
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -080094 ],
95 stability: "vintf",
96 backend: {
97 cpp: {
Mikhail Naganov15710102021-08-10 16:10:06 -070098 min_sdk_version: "29",
99 apex_available: [
100 "//apex_available:platform",
101 "com.android.media",
102 ],
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -0800103 },
104 java: {
105 sdk_version: "module_current",
106 },
107 ndk: {
108 vndk: {
109 enabled: true,
110 },
111 },
112 },
113}
114
115aidl_interface {
116 name: "android.media.soundtrigger.types",
117 vendor_available: true,
Rios Kaob5191d52021-11-17 06:35:00 +0000118 host_supported: true,
Mikhail Naganov15710102021-08-10 16:10:06 -0700119 flags: [
120 "-Werror",
121 "-Weverything",
122 ],
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -0800123 local_include_dir: "aidl",
124 srcs: [
125 "aidl/android/media/soundtrigger/AudioCapabilities.aidl",
126 "aidl/android/media/soundtrigger/ConfidenceLevel.aidl",
127 "aidl/android/media/soundtrigger/ModelParameter.aidl",
128 "aidl/android/media/soundtrigger/ModelParameterRange.aidl",
129 "aidl/android/media/soundtrigger/Phrase.aidl",
130 "aidl/android/media/soundtrigger/PhraseRecognitionEvent.aidl",
131 "aidl/android/media/soundtrigger/PhraseRecognitionExtra.aidl",
132 "aidl/android/media/soundtrigger/PhraseSoundModel.aidl",
133 "aidl/android/media/soundtrigger/Properties.aidl",
134 "aidl/android/media/soundtrigger/RecognitionConfig.aidl",
135 "aidl/android/media/soundtrigger/RecognitionEvent.aidl",
136 "aidl/android/media/soundtrigger/RecognitionMode.aidl",
137 "aidl/android/media/soundtrigger/RecognitionStatus.aidl",
138 "aidl/android/media/soundtrigger/SoundModel.aidl",
139 "aidl/android/media/soundtrigger/SoundModelType.aidl",
140 "aidl/android/media/soundtrigger/Status.aidl",
141 ],
142 stability: "vintf",
143 backend: {
144 cpp: {
145 enabled: true,
146 },
147 java: {
148 sdk_version: "module_current",
149 },
150 ndk: {
151 vndk: {
152 enabled: true,
153 },
154 },
155 },
156 imports: [
157 "android.media.audio.common.types",
158 ],
159}