google never says it’s foss and it makes sense why theyd not foss it, extend and extinguish. flathub says proprietary, wikipedia says both, im very confused
AOSP source code
He is asking about Android studio not Android Open Source Project?
I never tried this for cloning, but for searching and reading most of it is here
https://cs.android.com/android-studio/platform/tools/adt/idea
You’ll notice the path is shared with many other AOSP sub projects