Add misc android/base/ helper classes.
This patch adds a few new helper classes under android/base/ that
will be used by future patches.
- Add a 'clear' method to String class.
- Add StringFormat() function to generated String instances
from formatted string input, and StringAppendFormat() to
append some to an existing instance.
- Add ScopedFd to implement a scoped file descriptor wrapper.
- Add ScopedHandle to implement a scoped Win32 HANDLE wrapper.
Change-Id: I0ae2a1de1123586b23e4faca8f394c6b4dff622e
11 files changed