Home
last modified time | relevance | path

Searched refs:model_ (Results 1 – 6 of 6) sorted by relevance

/test/xts/hats/hdf/audio/idl/effect_additional/src/
Deffect_model_test.cpp34 struct IEffectModel *model_ = nullptr; member in __anon162ac6680111::EffectModelTestAdditional
42 model_ = IEffectModelGet(IS_DIRECTLY_CALL); in SetUp()
43 ASSERT_NE(nullptr, model_); in SetUp()
48 if (model_ != nullptr) { in TearDown()
49 IEffectModelRelease(model_, IS_DIRECTLY_CALL); in TearDown()
60 int32_t ret = model_->IsSupplyEffectLibs(nullptr, nullptr);
73 ret = model_->IsSupplyEffectLibs(nullptr, nullptr);
86 EXPECT_EQ(HDF_SUCCESS, model_->IsSupplyEffectLibs(model_, &isSupport));
98 EXPECT_EQ(HDF_SUCCESS, model_->IsSupplyEffectLibs(model_, &isSupport));
110 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, model_->IsSupplyEffectLibs(nullptr, &isSupport));
[all …]
Deffect_control_test.cpp38 struct IEffectModel *model_ = nullptr; member in __anon74d229d80111::EffectControlTestAdditional
52 model_ = IEffectModelGet(IS_DIRECTLY_CALL); in SetUp()
53 ASSERT_NE(model_, nullptr); in SetUp()
55 int32_t ret = model_->CreateEffectController(model_, &info, &controller_, &contollerId_); in SetUp()
62 if (controller_ != nullptr && model_ != nullptr) { in TearDown()
63 int32_t ret = model_->DestroyEffectController(model_, &contollerId_); in TearDown()
67 if (model_ != nullptr) { in TearDown()
68 IEffectModelRelease(model_, IS_DIRECTLY_CALL); in TearDown()
/test/xts/hats/hdf/audio/idl/effect/src/
Deffect_model_test.cpp33 struct IEffectModel *model_ = nullptr; member in __anon0ee1cbb00211::EffectModelTest
46 model_ = IEffectModelGet(IS_DIRECTLY_CALL); in SetUp()
47 ASSERT_NE(nullptr, model_); in SetUp()
63 if (model_ != nullptr) { in TearDown()
64 IEffectModelRelease(model_, IS_DIRECTLY_CALL); in TearDown()
77 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, model_->IsSupplyEffectLibs(nullptr, &isSupport));
78 EXPECT_EQ(HDF_ERR_INVALID_PARAM, model_->IsSupplyEffectLibs(model_, nullptr));
90 int32_t ret = model_->IsSupplyEffectLibs(model_, &isSupport);
105 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, model_->GetAllEffectDescriptors(nullptr, descs, &descsLen));
106 EXPECT_EQ(HDF_ERR_INVALID_PARAM, model_->GetAllEffectDescriptors(model_, nullptr, &descsLen));
[all …]
Deffect_control_test.cpp38 struct IEffectModel *model_ = nullptr; member in __anon775fa1200111::EffectControlTest
57 model_ = IEffectModelGet(IS_DIRECTLY_CALL); in SetUp()
58 ASSERT_NE(model_, nullptr); in SetUp()
60 int32_t ret = model_->CreateEffectController(model_, &info, &controller_, &contollerId_); in SetUp()
78 if (controller_ != nullptr && model_ != nullptr) { in TearDown()
79 int32_t ret = model_->DestroyEffectController(model_, &contollerId_); in TearDown()
83 if (model_ != nullptr) { in TearDown()
84 IEffectModelRelease(model_, IS_DIRECTLY_CALL); in TearDown()
/test/xts/hats/hdf/audio/idl/benchmarktest/effect/
Deffect_model_test.cpp36 struct IEffectModel *model_ = nullptr; member in __anone05d2c930111::EffectModelBenchmarkTest
49 model_ = IEffectModelGet(IS_DIRECTLY_CALL); in SetUp()
50 ASSERT_NE(nullptr, model_); in SetUp()
66 if (model_ != nullptr) { in TearDown()
67 IEffectModelRelease(model_, IS_DIRECTLY_CALL); in TearDown()
80 ret = model_->IsSupplyEffectLibs(model_, &isSupport); in BENCHMARK_F()
97 ret = model_->GetAllEffectDescriptors(model_, descs, &descsLen); in BENCHMARK_F()
118 ret = model_->CreateEffectController(model_, &info, &contoller, &contollerId_); in BENCHMARK_F()
124 ret = model_->DestroyEffectController(model_, &contollerId_); in BENCHMARK_F()
140 ret = model_->GetEffectDescriptor(model_, effectId_, &desc); in BENCHMARK_F()
Deffect_control_test.cpp41 struct IEffectModel *model_ = nullptr; member in __anon9536c6c30111::EffectControlBenchmarkTest
60 model_ = IEffectModelGet(IS_DIRECTLY_CALL); in SetUp()
61 ASSERT_NE(model_, nullptr); in SetUp()
63 int32_t ret = model_->CreateEffectController(model_, &info, &controller_, &contollerId_); in SetUp()
81 if (controller_ != nullptr && model_ != nullptr) { in TearDown()
82 int32_t ret = model_->DestroyEffectController(model_, &contollerId_); in TearDown()
86 if (model_ != nullptr) { in TearDown()
87 IEffectModelRelease(model_, IS_DIRECTLY_CALL); in TearDown()