Tiny refactoring, clean up.

- isolate test-related stuffs
- suppress warning
- let constructor accept ContentResolver, which is
  useful when test has custom ContentResolver apart from
  Context object.
- prohibit multiple init() calls

Change-Id: I0da5af56bf04e8eafbef376668a09002cb62d3f5
4 files changed
tree: 55d14dfa45916b0ae1aa959b8f25e22cd821a044
  1. java/
  2. tests/
  3. Android.mk