Initial code submit for Open HST. am: 25850f04a1 am: d73fe15626 am: 2d60bbc8e8 am: af8a6d6f4a

Original change: https://googleplex-android-review.googlesource.com/c/platform/tools/test/openhst/+/11890425

Change-Id: I5565208ba409fe16750ff4b441da7e8e48c374ae
tree: 08e4972b80d1463c5fee385905d4255c47c52bfb
  1. docs/
  2. resources/
  3. LICENSE
  4. Makefile
  5. OWNERS
  6. README.md
  7. requirements.txt
  8. start_venv.sh
  9. stress_test.proto
  10. stress_test.py
  11. stress_test_common.py
README.md

OpenHST : Open sourced Hotword Stress Test tool

Hotword stress test tool is a python script to measure the Google Hotword performance on Android devices with simple test set up. The goal of OpenHST is making Google Hotword Stress Test tool as an open source project so that Android Partners can easily adapt on their development.

Overview

Hotsord Stress Test concept diagram

Prerequsite

Before setting up your HST test environment, please make sure to meet following preconditions.

  • DSP hotword capability on test device (android handset)
  • ADB connection between the test server and android handset
  • Internet connection on android handset
  • No screen lock setting on android handset
  • Python 3.x installed test machine (Linux, Mac, Windows)
  • Install GNU make(3.81 above) on test machine (Linux, Mac, Windows)

Test environment setup

Please follow below steps to set up HST on your test machine and make sure that no error popped up during the installation.

Linux & Mac

  1. make start
  2. make proto-compile
  3. source env/bin/activate
  4. ./start_venv.sh

Windows

  1. make start
  2. make proto-compile
  3. .\env\Scripts\activate
  4. .\start_venv.bat
  5. pip3 install -r requirements.txt

Documentation

Read our detailed documentation to learn how to run the Hotword Stress Test.

Contacts

Join our mailing list for discussions and announcements.