1# Run this script to generate the .java files from the .aidl files
2# then replace `this.markVintfStability()` with:
3#   try {
4#     Method method = this.getClass().getMethod("markVintfStability", null);
5#     method.invoke(this);
6#   } catch (NoSuchMethodException | InvocationTargetException | IllegalAccessException e) {
7#     throw new RuntimeException(e);
8#   }
9
10AIDL=$ANDROID_SDK_ROOT/build-tools/34.0.0/aidl
11
12$AIDL \
13-oapp/src/main/java \
14-Iapp/src/main/aidl \
15--stability=vintf \
16--structured \
17app/src/main/aidl/android/hardware/bluetooth/IBluetoothHci.aidl
18
19$AIDL \
20-oapp/src/main/java \
21-Iapp/src/main/aidl \
22--stability=vintf \
23--structured \
24app/src/main/aidl/android/hardware/bluetooth/IBluetoothHciCallbacks.aidl
25
26$AIDL \
27-oapp/src/main/java \
28-Iapp/src/main/aidl \
29--stability=vintf \
30--structured \
31app/src/main/aidl/android/hardware/bluetooth/Status.aidl
32
33