Merge changes Id48b8cf6,I6ecf45ca,Ic672706d

* changes:
  vndk-def: Add more unittests.
  vndk-def: Add gralloc-mapper to sp-hals.
  vndk-def: Code cleanup and refactoring.