/drivers/peripheral/codec/test/unittest/idl_omx/ |
D | codec_hdi_manager_test.cpp | 35 manager_ = ICodecComponentManager::Get(); in SetUp() 40 manager_ = nullptr; in TearDown() 45 sptr<ICodecComponentManager> manager_; member in __anon4272bc130111::CodecHdiManagerTest 51 ASSERT_TRUE(manager_ != nullptr); 53 auto ret = manager_->GetComponentNum(count); 60 ASSERT_TRUE(manager_ != nullptr); 62 auto ret = manager_->GetComponentNum(count); 67 ret = manager_->GetComponentCapabilityList(capList, count); 74 ASSERT_TRUE(manager_ != nullptr); 77 int32_t ret = manager_->CreateComponent(component, componentId, "", APP_DATA, callback_); [all …]
|
/drivers/peripheral/codec/test/unittest/hdi_omx/ |
D | codec_hdi_manager_test.cpp | 30 manager_ = GetCodecComponentManager(); in SetUp() 35 manager_ = nullptr; in TearDown() 39 struct CodecComponentManager *manager_ = nullptr; member in __anonda26204f0111::CodecHdiManagerTest 44 ASSERT_TRUE(manager_ != nullptr); 45 auto count = manager_->GetComponentNum(); 51 ASSERT_TRUE(manager_ != nullptr); 52 auto count = manager_->GetComponentNum(); 56 auto err = manager_->GetComponentCapabilityList(capList, count); 66 ASSERT_TRUE(manager_ != nullptr); 69 …int32_t ret = manager_->CreateComponent(&component, &componentId, nullptr, (int64_t)this, callback… [all …]
|
D | codec_hdi_omx_test.cpp | 227 manager_ = GetCodecComponentManager(); in SetUpTestCase() 229 if (manager_ == nullptr) { in SetUpTestCase() 233 auto count = manager_->GetComponentNum(); in SetUpTestCase() 237 auto err = manager_->GetComponentCapabilityList(capList, count); in SetUpTestCase() 247 manager_ = nullptr; in TearDownTestCase() 251 if (manager_ == nullptr) { in SetUp() 262 auto ret = manager_->CreateComponent(&component_, &componentId_, compName_.data(), in SetUp() 276 if (manager_ != nullptr && component_ != nullptr) { in TearDown() 277 manager_->DestroyComponent(componentId_); in TearDown() 290 static inline struct CodecComponentManager *manager_ = nullptr; member in __anona20b06280111::CodecHdiOmxTest
|
/drivers/peripheral/codec/test/benchmarktest/ |
D | codec_benchmark_manager_test.cpp | 32 manager_ = ICodecComponentManager::Get(); in SetUp() 37 manager_ = nullptr; in TearDown() 42 sptr<ICodecComponentManager> manager_; member in __anon432f11990111::CodecBenchmarkManagerTest 48 ASSERT_TRUE(manager_ != nullptr); in BENCHMARK_F() 52 ret = manager_->GetComponentNum(count); in BENCHMARK_F() 63 ASSERT_TRUE(manager_ != nullptr); in BENCHMARK_F() 65 auto ret = manager_->GetComponentNum(count); in BENCHMARK_F() 71 ret = manager_->GetComponentCapabilityList(capList, count); in BENCHMARK_F() 81 ASSERT_TRUE(manager_ != nullptr); in BENCHMARK_F() 84 auto ret = manager_->GetComponentNum(count); in BENCHMARK_F() [all …]
|
D | codec_benchmark_omx_test.cpp | 59 static sptr<ICodecComponentManager> manager_ = nullptr; variable 196 (void)manager_->GetComponentNum(count); in InitComponent() 199 auto err = manager_->GetComponentCapabilityList(capList, count); in InitComponent() 212 auto ret = manager_->CreateComponent(component_, componentId_, compName_.data(), in InitComponent() 230 manager_ = ICodecComponentManager::Get(); in SetUp() 232 if (manager_ == nullptr || gralloc_ == nullptr) { in SetUp() 241 if (manager_ != nullptr && component_ != nullptr) { in TearDown() 242 manager_->DestroyComponent(componentId_); in TearDown() 246 manager_ = nullptr; in TearDown() 417 manager_->DestroyComponent(componentId_); in BENCHMARK_F() [all …]
|
/drivers/peripheral/audio/test/benchmarktest/manager/ |
D | audio_manager_benchmarktest.cpp | 33 struct IAudioManager *manager_ = nullptr; member in __anon9724540c0111::AudioManagerBenchmarkTest 74 manager_ = IAudioManagerGet(false); in SetUp() 75 ASSERT_NE(manager_, nullptr); in SetUp() 80 IAudioManagerRelease(manager_, false); in TearDown() 85 ASSERT_NE(manager_, nullptr); in BENCHMARK_F() 93 ret = manager_->GetAllAdapters(manager_, adapterDescs_, &size); in BENCHMARK_F() 104 ASSERT_NE(manager_, nullptr); in BENCHMARK_F() 111 ret = manager_->GetAllAdapters(manager_, adapterDescs_, &size); in BENCHMARK_F() 115 ret = manager_->LoadAdapter(manager_, &adapterDescs_[0], &adapter); in BENCHMARK_F() 120 ret = manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName); in BENCHMARK_F()
|
/drivers/peripheral/audio/test/benchmarktest/capture/ |
D | audio_capture_mmap_benchmarktest.cpp | 39 struct IAudioManager *manager_ = nullptr;; member in __anonaa199e280111::AudioCaptureMmapBenchmarkTest 117 manager_ = IAudioManagerGet(false); in SetUp() 118 ASSERT_NE(manager_, nullptr); in SetUp() 120 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &adapterSize_)); in SetUp() 126 EXPECT_EQ(HDF_SUCCESS, manager_->LoadAdapter(manager_, &adapterDescs_[0], &adapter_)); in SetUp() 138 (void)manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName); in SetUp() 153 ASSERT_NE(manager_, nullptr); in TearDown() 154 EXPECT_EQ(HDF_SUCCESS, manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName)); in TearDown() 157 IAudioManagerRelease(manager_, false); in TearDown()
|
D | audio_capture_benchmarktest.cpp | 43 struct IAudioManager *manager_ = nullptr;; member in __anon555357fe0111::AudioCaptureBenchmarkTest 156 manager_ = IAudioManagerGet(false); in SetUp() 157 ASSERT_NE(manager_, nullptr); in SetUp() 163 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp() 169 EXPECT_EQ(HDF_SUCCESS, manager_->LoadAdapter(manager_, &adapterDescs_[0], &adapter_)); in SetUp() 179 (void)manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName); in SetUp() 194 ASSERT_NE(manager_, nullptr); in TearDown() 195 EXPECT_EQ(HDF_SUCCESS, manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName)); in TearDown() 198 IAudioManagerRelease(manager_, false); in TearDown()
|
/drivers/peripheral/audio/test/benchmarktest/render/ |
D | audio_render_mmap_benchmarktest.cpp | 41 struct IAudioManager *manager_ = nullptr; member in __anond84b4a000111::AudioRenderMmapBenchmarkTest 120 manager_ = IAudioManagerGet(false); in SetUp() 121 ASSERT_NE(manager_, nullptr); in SetUp() 123 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, descs_, &size_)); in SetUp() 127 ASSERT_EQ(HDF_SUCCESS, manager_->LoadAdapter(manager_, desc_, &adapter_)); in SetUp() 151 if (manager_ != nullptr) { in TearDown() 152 manager_->UnloadAdapter(manager_, desc_->adapterName); in TearDown() 156 IAudioManagerRelease(manager_, false); in TearDown()
|
D | audio_render_benchmarktest.cpp | 48 struct IAudioManager *manager_ = nullptr; member in __anon3a7c3cd60111::AudioRenderBenchmarkTest 155 manager_ = IAudioManagerGet(false); in SetUp() 156 ASSERT_NE(manager_, nullptr); in SetUp() 158 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, descs_, &size_)); in SetUp() 162 ASSERT_EQ(HDF_SUCCESS, manager_->LoadAdapter(manager_, desc_, &adapter_)); in SetUp() 186 if (manager_ != nullptr) { in TearDown() 187 manager_->UnloadAdapter(manager_, desc_->adapterName); in TearDown() 191 IAudioManagerRelease(manager_, false); in TearDown()
|
/drivers/peripheral/audio/test/unittest/common/render/ |
D | audio_render_mmap_test.cpp | 37 struct IAudioManager *manager_ = nullptr; member in __anonb10734820111::AudioUtRenderMmapTest 115 manager_ = IAudioManagerGet(false); in SetUp() 116 ASSERT_NE(manager_, nullptr); in SetUp() 118 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, descs_, &size_)); in SetUp() 122 ASSERT_EQ(HDF_SUCCESS, manager_->LoadAdapter(manager_, desc_, &adapter_)); in SetUp() 146 if (manager_ != nullptr) { in TearDown() 147 manager_->UnloadAdapter(manager_, desc_->adapterName); in TearDown() 151 IAudioManagerRelease(manager_, false); in TearDown()
|
D | audio_render_common_test.cpp | 41 struct IAudioManager *manager_ = nullptr; member in __anond933a8000111::AudioUtRenderTest 148 manager_ = IAudioManagerGet(false); in SetUp() 149 ASSERT_NE(manager_, nullptr); in SetUp() 151 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, descs_, &size_)); in SetUp() 155 ASSERT_EQ(HDF_SUCCESS, manager_->LoadAdapter(manager_, desc_, &adapter_)); in SetUp() 179 if (manager_ != nullptr) { in TearDown() 180 manager_->UnloadAdapter(manager_, desc_->adapterName); in TearDown() 184 IAudioManagerRelease(manager_, false); in TearDown()
|
/drivers/peripheral/audio/test/unittest/common/capture/ |
D | audio_capture_mmap_test.cpp | 36 struct IAudioManager *manager_ = nullptr;; member in __anond32922ea0111::AudioUtCaptureMmapTest 114 manager_ = IAudioManagerGet(false); in SetUp() 115 ASSERT_NE(manager_, nullptr); in SetUp() 117 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &adapterSize_)); in SetUp() 123 EXPECT_EQ(HDF_SUCCESS, manager_->LoadAdapter(manager_, &adapterDescs_[0], &adapter_)); in SetUp() 135 (void)manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName); in SetUp() 150 ASSERT_NE(manager_, nullptr); in TearDown() 151 EXPECT_EQ(HDF_SUCCESS, manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName)); in TearDown() 154 IAudioManagerRelease(manager_, false); in TearDown()
|
D | audio_capture_common_test.cpp | 37 struct IAudioManager *manager_ = nullptr;; member in __anon0b8ad0680111::AudioUtCaptureTest 151 manager_ = IAudioManagerGet(false); in SetUp() 152 ASSERT_NE(manager_, nullptr); in SetUp() 158 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp() 164 EXPECT_EQ(HDF_SUCCESS, manager_->LoadAdapter(manager_, &adapterDescs_[0], &adapter_)); in SetUp() 174 (void)manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName); in SetUp() 189 ASSERT_NE(manager_, nullptr); in TearDown() 190 EXPECT_EQ(HDF_SUCCESS, manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName)); in TearDown() 193 IAudioManagerRelease(manager_, false); in TearDown()
|
/drivers/peripheral/audio/test/benchmarktest/adapter/ |
D | audio_adapter_benchmarktest.cpp | 41 struct IAudioManager *manager_ = nullptr; member in __anonf7f248180111::AudioAdapterBenchmarkTest 115 manager_ = IAudioManagerGet(false); in SetUp() 116 ASSERT_NE(manager_, nullptr); in SetUp() 122 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp() 128 if (manager_->LoadAdapter(manager_, &adapterDescs_[0], &adapter_) != HDF_SUCCESS) { in SetUp() 141 ASSERT_NE(manager_, nullptr); in TearDown() 144 manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName); in TearDown() 147 IAudioManagerRelease(manager_, false); in TearDown() 148 manager_ = nullptr; in TearDown()
|
/drivers/peripheral/audio/test/unittest/common/adapter/ |
D | audio_adapter_common_test.cpp | 41 struct IAudioManager *manager_ = nullptr; member in __anone99af2020111::HdfAudioUtAdapterTest 115 manager_ = IAudioManagerGet(false); in SetUp() 116 ASSERT_NE(manager_, nullptr); in SetUp() 122 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp() 128 if (manager_->LoadAdapter(manager_, &adapterDescs_[0], &adapter_) != HDF_SUCCESS) { in SetUp() 140 ASSERT_NE(manager_, nullptr); in TearDown() 143 manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName); in TearDown() 146 IAudioManagerRelease(manager_, false); in TearDown() 147 manager_ = nullptr; in TearDown()
|
/drivers/peripheral/ril/interfaces/hdi_service/src/ |
D | ril_impl.cpp | 437 if (Telephony::HRilManager::manager_ == nullptr) { in SetCallback() 441 Telephony::HRilManager::manager_->SetRilCallback(callback_); in SetCallback() 643 if (Telephony::HRilManager::manager_ == nullptr) { in SendRilAck() 647 return Telephony::HRilManager::manager_->SendRilAck(); in SendRilAck() 684 if (Telephony::HRilManager::manager_ == nullptr) { in UnRegister() 688 Telephony::HRilManager::manager_->SetRilCallback(nullptr); in UnRegister() 694 if (Telephony::HRilManager::manager_ == nullptr) { in Init()
|
/drivers/peripheral/ril/interfaces/hdi_service/include/ |
D | ril_impl.h | 184 if (_func == nullptr || Telephony::HRilManager::manager_ == nullptr) { in TaskSchedule() 188 if (slotId >= Telephony::HRilManager::manager_->GetMaxSimSlotCount()) { in TaskSchedule() 192 …auto ret = (Telephony::HRilManager::manager_.get()->*(_func))(slotId, std::forward<ParamTypes>(_ar… in TaskSchedule()
|