The suit filed by Oracle Thursday alleges Google infringed patents and copyrights through its use of Java software in Android, the free Google operating system that has become a hit in the latest smartphones. The suit seeks damages and an injunction.