The kernel. Everything else from libc on up was rewritten, and under Google's control. The Play store is hardly in AOSP, much less their new IntelliJ-based development stack.
Google may develop a lot of things behind closed doors but let's give them credit where credit's due.