/ohos5.0/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiolibaudiobindservicecapture_fuzzer/ |
H A D | audiolibaudiobindservicecapture_fuzzer.cpp | 27 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()
|
/ohos5.0/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiolibaudiobindservicerender_fuzzer/ |
H A D | audiolibaudiobindservicerender_fuzzer.cpp | 27 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()
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/ |
H A D | audio_libcapture_hardwaredependence_test.cpp | 51 static void *ptrHandle; member in __anon02b8688a0110::AudioLibCaptureHardwareDependenceTest 62 void *AudioLibCaptureHardwareDependenceTest::ptrHandle = nullptr; member in __anon02b8688a0110::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() 80 dlclose(ptrHandle); in SetUpTestCase() 99 if (ptrHandle != nullptr) { in TearDownTestCase() 100 dlclose(ptrHandle); in TearDownTestCase() [all …]
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/ |
H A D | audio_libcapture_test.cpp | 40 static void *ptrHandle; member in __anoned2edd220110::AudioLibCaptureTest 51 void *AudioLibCaptureTest::ptrHandle = nullptr; member in __anoned2edd220110::AudioLibCaptureTest 56 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase() 57 if (ptrHandle == nullptr) { 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 != nullptr) { in TearDownTestCase() 90 dlclose(ptrHandle); in TearDownTestCase() [all …]
|
H A D | audio_alsa_libcapture_test.cpp | 33 static void *ptrHandle; member in __anond56a1d620110::AudioAlsaLibCaptureTest 45 void *AudioAlsaLibCaptureTest::ptrHandle = nullptr; member in __anond56a1d620110::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 …]
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/ |
H A D | audio_librender_hardwaredependence_test.cpp | 52 static void *ptrHandle; member in __anon24e037e20110::AudioLibRenderHardwareDependenceTest 64 void *AudioLibRenderHardwareDependenceTest::ptrHandle = nullptr; member in __anon24e037e20110::AudioLibRenderHardwareDependenceTest 69 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase() 70 if (ptrHandle == nullptr) { 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, "AudioCloseServiceRend… in SetUpTestCase() 81 dlclose(ptrHandle); in SetUpTestCase() 100 if (ptrHandle != nullptr) { in TearDownTestCase() 101 dlclose(ptrHandle); in TearDownTestCase() [all …]
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
H A D | audio_librender_test.cpp | 39 static void *ptrHandle; member in __anon64a8ef7a0110::AudioLibRenderTest 56 void *AudioLibRenderTest::ptrHandle = nullptr; member in __anon64a8ef7a0110::AudioLibRenderTest 61 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase() 62 if (ptrHandle == nullptr) { in SetUpTestCase() 65 …dServiceRenderSo = 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() 74 dlclose(ptrHandle); in SetUpTestCase() 93 if (ptrHandle != nullptr) { in TearDownTestCase() 94 dlclose(ptrHandle); in TearDownTestCase() [all …]
|
H A D | audio_alsa_librender_test.cpp | 35 static void *ptrHandle; member in __anon3466f73a0110::AudioAlsaLibRenderTest 50 void *AudioAlsaLibRenderTest::ptrHandle = nullptr; member in __anon3466f73a0110::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, "AudioCloseServic… in SetUpTestCase() 80 if (ptrHandle != nullptr) { in TearDownTestCase() 81 dlclose(ptrHandle); in TearDownTestCase() [all …]
|