Home
last modified time | relevance | path

Searched refs:ptrHandle (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiolibaudiobindservicerender_fuzzer/
H A Daudiolibaudiobindservicerender_fuzzer.cpp27 void *ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioLibAudioBindserviceRenderFuzzTest() local
28 if (ptrHandle == nullptr) { in AudioLibAudioBindserviceRenderFuzzTest()
32 BindServiceRender = reinterpret_cast<struct DevHandle *(*)(const char *)>(dlsym(ptrHandle, in AudioLibAudioBindserviceRenderFuzzTest()
35 dlclose(ptrHandle); in AudioLibAudioBindserviceRenderFuzzTest()
44 dlclose(ptrHandle); in AudioLibAudioBindserviceRenderFuzzTest()
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiolibaudiobindservicecapture_fuzzer/
H A Daudiolibaudiobindservicecapture_fuzzer.cpp27 void *ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioLibAudioBindserviceCaptureFuzzTest() local
28 if (ptrHandle == nullptr) { in AudioLibAudioBindserviceCaptureFuzzTest()
32 AudioBindService = reinterpret_cast<struct DevHandle *(*)(const char *)>(dlsym(ptrHandle, in AudioLibAudioBindserviceCaptureFuzzTest()
36 dlclose(ptrHandle); in AudioLibAudioBindserviceCaptureFuzzTest()
44 dlclose(ptrHandle); in AudioLibAudioBindserviceCaptureFuzzTest()
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/
H A Daudio_libcapture_hardwaredependence_test.cpp51 static void *ptrHandle; member in __anon542::AudioLibCaptureHardwareDependenceTest
62 void *AudioLibCaptureHardwareDependenceTest::ptrHandle = nullptr; member in __anon542::AudioLibCaptureHardwareDependenceTest
67 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
68 if (ptrHandle == nullptr) { in SetUpTestCase()
71 BindServiceCaptureSo = reinterpret_cast<struct DevHandle* (*)(const char *)>(dlsym(ptrHandle, in SetUpTestCase()
74 struct AudioHwCaptureParam *handleData))dlsym(ptrHandle, "AudioInterfaceLibOutputCapture"); in SetUpTestCase()
76 struct AudioHwCaptureParam *handleData))dlsym(ptrHandle, "AudioInterfaceLibCtlCapture"); in SetUpTestCase()
77 CloseServiceCaptureSo = (void (*)(struct DevHandle *))dlsym(ptrHandle, "AudioCloseServiceCapture"); in SetUpTestCase()
80 dlclose(ptrHandle); in SetUpTestCase()
99 if (ptrHandle ! in TearDownTestCase()
[all...]
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
H A Daudio_librender_test.cpp39 static void *ptrHandle; member in __anon541::AudioLibRenderTest
56 void *AudioLibRenderTest::ptrHandle = nullptr; member in __anon541::AudioLibRenderTest
61 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
62 if (ptrHandle == nullptr) { in SetUpTestCase()
65 BindServiceRenderSo = reinterpret_cast<struct DevHandle* (*)(const char *serverName)>(dlsym(ptrHandle, in SetUpTestCase()
68 struct AudioHwRenderParam *handleData))dlsym(ptrHandle, "AudioInterfaceLibOutputRender"); in SetUpTestCase()
70 struct AudioHwRenderParam *handleData))dlsym(ptrHandle, "AudioInterfaceLibCtlRender"); in SetUpTestCase()
71 CloseServiceRenderSo = reinterpret_cast<void (*)(struct DevHandle *)>(dlsym(ptrHandle, "AudioCloseServiceRender")); in SetUpTestCase()
74 dlclose(ptrHandle); in SetUpTestCase()
93 if (ptrHandle ! in TearDownTestCase()
[all...]
H A Daudio_alsa_librender_test.cpp35 static void *ptrHandle; member in __anon540::AudioAlsaLibRenderTest
50 void *AudioAlsaLibRenderTest::ptrHandle = nullptr; member in __anon540::AudioAlsaLibRenderTest
57 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
58 ASSERT_NE(nullptr, ptrHandle); in SetUpTestCase()
60 struct AudioHwRenderParam *))dlsym(ptrHandle, "AudioInterfaceLibOutputRender"); in SetUpTestCase()
63 struct AudioHwRenderParam *))dlsym(ptrHandle, "AudioInterfaceLibCtlRender"); in SetUpTestCase()
65 BindServiceRender = reinterpret_cast<struct DevHandle* (*)(const char *)>(dlsym(ptrHandle, in SetUpTestCase()
68 CloseServiceRender = (void (*)(static_cast<struct DevHandle *>))dlsym(ptrHandle, "AudioCloseServiceRender"); in SetUpTestCase()
80 if (ptrHandle != nullptr) { in TearDownTestCase()
81 dlclose(ptrHandle); in TearDownTestCase()
[all...]
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/
H A Daudio_libcapture_test.cpp40 static void *ptrHandle; member in __anon539::AudioLibCaptureTest
51 void *AudioLibCaptureTest::ptrHandle = nullptr; member in __anon539::AudioLibCaptureTest
56 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
57 if (ptrHandle == nullptr) { in SetUpTestCase()
60 BindServiceCaptureSo = reinterpret_cast<struct DevHandle* (*)(const char *serverName)>(dlsym(ptrHandle, in SetUpTestCase()
63 struct AudioHwCaptureParam *handleData))dlsym(ptrHandle, "AudioInterfaceLibOutputCapture"); in SetUpTestCase()
65 struct AudioHwCaptureParam *handleData))dlsym(ptrHandle, "AudioInterfaceLibCtlCapture"); in SetUpTestCase()
66 CloseServiceCaptureSo = reinterpret_cast<void (*)(struct DevHandle *handle)>(dlsym(ptrHandle, in SetUpTestCase()
70 dlclose(ptrHandle); in SetUpTestCase()
89 if (ptrHandle ! in TearDownTestCase()
[all...]
H A Daudio_alsa_libcapture_test.cpp33 static void *ptrHandle; member in __anon538::AudioAlsaLibCaptureTest
45 void *AudioAlsaLibCaptureTest::ptrHandle = nullptr; member in __anon538::AudioAlsaLibCaptureTest
52 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
53 ASSERT_NE(nullptr, ptrHandle); in SetUpTestCase()
55 struct AudioHwCaptureParam *))dlsym(ptrHandle, "AudioInterfaceLibOutputCapture"); in SetUpTestCase()
58 struct AudioHwCaptureParam *))dlsym(ptrHandle, "AudioInterfaceLibCtlCapture"); in SetUpTestCase()
60 AudioBindService = reinterpret_cast<struct DevHandle* (*)(const char *)>(dlsym(ptrHandle, in SetUpTestCase()
63 CloseServiceCapture = (void (*)(struct DevHandle *))dlsym(ptrHandle, "AudioCloseServiceCapture"); in SetUpTestCase()
75 if (ptrHandle != nullptr) { in TearDownTestCase()
76 dlclose(ptrHandle); in TearDownTestCase()
[all...]
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/
H A Daudio_librender_hardwaredependence_test.cpp52 static void *ptrHandle; member in __anon543::AudioLibRenderHardwareDependenceTest
64 void *AudioLibRenderHardwareDependenceTest::ptrHandle = nullptr; member in __anon543::AudioLibRenderHardwareDependenceTest
69 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
70 if (ptrHandle == nullptr) { in SetUpTestCase()
73 BindServiceRenderSo = (struct DevHandle* (*)(const char *serverName))dlsym(ptrHandle, "AudioBindServiceRender"); in SetUpTestCase()
75 struct AudioHwRenderParam *handleData))dlsym(ptrHandle, "AudioInterfaceLibOutputRender"); in SetUpTestCase()
77 struct AudioHwRenderParam *handleData))dlsym(ptrHandle, "AudioInterfaceLibCtlRender"); in SetUpTestCase()
78 CloseServiceRenderSo = (void (*)(struct DevHandle *handle))dlsym(ptrHandle, "AudioCloseServiceRender"); in SetUpTestCase()
81 dlclose(ptrHandle); in SetUpTestCase()
100 if (ptrHandle ! in TearDownTestCase()
[all...]

Completed in 5 milliseconds