sound trigger VTS: used default HAL service name
am: f0b981a42a
Change-Id: I354258222b45e4f62cad91a95becd6eca142cf1d
This commit is contained in:
commit
86afc395bd
1 changed files with 5 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue