It seems to me that it’s hard to make it so that both Java and AIDL are different languages. In addition, it may happen that you send and receive user-defined types through AIDL interfaces, and this requires additional processing in AIDL. You need to create a separate AIDL file for each collapsible type.
source
share