Home
last modified time | relevance | path

Searched refs:g_audioAdapterNumMax (Results 1 – 4 of 4) sorted by relevance

/drivers/peripheral/audio/test/unittest/common/manager/
Daudio_manager_common_test.cpp26 static const uint32_t g_audioAdapterNumMax = 5; variable
155 uint32_t size = g_audioAdapterNumMax;
157 sizeof(struct AudioAdapterDescriptor) * (g_audioAdapterNumMax));
160 EXPECT_GE(g_audioAdapterNumMax, size);
161 ReleaseAdapterDescs(&descs, g_audioAdapterNumMax);
166 uint32_t size = g_audioAdapterNumMax;
168 sizeof(struct AudioAdapterDescriptor) * (g_audioAdapterNumMax));
172 EXPECT_GE(g_audioAdapterNumMax, size);
178 ReleaseAdapterDescs(&descs, g_audioAdapterNumMax);
207 uint32_t size = g_audioAdapterNumMax;
[all …]
/drivers/peripheral/audio/test/benchmarktest/manager/
Daudio_manager_benchmarktest.cpp27 static const uint32_t g_audioAdapterNumMax = 5; variable
87 uint32_t size = g_audioAdapterNumMax; in BENCHMARK_F()
89 sizeof(struct AudioAdapterDescriptor) * (g_audioAdapterNumMax)); in BENCHMARK_F()
96 ReleaseAdapterDescs(adapterDescs_, g_audioAdapterNumMax); in BENCHMARK_F()
106 uint32_t size = g_audioAdapterNumMax; in BENCHMARK_F()
109 sizeof(struct AudioAdapterDescriptor) * (g_audioAdapterNumMax)); in BENCHMARK_F()
123 ReleaseAdapterDescs(adapterDescs_, g_audioAdapterNumMax); in BENCHMARK_F()
/drivers/peripheral/audio/test/benchmarktest/adapter/
Daudio_adapter_benchmarktest.cpp34 static const uint32_t g_audioAdapterNumMax = 5; variable
114 uint32_t size = g_audioAdapterNumMax; in SetUp()
119 sizeof(struct AudioAdapterDescriptor) * (g_audioAdapterNumMax)); in SetUp()
123 if (size > g_audioAdapterNumMax) { in SetUp()
124 ReleaseAdapterDescs(adapterDescs_, g_audioAdapterNumMax); in SetUp()
125 ASSERT_LT(size, g_audioAdapterNumMax); in SetUp()
129 ReleaseAdapterDescs(adapterDescs_, g_audioAdapterNumMax); in SetUp()
134 ReleaseAdapterDescs(adapterDescs_, g_audioAdapterNumMax); in SetUp()
145 ReleaseAdapterDescs(adapterDescs_, g_audioAdapterNumMax); in TearDown()
/drivers/peripheral/audio/test/unittest/common/adapter/
Daudio_adapter_common_test.cpp36 static const uint32_t g_audioAdapterNumMax = 5; variable
114 uint32_t size = g_audioAdapterNumMax; in SetUp()
119 sizeof(struct AudioAdapterDescriptor) * (g_audioAdapterNumMax)); in SetUp()
123 if (size > g_audioAdapterNumMax) { in SetUp()
124 ReleaseAdapterDescs(&adapterDescs_, g_audioAdapterNumMax); in SetUp()
125 ASSERT_LT(size, g_audioAdapterNumMax); in SetUp()
129 ReleaseAdapterDescs(&adapterDescs_, g_audioAdapterNumMax); in SetUp()
133 ReleaseAdapterDescs(&adapterDescs_, g_audioAdapterNumMax); in SetUp()
144 ReleaseAdapterDescs(&adapterDescs_, g_audioAdapterNumMax); in TearDown()