Do not dereference NULL even if such pointer is given by test code.

- Avoid printing raw char* ptrs, always use getStringStr()
- Avoid printing pointers to prevent similar issues in the with other
  types.

Bug: 19679876
Change-Id: I52fe1505026f0570f035fc18dcc8385b77f203f2
2 files changed