An interesting blog post referenced below takes Apple as an example and explains how it manages our private information and what happens in the case of search warrants and subpoenas. The post describes the operative guidelines reserved to US law enforcement agencies and how they are allowed to acquire some information about Apple customers.
Read the full post here – http://resources.infosecinstitute.com/apple-knows-us/