Google’s just using linux for its price, but the GPL of AOSP does a lot of heavy lifting for reverse engineering efforts like this.
edit: not that that matters at all to apple spying on users - like them scanning all Iclouds openly wasn’t even that long ago