• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1description: "Stress test DSP hotword on HomeScreen. User must be enrolled for "
2             "DSP hotword"
3
4step {
5  audio_file : "okg-us-female.wav"
6  audio_file_sample_rate : 24000
7  delay_after : 3
8}
9step {
10  command: "shell 'dumpsys window | grep mCurrentFocus'"
11  delay_after: 3
12}
13step {
14  command: "shell input keyevent 3"
15  delay_after : 3
16}
17
18expected_result {
19    aohd_hotword_detected : 1
20    assistant_started  : 1
21    dsp_false_accept  : 0
22    logcat_iteration  : 1
23    speaker_id_rejected  : 0
24    vis_software_hotword  : 1
25}
26
27event {
28  name: "device_crashed"
29  condition: "iterations_since_aohd_hotword_detected >= 30 "
30             "or iterations_since_assistant_started >= 30"
31  action: "BUGREPORT"
32  action: "NOTIFY"
33  action: "REMOVE_DEVICE"
34}
35