Bitmap CTS additions for wrapHardwareBuffer.

This adds CTS tests for the new wrapHardwareBuffer constructor in
Bitmap. We need to add some native code to be able to fill the
hardware buffer with data.

All tests have been run and confirmed to pass.

Test: cts-tradefed run commandAndExit cts -m CtsGraphicsTestCases -t android.graphics.cts.BitmapTest
Change-Id: Iecfe411786a587faf6f87ea986c00176bdcc40a3
2 files changed