Avoid TREBLE_TESTING_OVERRIDE

This is moved from an environmental variable to a function since
getenv is problematic in multi-threaded testing environments.

Bug: 156668058
Test: fmq_test
Change-Id: I038f221b0fb1e239a18babacc0ea0d9992eb7f02
2 files changed
tree: c3f0f2b3fba4b37e3fff4eb4780be4b37e2810c9
  1. benchmarks/
  2. include/
  3. tests/
  4. Android.bp
  5. EventFlag.cpp
  6. FmqInternal.cpp
  7. OWNERS
  8. PREUPLOAD.cfg
  9. TEST_MAPPING