Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4933fe46 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "remove stopAllRecognitions VTS test" am: 643c8239

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1383508

Change-Id: Idd99934236ab8a39cb3d5dc7f49950b4bd9ceca9
parents caafc5e6 643c8239
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -293,22 +293,6 @@ TEST_P(SoundTriggerHidlTest, StopRecognitionNoAStartFail) {
    EXPECT_NE(0, hidlReturn);
}

/**
 * Test ISoundTriggerHw::stopAllRecognitions() method
 *
 * Verifies that:
 *  - the implementation implements this optional method or indicates it is not support by
 *  returning -ENOSYS
 */
TEST_P(SoundTriggerHidlTest, stopAllRecognitions) {
    Return<int32_t> hidlReturn(0);

    hidlReturn = mSoundTriggerHal->stopAllRecognitions();

    EXPECT_TRUE(hidlReturn.isOk());
    EXPECT_TRUE(hidlReturn == 0 || hidlReturn == -ENOSYS);
}

INSTANTIATE_TEST_SUITE_P(
        PerInstance, SoundTriggerHidlTest,
        testing::ValuesIn(android::hardware::getAllHalInstanceNames(ISoundTriggerHw::descriptor)),