"Code"
Personally, I don't consider that what I can see in the API specs is "code". Which is the total sum that was used by Google. They reimplemented the code from scratch in order to match the API, same as the Wine project reimplemented Windows APIs.
In the first place, they'd have taken a license from Sun if Sun had been willing. But Sun refused because they wanted the world to use their crap Java for Mobile API instead...