Questions tagged [android-vts]

Android-VTS (Vendor Test Suite) is an infrastructure that automates HAL and OS kernel testing. Android-VTS provides extensive functionality for Android testing and promotes a test-driven development process. Use this tag for questions referring to building, writing and using Android-VTS to test an Android native system implementation.

Usage:

Systems Testing - To use VTS to test an Android native system implementation, set up a testing environment then test a patch using a VTS plan.

Device Shell Commands - Instructions on how to use device shell commands to execute target-side test binaries, to get/set properties, environment variables, and system information, and to start/stop the Android framework.

Test Templates - Details on configuring and using test templates for test modules that are not host-side Python subclass of VTS runner's BaseTest.

Service Name Aware HAL Testing - Details on Android 9​ support for obtaining the service name of a given HAL instance based on the device on VTS is running.

HAL Testability Check - Details on Android 9​ support for a runtime method that uses the device configuration to identify which VTS tests should be skipped for that device target.

Multi-Device Testing - Instructions for configuring tests that require interaction between multiple Android devices.

• VTS Dashboard - Web-based user interface for viewing VTS results. Includes details on:

  • Setup: Instructions for setting up and configuring the VTS Dashboard. Database. A scalable back-end to support the continuous integration dashboard.

  • Database - A scalable back-end to support the continuous integration dashboard.

  • User Interface - A cohesive user interface that uses material design to effectively display information about test results, profiling, and coverage.

  • Lab Infrastructure - Describes the architecture of an automated testing infrastructure for running VTS, CTS, or other tests on partner devices running the AOSP Generic System Image (GSI), requires a Host Controller.

  • Binder and HWBinder Performance Tests - Tools for measuring throughput and latency.

More information can be found here. Additional details can be found at the Android VTS Codelab.

19 questions
0
votes
1 answer

vts-tradefed gives error when multiple ADB devices are connected

Android vts-tradefed gives error when multiple ADB devices are connected: 07-01 11:23:20 E/ProcessHelper: Exception AttributeError: "'AndroidDevice' object has no attribute 'hal'" in 07-01 11:23:20 E/ProcessHelper: > ignored 07-01 11:23:20…
aTJ
  • 3,823
  • 3
  • 21
  • 25
0
votes
1 answer

how to write custom shell executable VTS test using the binary test template

I am trying to create custom testcases using the VTS binary test template. But the codelab android pages do not describe how to incorporate shell executable tests into VTS framework using Binary test template. Is this even possible? I have…
Ketan
  • 1
  • 1
0
votes
1 answer

Android VTS is not running on Android-Oreo 8.1

Error when running Android VTS on Android-O (8.1) API level 27. Can Someone help me what is wrong here. Error Message: Invocation failed:java.lang.IllegalArgumentException: None of the abi supported by this CTS build ('[armeabi-v7a, arm64-v8a]') are…
Madhu
  • 95
  • 1
  • 1
  • 6
0
votes
2 answers

VTS suite doesn't run because of exception

I tried to run the vts suite with: run vts But it doesn't run any module and gives this exception: I/ResultReporter: Invocation finished in 4s. PASSED: 0, FAILED: 0, MODULES: 0 of 150 and gives the following exception E/CommandScheduler:…
Eduard Florinescu
  • 16,747
  • 28
  • 113
  • 179
1
2