1aidl_interface {
2    name: "audio_common-aidl",
3    unstable: true,
4    local_include_dir: "java",
5    srcs: [
6        "java/android/media/audio/common/AudioChannelMask.aidl",
7        "java/android/media/audio/common/AudioConfig.aidl",
8        "java/android/media/audio/common/AudioFormat.aidl",
9        "java/android/media/audio/common/AudioOffloadInfo.aidl",
10        "java/android/media/audio/common/AudioStreamType.aidl",
11        "java/android/media/audio/common/AudioUsage.aidl",
12    ],
13    backend:
14    {
15        cpp: {
16            enabled: true,
17        },
18        java: {
19            // Already generated as part of the entire media java library.
20            enabled: false,
21        },
22    },
23}
24
25aidl_interface {
26    name: "soundtrigger_middleware-aidl",
27    unstable: true,
28    local_include_dir: "java",
29    srcs: [
30        "java/android/media/soundtrigger_middleware/ConfidenceLevel.aidl",
31        "java/android/media/soundtrigger_middleware/ISoundTriggerCallback.aidl",
32        "java/android/media/soundtrigger_middleware/ISoundTriggerMiddlewareService.aidl",
33        "java/android/media/soundtrigger_middleware/ISoundTriggerModule.aidl",
34        "java/android/media/soundtrigger_middleware/ModelParameter.aidl",
35        "java/android/media/soundtrigger_middleware/ModelParameterRange.aidl",
36        "java/android/media/soundtrigger_middleware/Phrase.aidl",
37        "java/android/media/soundtrigger_middleware/PhraseRecognitionEvent.aidl",
38        "java/android/media/soundtrigger_middleware/PhraseRecognitionExtra.aidl",
39        "java/android/media/soundtrigger_middleware/PhraseSoundModel.aidl",
40        "java/android/media/soundtrigger_middleware/RecognitionConfig.aidl",
41        "java/android/media/soundtrigger_middleware/RecognitionEvent.aidl",
42        "java/android/media/soundtrigger_middleware/RecognitionMode.aidl",
43        "java/android/media/soundtrigger_middleware/RecognitionStatus.aidl",
44        "java/android/media/soundtrigger_middleware/SoundModel.aidl",
45        "java/android/media/soundtrigger_middleware/SoundModelType.aidl",
46        "java/android/media/soundtrigger_middleware/SoundTriggerModuleDescriptor.aidl",
47        "java/android/media/soundtrigger_middleware/SoundTriggerModuleProperties.aidl",
48        "java/android/media/soundtrigger_middleware/Status.aidl",
49    ],
50    backend:
51    {
52        cpp: {
53            enabled: true,
54        },
55        java: {
56            // Already generated as part of the entire media java library.
57            enabled: false,
58        },
59        ndk: {
60            // Not currently needed, and disabled because of b/146172425
61            enabled: false,
62        },
63    },
64    imports: [ "audio_common-aidl" ],
65}
66