1file_to_watch { 2 source: "LOGCAT" 3 destination: "%(device)s_logcat.txt" 4 repeats_output_on_open: true 5 time_stamp { 6 type: DATE 7 regex: "^(\\d+-\\d+ \\d+:\\d+:\\d+.\\d+)" 8 date_format: "%m-%d %H:%M:%S.%f" 9 } 10} 11 12file_to_watch { 13 source: "/dev/kmsg" 14 destination: "%(device)s_kmsg.txt" 15 repeats_output_on_open: true 16 time_stamp { 17 type: MONOTONIC 18 regex: "^\\d+,\\d+,(\\d+)" 19 monotonic_to_seconds_multiplier: 1e-6 20 } 21} 22 23file_to_move { 24 source: "/sdcard/captured_dsp_audio.wav" 25 destination: "%(device)s/%(iteration)06d_captured_dsp_audio.wav" 26} 27 28event { 29 source: "LOGCAT" 30 name: "software_hotword" 31 regex: "MicroDetectionWorker: #onHotwordDetected" 32} 33 34event { 35 source: "LOGCAT" 36 name: "vis_software_hotword" 37 regex: "GsaVoiceInteractionSrv: onHotwordDetected" 38 regex: "SodaTriggeringFrontend: #onHotwordDetected" 39} 40 41event { 42 source: "LOGCAT" 43 name: "dsp_false_accept" 44 regex: "Software didn't trigger but DSP did" 45} 46 47event { 48 source: "LOGCAT" 49 name: "speaker_id_rejected" 50 regex: ": Speaker Verification failed" 51 regex: "Software based speaker id triggered: false" 52} 53 54event { 55 source: "LOGCAT" 56 name: "logcat_iteration" 57 regex: "STRESS_TEST: Iteration \d+ complete" 58} 59 60event { 61 source: "LOGCAT" 62 name: "assistant_started" 63 regex: "START.*com\.google\.android\.googlequicksearchbox.*opa\.OpaActivity.*|NGA starts FULL_LISTENING*" 64 regex: ".*mCurrentFocus=Window{.*VoiceInteractionSession}" 65 regex: ".*mCurrentFocus=Window{.*com\.google\.android\.googlequicksearchbox\/com\.google\.android\.apps\.search\.assistant\.surfaces\.voice\.ui\.host\.activity\.transientactivity\.FragmentHostTransientActivity}" 66 regex: ".*mCurrentFocus=Window{.*com\.google\.android\.googlequicksearchbox\/com\.google\.android\.apps\.search\.assistant\.surfaces\.voice\.ui\.host\.activity\.fullscreenactivity\.FragmentHostFullScreenActivity}" 67 regex: ".*mCurrentFocus=Window{.*com\.google\.android\.googlequicksearchbox\/com\.google\.android\.apps\.search\.assistant\.surfaces\.voice\.ui\.host\.activity\.defaultactivity\.FragmentHostDefaultActivity}" 68} 69 70event { 71 source: "LOGCAT" 72 name: "aohd_hotword_detected" 73 regex: "AlwaysOnHotwordDetector: onDetected" 74} 75 76setup_command: "shell setprop log.tag.AlwaysOnHotwordDetector DEBUG" 77setup_command: "shell setprop log.tag.ClockworkHomeGoogle DEBUG" 78setup_command: "shell setprop log.tag.DSPMicrophoneIS DEBUG" 79setup_command: "shell setprop log.tag.DSPMicrophoneInputStrea DEBUG" 80setup_command: "shell setprop log.tag.GsaVoiceInteractionSrv DEBUG" 81setup_command: "shell setprop log.tag.HotwordAudioProvider DEBUG" 82setup_command: "shell setprop log.tag.HotwordConfig DEBUG" 83setup_command: "shell setprop log.tag.HotwordConfigController DEBUG" 84setup_command: "shell setprop log.tag.HotwordDetector DEBUG" 85setup_command: "shell setprop log.tag.HotwordHelper DEBUG" 86setup_command: "shell setprop log.tag.HotwordRecognitionEngn DEBUG" 87setup_command: "shell setprop log.tag.HotwordRecognitionRnr DEBUG" 88setup_command: "shell setprop log.tag.HotwordSettingsCntrlr DEBUG" 89setup_command: "shell setprop log.tag.HotwordState DEBUG" 90setup_command: "shell setprop log.tag.HotwordWorker DEBUG" 91setup_command: "shell setprop log.tag.HotwordWorkerImpl DEBUG" 92setup_command: "shell setprop log.tag.MicroDetectionState DEBUG" 93setup_command: "shell setprop log.tag.MicroRecognitionEngine DEBUG" 94setup_command: "shell setprop log.tag.SWHotwordRecognizer DEBUG" 95setup_command: "shell setprop log.tag.SoundTrigger DEBUG" 96setup_command: "shell setprop log.tag.SoundTriggerHelper DEBUG" 97setup_command: "shell setprop log.tag.SoundTriggerTest DEBUG" 98setup_command: "shell setprop log.tag.VISHotwordAdapter DEBUG" 99setup_command: "shell setprop log.tag.WearVIS DEBUG" 100setup_command: "shell setprop log.tag.MicroDetectionWorker DEBUG" 101setup_command: "shell setprop log.tag.MicroDetectionWrkImpl DEBUG" 102setup_command: "shell setprop log.tag.MicroDetector DEBUG" 103setup_command: "shell setprop log.tag.MicroRecognitionEngine DEBUG" 104setup_command: "shell setprop log.tag.MicroRecognitionRnrImpl DEBUG" 105setup_command: "logcat -P ''" 106 107tag_to_suppress: "GoogleApiClientConnected" 108