WifiDiagnostics: Add a timeout for logcat calls

The logcat shell command currently blocks forever if something is wrong.
Add a timeout to error out after 500 ms.

Bug: 157062041
Test: Verified that WifiDiagnostics dump is not broken.
Change-Id: Id67082c5fedf259790950acbffa41cfb042c415a
1 file changed
tree: bbb95715c4e69fc4c4d4911859cd02a6f556aa87
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg