Backport NNTestBase.getAcceleratorNames from

Method introduced in I8b4133fe9da41e7f69abe1dfa923f04c129711a4,
fix for NNAPI benchmark timeouts on the android11-tests depends on
this method.

Merged-In: I8b4133fe9da41e7f69abe1dfa923f04c129711a4
Bug: 171020693
Test: Run NNAPI Benchmarks
Change-Id: I5808c54e8cfabac20f809a7822b087dee3ad722e
2 files changed