1description: "Test that repeats itself"
2
3step {
4  audio_file : "okg-us-female.wav"
5  audio_file_sample_rate : 24000
6  delay_after : 3
7}
8step {
9  command: "shell input keyevent 3"
10  delay_after: 1
11}
12step {
13  command: "shell input keyevent 26"
14  delay_after: 2
15}
16step {
17  command: "shell dumpsys battery unplug"
18  delay_after: 1
19}
20step {
21  command: "shell dumpsys deviceidle force-idle"
22  delay_after: 5
23}
24step {
25  audio_file : "okg-us-male.wav"
26  audio_file_sample_rate : 24000
27  delay_after : 3
28}
29step {
30  command: "shell input keyevent 3"
31  delay_after: 1
32}
33step {
34  command: "shell input keyevent 26"
35  delay_after: 2
36}
37step {
38  command: "shell dumpsys battery unplug"
39  delay_after: 1
40}
41step {
42  command: "shell dumpsys deviceidle force-idle"
43  delay_after: 5
44}
45
46expected_result {
47    aohd_hotword_detected : 2
48    assistant_started  : 1
49    dsp_false_accept  : 0
50    logcat_iteration  : 1
51    software_hotword  : 2
52    speaker_id_rejected  : 1
53    vis_software_hotword  : 2
54}
55
56event {
57  name: "sync_word_not_present"
58  condition: "sync_word_not_present == 1 and iterations_since_sync_word_not_present == 0"
59  action: "NOTIFY"
60}
61