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 'dumpsys window | grep mCurrentFocus'" 10 delay_after: 3 11} 12step { 13 command: "shell input keyevent 3" 14 delay_after: 1 15} 16step { 17 command: "shell input keyevent 26" 18 delay_after: 2 19} 20step { 21 command: "shell dumpsys battery unplug" 22 delay_after: 1 23} 24step { 25 command: "shell dumpsys deviceidle force-idle" 26 delay_after: 5 27} 28step { 29 audio_file : "okg-us-male.wav" 30 audio_file_sample_rate : 24000 31 delay_after : 3 32} 33step { 34 command: "shell 'dumpsys window | grep mCurrentFocus'" 35 delay_after: 3 36} 37step { 38 command: "shell input keyevent 3" 39 delay_after: 1 40} 41step { 42 command: "shell input keyevent 26" 43 delay_after: 2 44} 45step { 46 command: "shell dumpsys battery unplug" 47 delay_after: 1 48} 49step { 50 command: "shell dumpsys deviceidle force-idle" 51 delay_after: 5 52} 53 54expected_result { 55 aohd_hotword_detected : 2 56 assistant_started : 1 57 dsp_false_accept : 0 58 logcat_iteration : 1 59 vis_software_hotword : 2 60} 61 62event { 63 name: "device_crashed" 64 condition: "iterations_since_aohd_hotword_detected >= 30 " 65 "or iterations_since_assistant_started >= 30" 66 action: "BUGREPORT" 67 action: "NOTIFY" 68 action: "REMOVE_DEVICE" 69} 70