Fair Use Google: What's the Use of Copyright?
Oracle/Google copyright infringement case: Oracle claimed that Google’s reuse of packages of the Java application program interface (API) in Android for smartphones software infringed copyright. Oracle claimed intellectual property rights in the API. After the trial, the jury found that Google made a fair and non-infringing use of the API.
Even in the Google litigation with The Author's Guild, the court found that Google had not infringed copyright but it was fair use - see Do Authors Still have Copyright in the Digital Age?