blob: b45d69489add976fe4d39e7329eaa80356e90f65 [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: [
Jiyong Parka031a292022-04-16 08:33:06 +090038 "android.media.audio.common.types-V1",
Jiyong Parkc1942ad2022-03-22 14:58:16 +090039 "android.media.soundtrigger.types-V1",
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",
Keun young Park7e556af2022-02-09 08:12:12 -0800106 min_sdk_version: "29",
107 apex_available: [
108 "//apex_available:platform",
109 "com.android.car.framework",
110 ],
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -0800111 },
112 ndk: {
113 vndk: {
114 enabled: true,
115 },
Roopa Sattiraju44ff57e2022-02-03 13:47:56 -0800116 min_sdk_version: "29",
117 apex_available: [
118 "//apex_available:platform",
119 "com.android.bluetooth",
120 ],
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -0800121 },
122 },
Jiyong Parkdd018a92022-04-16 07:13:30 +0900123 versions_with_info: [
124 {
125 version: "1",
126 imports: [],
127 },
128 ],
129
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -0800130}
131
132aidl_interface {
133 name: "android.media.soundtrigger.types",
134 vendor_available: true,
Rios Kaob5191d52021-11-17 06:35:00 +0000135 host_supported: true,
Mikhail Naganov15710102021-08-10 16:10:06 -0700136 flags: [
137 "-Werror",
138 "-Weverything",
139 ],
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -0800140 local_include_dir: "aidl",
141 srcs: [
142 "aidl/android/media/soundtrigger/AudioCapabilities.aidl",
143 "aidl/android/media/soundtrigger/ConfidenceLevel.aidl",
144 "aidl/android/media/soundtrigger/ModelParameter.aidl",
145 "aidl/android/media/soundtrigger/ModelParameterRange.aidl",
146 "aidl/android/media/soundtrigger/Phrase.aidl",
147 "aidl/android/media/soundtrigger/PhraseRecognitionEvent.aidl",
148 "aidl/android/media/soundtrigger/PhraseRecognitionExtra.aidl",
149 "aidl/android/media/soundtrigger/PhraseSoundModel.aidl",
150 "aidl/android/media/soundtrigger/Properties.aidl",
151 "aidl/android/media/soundtrigger/RecognitionConfig.aidl",
152 "aidl/android/media/soundtrigger/RecognitionEvent.aidl",
153 "aidl/android/media/soundtrigger/RecognitionMode.aidl",
154 "aidl/android/media/soundtrigger/RecognitionStatus.aidl",
155 "aidl/android/media/soundtrigger/SoundModel.aidl",
156 "aidl/android/media/soundtrigger/SoundModelType.aidl",
157 "aidl/android/media/soundtrigger/Status.aidl",
158 ],
159 stability: "vintf",
160 backend: {
161 cpp: {
162 enabled: true,
163 },
164 java: {
165 sdk_version: "module_current",
166 },
167 ndk: {
168 vndk: {
169 enabled: true,
170 },
171 },
172 },
173 imports: [
174 "android.media.audio.common.types",
175 ],
Jiyong Park1fd7a8d2022-03-22 14:18:22 +0900176 versions_with_info: [
177 {
178 version: "1",
179 imports: ["android.media.audio.common.types-V1"],
180 },
181 ],
182
Ytai Ben-Tsvi92da3a12021-03-10 15:03:45 -0800183}