Home
last modified time | relevance | path

Searched refs:EXPECT_STATUS (Results 1 – 19 of 19) sorted by relevance

/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioCoreModuleTargetTest.cpp388 EXPECT_STATUS(EX_ILLEGAL_ARGUMENT, (inst->*setter)(v)) in TestAccessors()
414 EXPECT_STATUS(kStatuses, status); in TestGetVendorParameters()
436 EXPECT_STATUS(kStatuses, status) in TestSetVendorParameters()
438 EXPECT_STATUS(kStatuses, inst->setVendorParameters(params, true)) in TestSetVendorParameters()
1436 EXPECT_STATUS(EX_ILLEGAL_ARGUMENT, module->getAudioRoutesForAudioPort(portId, &routes)) in TEST_P()
1521 EXPECT_STATUS(EX_ILLEGAL_ARGUMENT, module->getAudioPort(portId, &port)) in TEST_P()
1601 EXPECT_STATUS(EX_ILLEGAL_ARGUMENT, module->openInputStream(args, &ret)) in TEST_P()
1610 EXPECT_STATUS(EX_ILLEGAL_ARGUMENT, module->openOutputStream(args, &ret)) in TEST_P()
1637 EXPECT_STATUS(EX_ILLEGAL_ARGUMENT, module->resetAudioPortConfig(portConfigId)) in TEST_P()
1736 EXPECT_STATUS(EX_ILLEGAL_ARGUMENT, in TEST_P()
[all …]
DVtsHalAECTargetTest.cpp105 EXPECT_STATUS(expected, mEffect->setParameter(expectParam)) << expectParam.toString(); in SetAndGetParameters()
114 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetParameters()
DVtsHalAGC1TargetTest.cpp103 EXPECT_STATUS(expected, mEffect->setParameter(expectParam)) << expectParam.toString(); in SetAndGetParameters()
112 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetParameters()
DVtsHalNSTargetTest.cpp101 EXPECT_STATUS(expected, mEffect->setParameter(expectParam)) << expectParam.toString(); in SetAndGetParameters()
110 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetParameters()
DVtsHalHapticGeneratorTargetTest.cpp124 EXPECT_STATUS(EX_NONE, mEffect->setParameter(expectParam)) << expectParam.toString(); in SetAndGetHapticGeneratorParameters()
132 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetHapticGeneratorParameters()
283 EXPECT_STATUS(EX_NONE, mEffect->setParameter(param)) << param.toString(); in SetHapticScaleParameters()
293 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &targetParam)); in checkHapticScaleParameter()
DVtsHalAGC2TargetTest.cpp104 EXPECT_STATUS(expected, mEffect->setParameter(expectParam)) << expectParam.toString(); in SetAndGetParameters()
113 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in SetAndGetParameters()
DVtsHalAudioEffectFactoryTargetTest.cpp64 EXPECT_STATUS(EX_NONE, status); in TearDown()
97 EXPECT_STATUS(expectStatus, mEffectFactory->createEffect(uuid, &effect)); in createWithDescs()
108 EXPECT_STATUS(expectStatus, mEffectFactory->destroyEffect(effect)); in destroyEffects()
DVtsHalSpatializerTargetTest.cpp125 EXPECT_STATUS(expected, mEffect->setParameter(expectParam)) << expectParam.toString(); in TEST_P()
135 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in TEST_P()
DVtsHalVisualizerTargetTest.cpp103 EXPECT_STATUS(expected, mEffect->setParameter(expectParam)) << expectParam.toString(); in SetAndGetParameters()
112 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)) in SetAndGetParameters()
DVtsHalEqualizerTargetTest.cpp107 EXPECT_STATUS(expected, mEffect->setParameter(expectParam)) in SetAndGetEqualizerParameters()
117 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in SetAndGetEqualizerParameters()
DVtsHalPresetReverbTargetTest.cpp71 EXPECT_STATUS(EX_NONE, mEffect->setParameter(expectedParam)) << expectedParam.toString(); in setAndVerifyPreset()
79 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in setAndVerifyPreset()
DVtsHalVirtualizerTargetTest.cpp81 EXPECT_STATUS(expected, mEffect->setParameter(expectedParam)) << expectedParam.toString(); in setAndVerifyStrength()
91 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in setAndVerifyStrength()
DTestUtils.h103 #define EXPECT_STATUS(expected, ret) \ macro
DVtsHalLoudnessEnhancerTargetTest.cpp95 EXPECT_STATUS(expected, mEffect->setParameter(param)) << param.toString(); in setParameters()
107 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in validateParameters()
DVtsHalBassBoostTargetTest.cpp101 EXPECT_STATUS(expected, mEffect->setParameter(expectedParam)) << expectedParam.toString(); in setAndVerifyParameters()
110 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in setAndVerifyParameters()
DVtsHalVolumeTargetTest.cpp81 EXPECT_STATUS(expected, mEffect->setParameter(expectedParam)) << expectedParam.toString(); in setAndVerifyParameters()
90 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in setAndVerifyParameters()
DVtsHalEnvironmentalReverbTargetTest.cpp189 EXPECT_STATUS(expected, mEffect->setParameter(expectedParam)) << expectedParam.toString(); in setAndVerifyParam()
199 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in setAndVerifyParam()
DVtsHalDownmixTargetTest.cpp121 EXPECT_STATUS(EX_NONE, mEffect->setParameter(param)) << param.toString(); in setParameters()
129 EXPECT_STATUS(EX_NONE, mEffect->getParameter(id, &getParam)); in validateParameters()
DVtsHalDynamicsProcessingTest.cpp361 EXPECT_STATUS(expected, mEffect->getParameter(id, &getParam)); in SetAndGetDynamicsProcessingParameters()