/hardware/interfaces/audio/aidl/vts/ |
D | VtsHalAudioEffectTargetTest.cpp | 59 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in AudioEffectTest() 60 mVersion = EffectFactoryHelper::getHalVersion(mFactory); in AudioEffectTest() 70 ASSERT_NO_FATAL_FAILURE(destroyIgnoreRet(mFactory, mEffect)); in TearDown() 76 std::shared_ptr<IFactory> mFactory; member in AudioEffectTest 102 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in TEST_P() 103 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TEST_P() 107 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in TEST_P() 110 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TEST_P() 114 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in TEST_P() 116 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TEST_P() [all …]
|
D | VtsHalAECTargetTest.cpp | 47 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in AECParamTest() 51 ASSERT_NE(nullptr, mFactory); in SetUp() 52 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 65 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 81 std::shared_ptr<IFactory> mFactory; member in AECParamTest
|
D | VtsHalPresetReverbTargetTest.cpp | 39 ASSERT_NE(nullptr, mFactory); in SetUpPresetReverb() 40 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpPresetReverb() 52 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDownPresetReverb() 92 std::shared_ptr<IFactory> mFactory; member in PresetReverbHelper 115 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in PresetReverbParamTest() 135 std::tie(mFactory, mDescriptor) = GetParam(); in PresetReverbProcessTest()
|
D | VtsHalVirtualizerTargetTest.cpp | 38 ASSERT_NE(nullptr, mFactory); in SetUpVirtualizer() 39 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpVirtualizer() 52 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDownVirtualizer() 105 std::shared_ptr<IFactory> mFactory; member in VirtualizerHelper 129 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in VirtualizerParamTest() 150 std::tie(mFactory, mDescriptor) = std::get<PROCESS_INSTANCE_NAME>(GetParam()); in VirtualizerProcessTest()
|
D | VtsHalLoudnessEnhancerTargetTest.cpp | 47 ASSERT_NE(nullptr, mFactory); in SetUpLoudnessEnhancer() 48 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpLoudnessEnhancer() 56 mVersion = EffectFactoryHelper::getHalVersion(mFactory); in SetUpLoudnessEnhancer() 61 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDownLoudnessEnhancer() 115 std::shared_ptr<IFactory> mFactory; member in LoudnessEnhancerEffectHelper 133 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in LoudnessEnhancerParamTest() 155 std::tie(mFactory, mDescriptor) = GetParam(); in LoudnessEnhancerDataTest()
|
D | VtsHalAGC1TargetTest.cpp | 48 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in AGC1ParamTest() 52 ASSERT_NE(nullptr, mFactory); in SetUp() 53 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 66 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 78 std::shared_ptr<IFactory> mFactory; member in AGC1ParamTest
|
D | VtsHalNSTargetTest.cpp | 44 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in NSParamTest() 48 ASSERT_NE(nullptr, mFactory); in SetUp() 49 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 62 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 78 std::shared_ptr<IFactory> mFactory; member in NSParamTest
|
D | VtsHalHapticGeneratorTargetTest.cpp | 85 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in HapticGeneratorParamTest() 88 ASSERT_NE(nullptr, mFactory); in SetUp() 89 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 101 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 105 std::shared_ptr<IFactory> mFactory; member in HapticGeneratorParamTest 244 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in HapticGeneratorScalesTest() 248 ASSERT_NE(nullptr, mFactory); in SetUp() 249 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 261 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 266 std::shared_ptr<IFactory> mFactory; member in HapticGeneratorScalesTest
|
D | VtsHalAGC2TargetTest.cpp | 49 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in AGC2ParamTest() 53 ASSERT_NE(nullptr, mFactory); in SetUp() 54 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 67 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 79 std::shared_ptr<IFactory> mFactory; member in AGC2ParamTest
|
D | VtsHalEqualizerTargetTest.cpp | 67 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in EqualizerTest() 71 ASSERT_NE(nullptr, mFactory); in SetUp() 72 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 83 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 87 std::shared_ptr<IFactory> mFactory; member in EqualizerTest
|
D | VtsHalVisualizerTargetTest.cpp | 58 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in VisualizerParamTest() 62 ASSERT_NE(nullptr, mFactory); in SetUp() 63 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 75 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 79 std::shared_ptr<IFactory> mFactory; member in VisualizerParamTest
|
D | VtsHalSpatializerTargetTest.cpp | 74 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); 78 ASSERT_NE(nullptr, mFactory); in SetUp() 79 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp() 92 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDown() 103 std::shared_ptr<IFactory> mFactory; member in SpatializerParamTest
|
D | VtsHalBassBoostTargetTest.cpp | 52 ASSERT_NE(nullptr, mFactory); in SetUpBassBoost() 53 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpBassBoost() 70 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDownBassBoost() 120 std::shared_ptr<IFactory> mFactory; member in BassBoostEffectHelper 137 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in BassBoostParamTest() 163 std::tie(mFactory, mDescriptor) = std::get<DATA_INSTANCE_NAME>(GetParam()); in BassBoostDataTest()
|
D | VtsHalVolumeTargetTest.cpp | 36 ASSERT_NE(nullptr, mFactory); in SetUpVolumeControl() 37 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpVolumeControl() 50 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDownVolumeControl() 102 std::shared_ptr<IFactory> mFactory; member in VolumeControlHelper 121 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in VolumeParamTest() 146 std::tie(mFactory, mDescriptor) = GetParam(); in VolumeDataTest()
|
D | VtsHalDownmixTargetTest.cpp | 90 ASSERT_NE(nullptr, mFactory); in SetUpDownmix() 91 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpDownmix() 109 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDownDownmix() 177 std::shared_ptr<IFactory> mFactory; member in DownmixEffectHelper 207 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in DownmixParamTest() 231 std::tie(mFactory, mDescriptor) = std::get<FOLD_INSTANCE_NAME>(GetParam()); in DownmixFoldDataTest() 386 std::tie(mFactory, mDescriptor) = std::get<STRIP_INSTANCE_NAME>(GetParam()); in DownmixStripDataTest()
|
D | VtsHalEnvironmentalReverbTargetTest.cpp | 148 std::tie(mFactory, mDescriptor) = pair; in EnvironmentalReverbHelper() 152 ASSERT_NE(nullptr, mFactory); in SetUpReverb() 153 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpReverb() 165 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDownReverb() 292 std::shared_ptr<IFactory> mFactory; member in EnvironmentalReverbHelper
|
D | VtsHalDynamicsProcessingTest.cpp | 48 std::tie(mFactory, mDescriptor) = pair; in DynamicsProcessingTestHelper() 56 ASSERT_NE(nullptr, mFactory); in SetUpDynamicsProcessingEffect() 57 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpDynamicsProcessingEffect() 82 ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); in TearDownDynamicsProcessingEffect() 129 std::shared_ptr<IFactory> mFactory; member in DynamicsProcessingTestHelper
|
/hardware/interfaces/cas/aidl/default/ |
D | FactoryLoader.h | 37 FactoryLoader(const char* name) : mFactory(NULL), mCreateFactoryFuncName(name) {} in FactoryLoader() 50 T* mFactory; variable 153 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 162 *factory = mFactory; in loadFactoryForSchemeFromPath() 173 if (!openFactory(path) || mFactory->queryPlugins(&descriptors) != OK) { in queryPluginsFromPath() 205 if (createFactory == NULL || (mFactory = createFactory()) == NULL) { in openFactory() 213 delete mFactory; in closeFactory() local 214 mFactory = NULL; in closeFactory()
|
/hardware/interfaces/cas/1.0/default/ |
D | FactoryLoader.h | 40 mFactory(NULL), mCreateFactoryFuncName(name) {} in FactoryLoader() 55 T* mFactory; variable 167 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 176 *factory = mFactory; in loadFactoryForSchemeFromPath() 187 if (!openFactory(path) || mFactory->queryPlugins(&descriptors) != OK) { in queryPluginsFromPath() 221 if (createFactory == NULL || (mFactory = createFactory()) == NULL) { in openFactory() 229 delete mFactory; in closeFactory() local 230 mFactory = NULL; in closeFactory()
|
/hardware/interfaces/cas/1.2/default/ |
D | FactoryLoader.h | 41 FactoryLoader(const char* name) : mFactory(NULL), mCreateFactoryFuncName(name) {} in FactoryLoader() 54 T* mFactory; variable 155 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 164 *factory = mFactory; in loadFactoryForSchemeFromPath() 175 if (!openFactory(path) || mFactory->queryPlugins(&descriptors) != OK) { in queryPluginsFromPath() 207 if (createFactory == NULL || (mFactory = createFactory()) == NULL) { in openFactory() 215 delete mFactory; in closeFactory() local 216 mFactory = NULL; in closeFactory()
|
/hardware/interfaces/cas/1.1/default/ |
D | FactoryLoader.h | 41 FactoryLoader(const char* name) : mFactory(NULL), mCreateFactoryFuncName(name) {} in FactoryLoader() 54 T* mFactory; variable 155 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 164 *factory = mFactory; in loadFactoryForSchemeFromPath() 175 if (!openFactory(path) || mFactory->queryPlugins(&descriptors) != OK) { in queryPluginsFromPath() 207 if (createFactory == NULL || (mFactory = createFactory()) == NULL) { in openFactory() 215 delete mFactory; in closeFactory() local 216 mFactory = NULL; in closeFactory()
|