| description: "Stress test DSP hotword on HomeScreen. User must be enrolled for " |
| "DSP hotword" |
| |
| step { |
| audio_file : "okg-us-female.wav" |
| audio_file_sample_rate : 24000 |
| delay_after : 3 |
| } |
| |
| step { |
| command: "shell input keyevent 3" |
| delay_after : 3 |
| } |
| |
| expected_result { |
| aohd_hotword_detected : 1 |
| assistant_started : 1 |
| dsp_false_accept : 0 |
| logcat_iteration : 1 |
| speaker_id_rejected : 0 |
| vis_software_hotword : 1 |
| } |
| |
| event { |
| name: "device_crashed" |
| condition: "iterations_since_aohd_hotword_detected >= 30 " |
| "or iterations_since_assistant_started >= 30" |
| action: "BUGREPORT" |
| action: "NOTIFY" |
| action: "REMOVE_DEVICE" |
| } |