Add typecheck C++ API test to verify proper behavior.

Bug: 10427951

This test works through positive and negative tests of type-checking
kernel parameters for RenderScript's C++ API.

Change-Id: Iea1a34d4b3bb6278b461e789474573d2f630e7c0
3 files changed