commit | 3162432cb2cb1238c95123b412dd326f31ba1610 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@google.com> | Tue Feb 20 18:08:58 2018 -0800 |
committer | Pavlin Radoslavov <pavlin@google.com> | Tue Feb 27 22:48:06 2018 -0800 |
tree | c6e32a5e7e559a1ea19baf00bb8af90ef8f07244 | |
parent | 7b7567ceeaf2122d0adc030adf2c947f038fab4c [diff] |
Add a unit test testStopA2dpService() Also, added helper method TestUtils.runOnLooperSync(Looper looper, Runnable action) that can be used to run synchronously a runnable action on a looper thread. Bug: 73832547 Test: runtest bluetooth -c com.android.bluetooth.a2dp.A2dpServiceTest \ --test-method testStopA2dpService Change-Id: I07ceb3bf3b80f841d3443613b7a6e839497dd447