sound trigger VTS: used default HAL service name

am: f0b981a42a

Change-Id: I354258222b45e4f62cad91a95becd6eca142cf1d
This commit is contained in:
Eric Laurent 2017-05-17 22:09:06 +00:00 committed by android-build-merger
commit 86afc395bd

View file

@ -89,10 +89,11 @@ class Monitor {
class SoundTriggerHidlTest : public ::testing::VtsHalHidlTargetTestBase {
public:
virtual void SetUp() override {
mSoundTriggerHal = ::testing::VtsHalHidlTargetTestBase::getService<ISoundTriggerHw>("sound_trigger.primary");
ASSERT_NE(nullptr, mSoundTriggerHal.get());
mCallback = new SoundTriggerHwCallback(*this);
ASSERT_NE(nullptr, mCallback.get());
mSoundTriggerHal =
::testing::VtsHalHidlTargetTestBase::getService<ISoundTriggerHw>();
ASSERT_NE(nullptr, mSoundTriggerHal.get());
mCallback = new SoundTriggerHwCallback(*this);
ASSERT_NE(nullptr, mCallback.get());
}
static void SetUpTestCase() {