Using GetBoardApiLevel() to determine if a test should be run

The functions reads "ro.board.api_level", "ro.board.first_api_level"
and "ro.vendor.build.version.sdk" and can determine the vendor
software requirement precisely, because the vendor.img might be
older than the system.img

  References: https://r.android.com/1860455

For Android T devices, we can just read "ro.vendor.api_level" directly.

  References: https://r.android.com/1839954

Bug: 203651021
Test: Run VtsSecurityAvbTest on the device
Change-Id: I05f8a291250f50090dba5106a333c2cbdc91c95c
1 file changed