Home
last modified time | relevance | path

Searched refs:dataBlock (Results 1 – 17 of 17) sorted by relevance

/test/xts/hats/hdf/audio/idl/benchmarktest/manager/
Daudio_manager_benchmarktest.cpp37 void AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
41 void AudioManagerBenchmarkTest::AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock in AudioAdapterDescriptorFree() argument
43 if (dataBlock == nullptr) { in AudioAdapterDescriptorFree()
47 if (dataBlock->adapterName != nullptr) { in AudioAdapterDescriptorFree()
48 OsalMemFree(dataBlock->adapterName); in AudioAdapterDescriptorFree()
49 dataBlock->adapterName = nullptr; in AudioAdapterDescriptorFree()
52 if (dataBlock->ports != nullptr) { in AudioAdapterDescriptorFree()
53 OsalMemFree(dataBlock->ports); in AudioAdapterDescriptorFree()
57 OsalMemFree(dataBlock); in AudioAdapterDescriptorFree()
/test/xts/hats/hdf/audio/idl/common/manager_additional/src/
DAudioManagerCommonTest.cpp35 void AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
39 …fAudioUtManagerTestAdditional::AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, in AudioAdapterDescriptorFree() argument
42 if (dataBlock == nullptr) { in AudioAdapterDescriptorFree()
46 if (dataBlock->adapterName != nullptr) { in AudioAdapterDescriptorFree()
47 OsalMemFree(dataBlock->adapterName); in AudioAdapterDescriptorFree()
48 dataBlock->adapterName = nullptr; in AudioAdapterDescriptorFree()
51 if (dataBlock->ports != nullptr) { in AudioAdapterDescriptorFree()
52 OsalMemFree(dataBlock->ports); in AudioAdapterDescriptorFree()
56 OsalMemFree(dataBlock); in AudioAdapterDescriptorFree()
/test/xts/hats/hdf/audio/idl/common/adapter/src/
Daudio_adapter_multchannel_test.cpp47 void AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
51 void HdfAudioAdapterMultiTest::AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock,… in AudioAdapterDescriptorFree() argument
53 if (dataBlock == nullptr) { in AudioAdapterDescriptorFree()
57 if (dataBlock->adapterName != nullptr) { in AudioAdapterDescriptorFree()
58 OsalMemFree(dataBlock->adapterName); in AudioAdapterDescriptorFree()
59 dataBlock->adapterName = nullptr; in AudioAdapterDescriptorFree()
62 if (dataBlock->ports != nullptr) { in AudioAdapterDescriptorFree()
63 OsalMemFree(dataBlock->ports); in AudioAdapterDescriptorFree()
67 OsalMemFree(dataBlock); in AudioAdapterDescriptorFree()
Daudio_adapter_common_test.cpp49 void AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
53 void HdfAudioUtAdapterTest::AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bo… in AudioAdapterDescriptorFree() argument
55 if (dataBlock == nullptr) { in AudioAdapterDescriptorFree()
59 if (dataBlock->adapterName != nullptr) { in AudioAdapterDescriptorFree()
60 OsalMemFree(dataBlock->adapterName); in AudioAdapterDescriptorFree()
61 dataBlock->adapterName = nullptr; in AudioAdapterDescriptorFree()
64 if (dataBlock->ports != nullptr) { in AudioAdapterDescriptorFree()
65 OsalMemFree(dataBlock->ports); in AudioAdapterDescriptorFree()
69 OsalMemFree(dataBlock); in AudioAdapterDescriptorFree()
/test/xts/hats/hdf/audio/idl/common/render/src/
Daudio_render_offload_test.cpp52 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
94 void AudioUtRenderOffloadTest::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool f… in FreeAdapterElements() argument
96 if (dataBlock == nullptr) { in FreeAdapterElements()
100 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
102 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
105 OsalMemFree(dataBlock); in FreeAdapterElements()
Daudio_render_mmap_test.cpp49 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
85 void AudioUtRenderMmapTest::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool free… in FreeAdapterElements() argument
87 if (dataBlock == nullptr) { in FreeAdapterElements()
91 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
93 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
96 OsalMemFree(dataBlock); in FreeAdapterElements()
Daudio_render_common_test.cpp54 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
119 void AudioUtRenderTest::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf) in FreeAdapterElements() argument
121 if (dataBlock == nullptr) { in FreeAdapterElements()
125 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
127 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
130 OsalMemFree(dataBlock); in FreeAdapterElements()
/test/xts/hats/hdf/audio/idl/common/manager/src/
Daudio_manager_common_test.cpp35 void AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
39 void HdfAudioUtManagerTest::AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bo… in AudioAdapterDescriptorFree() argument
41 if (dataBlock == nullptr) { in AudioAdapterDescriptorFree()
45 if (dataBlock->adapterName != nullptr) { in AudioAdapterDescriptorFree()
46 OsalMemFree(dataBlock->adapterName); in AudioAdapterDescriptorFree()
47 dataBlock->adapterName = nullptr; in AudioAdapterDescriptorFree()
50 if (dataBlock->ports != nullptr) { in AudioAdapterDescriptorFree()
51 OsalMemFree(dataBlock->ports); in AudioAdapterDescriptorFree()
55 OsalMemFree(dataBlock); in AudioAdapterDescriptorFree()
/test/xts/hats/hdf/audio/idl/benchmarktest/adapter/
Daudio_adapter_benchmarktest.cpp50 void AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
54 void AudioAdapterBenchmarkTest::AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock in AudioAdapterDescriptorFree() argument
56 if (dataBlock == nullptr) { in AudioAdapterDescriptorFree()
60 if (dataBlock->adapterName != nullptr) { in AudioAdapterDescriptorFree()
61 OsalMemFree(dataBlock->adapterName); in AudioAdapterDescriptorFree()
62 dataBlock->adapterName = nullptr; in AudioAdapterDescriptorFree()
65 if (dataBlock->ports != nullptr) { in AudioAdapterDescriptorFree()
66 OsalMemFree(dataBlock->ports); in AudioAdapterDescriptorFree()
70 OsalMemFree(dataBlock); in AudioAdapterDescriptorFree()
/test/xts/hats/hdf/audio/idl/benchmarktest/capture/
Daudio_capture_benchmarktest.cpp53 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
118 void AudioCaptureBenchmarkTest::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool … in FreeAdapterElements() argument
120 if (dataBlock == nullptr) { in FreeAdapterElements()
124 if (dataBlock->adapterName != nullptr) { in FreeAdapterElements()
125 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
126 dataBlock->adapterName = nullptr; in FreeAdapterElements()
129 if (dataBlock->ports != nullptr) { in FreeAdapterElements()
130 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
134 OsalMemFree(dataBlock); in FreeAdapterElements()
/test/xts/hats/hdf/audio/idl/common/render_additional/src/
DAudioRenderMmapTest.cpp50 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
85 void AudioUtRenderMmapTestAdditional::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock,… in FreeAdapterElements() argument
87 if (dataBlock == nullptr) { in FreeAdapterElements()
91 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
93 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
96 OsalMemFree(dataBlock); in FreeAdapterElements()
DAudioRenderCommonTest.cpp52 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
115 void AudioUtRenderTestAdditional::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, boo… in FreeAdapterElements() argument
117 if (dataBlock == nullptr) { in FreeAdapterElements()
121 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
123 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
126 OsalMemFree(dataBlock); in FreeAdapterElements()
/test/xts/hats/hdf/manager/managerHdiTest/
Dservice_manager_hdi_c_test.cpp220 struct DataBlock dataBlock = {1, 2, "dataBolck", 3}; variable
221 ret = DataBlockBlockMarshalling(&dataBlock, data);
230 ASSERT_EQ(dataBlock_->a, dataBlock.a);
231 ASSERT_EQ(dataBlock_->b, dataBlock.b);
232 ASSERT_EQ(dataBlock_->c, dataBlock.c);
233 ASSERT_TRUE(!strcmp(dataBlock_->str, dataBlock.str));
/test/xts/hats/hdf/audio/idl/common/capture/src/
Daudio_capture_common_test.cpp46 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
112 void AudioUtCaptureTest::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSel… in FreeAdapterElements() argument
114 if (dataBlock == nullptr) { in FreeAdapterElements()
118 if (dataBlock->adapterName != nullptr) { in FreeAdapterElements()
119 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
120 dataBlock->adapterName = nullptr; in FreeAdapterElements()
123 if (dataBlock->ports != nullptr) { in FreeAdapterElements()
124 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
128 OsalMemFree(dataBlock); in FreeAdapterElements()
/test/xts/hats/hdf/audio/idl/benchmarktest/render/
Daudio_render_benchmarktest.cpp59 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
123 void AudioRenderBenchmarkTest::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool f… in FreeAdapterElements() argument
125 if (dataBlock == nullptr) { in FreeAdapterElements()
129 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
131 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
134 OsalMemFree(dataBlock); in FreeAdapterElements()
/test/xts/hats/hdf/audio/idl/common/adapter_additional/src/
Daudio_adapter_common_test.cpp49 void AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
53 …fAudioUtAdapterTestAdditional::AudioAdapterDescriptorFree(struct AudioAdapterDescriptor *dataBlock, in AudioAdapterDescriptorFree() argument
56 if (dataBlock == nullptr) { in AudioAdapterDescriptorFree()
60 if (dataBlock->adapterName != nullptr) { in AudioAdapterDescriptorFree()
61 OsalMemFree(dataBlock->adapterName); in AudioAdapterDescriptorFree()
62 dataBlock->adapterName = nullptr; in AudioAdapterDescriptorFree()
65 if (dataBlock->ports != nullptr) { in AudioAdapterDescriptorFree()
66 OsalMemFree(dataBlock->ports); in AudioAdapterDescriptorFree()
70 OsalMemFree(dataBlock); in AudioAdapterDescriptorFree()
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/
DAudioCaptureCommonTestAdditional.cpp47 void FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bool freeSelf);
112 void AudioUtCaptureTestAdditional::FreeAdapterElements(struct AudioAdapterDescriptor *dataBlock, bo… in FreeAdapterElements() argument
114 if (dataBlock == nullptr) { in FreeAdapterElements()
118 if (dataBlock->adapterName != nullptr) { in FreeAdapterElements()
119 OsalMemFree(dataBlock->adapterName); in FreeAdapterElements()
120 dataBlock->adapterName = nullptr; in FreeAdapterElements()
123 if (dataBlock->ports != nullptr) { in FreeAdapterElements()
124 OsalMemFree(dataBlock->ports); in FreeAdapterElements()
128 OsalMemFree(dataBlock); in FreeAdapterElements()