gralloc: Additional buffer validation in getTransportSize

getTransportSize should return BAD_BUFFER for non-imported raw buffers.

Bug: 152438363
Test: run vts -m VtsHalGraphicsMapperV2_1TargetTest
Change-Id: Ife686b996220df8094216a7e55e66176fe6c3521
1 file changed