Neither one is exactly a "friend" to the USA.
I think that Russia (or at least the political face of Russia, Vladmir "I'm not a dictator, really" Putin) might side with the USA on certain political matters, if it was in their interest to do so.
China is extremely independent, and they represent a rather massive chunk of the human population on Earth. they will push back to protect their interests. They openly support the North Korean Government. The USA will not get anything politically speaking out of China unless China stands to benefit from it.
Russia is in a sort of slow tragic decline in terms of their power and influence. China is not.