Android VTS

Budhdi Sharma
7 min readJul 9, 2020

Usually after the new version of AOSP is released by Google, the SoC vendor needs to upgrade the HAL, and the OEM can upgrade the HAL and Framework before the user can receive the push of the OTA upgrade package on the device.

VTS itself means the compliance test suite of Android Vendor Interface (VINTF).

VINTF is a versioned, stable interface for Android vendor implementation. This concept is introduced from Android version 8.0 (Oreo) in order to improve the engineering productivity, launch velocity, security, and reliability of Android device ecosystem.

VTS consists of a set of testing frameworks and test cases, designed to help enhance the robustness, reliability, and compliance of:

  • the Android system (e.g., Core HALs and libraries) and
  • low-level system software (e.g., kernel, module, and firmware).

VTS has mainly two types of test suites:

  • automated (e.g., record-and-replay and fuzzing) and
  • structural (e.g., gTest and host-driven python) testing.

While the VTS framework and test cases are designed for userdebug or eng build devices, some test cases can be run on user build devices using its app namely, VTS Agent App.

--

--

Budhdi Sharma
Budhdi Sharma

Written by Budhdi Sharma

As an AI Enthusiast & AOSP/AAOS/XROS/RTOS Engineer, I specialize in creating robust frameworks, and systems that seamlessly integrate with embedded systems.

No responses yet