• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1description: "Let device in idle and check the DSP wakeup counts"
2             "Stop Testing if DSP detects hotword over 30 times"
3
4step {
5  command: "shell dumpsys battery unplug"
6  delay_after: 1
7}
8step {
9  command: "shell 'dumpsys window | grep mCurrentFocus'"
10  delay_after: 3
11}
12step {
13  command: "shell dumpsys deviceidle force-idle"
14  delay_after: 59
15}
16
17expected_result {
18    aohd_hotword_detected : 0
19    assistant_started  : 0
20    dsp_false_accept  : 0
21    speaker_id_rejected : 0
22    logcat_iteration  : 1
23    software_hotword  : 0
24    vis_software_hotword  : 0
25}
26
27event {
28  name: "device_crashed"
29  condition: "aohd_hotword_detected >= 30"
30  action: "BUGREPORT"
31  action: "NOTIFY"
32  action: "REMOVE_DEVICE"
33}
34