Moved multithread_func related functions to utils.py

Functions related to multithread_func are moved from tel_test_utils.py
to utils.py, such as:
- task_wrapper (only called by functions below)
- run_multithread_func_async
- run_multithread_func
- multithread_func
- multithread_func_and_check_results

The purpose is to avoid circular import happening during
re-organizing tel_test_utils.py.

Lines of import in all involved test classes and utils are
updated.

Bug: None
Test: Yes, locally
Change-Id: I89e1667fcd0cc671323a4fe35c4079456ab3f560
41 files changed
tree: 965ee9ab0317d3f9c04e35a24e01d3f18a50548e
  1. acts/
  2. acts_tests/
  3. tools/
  4. wts-acts/
  5. Android.mk
  6. OWNERS
  7. PREUPLOAD.cfg