Bring more tests from frameworks/base/tests/CoreTests into libcore.

Bug: http://b/3073226
Change-Id: I66f88f2bfaadd39e53b2977606731e8579d880b6
7 files changed