How can I import the Android AOSP "base" framework (specifically I need frameworks/base/core/java/android/hardware/radio/) into Android Studio? Is it possible to import only the framework so the classes I need for my project, or do I need to download the entire repository and build it? My goal is to create an application for Android Automotive OS using the documentation provided at https://source.android.com/docs/devices/automotive/broadcast-radio.
I have tried to download the AOSP source code and I am currently waiting for build it on an Ubuntu environment. However, the process is taking a significant amount of time and resources and I am wondering if there are other options to do it.