Home
last modified time | relevance | path

Searched refs:pathBuf (Results 1 - 16 of 16) sorted by relevance

/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_manager.c108 char pathBuf[PATH_MAX] = {'\0'}; in InitCapturePassthroughHandle() local
109 if (realpath(capturePassthroughPath, pathBuf) == NULL) { in InitCapturePassthroughHandle()
113 g_ptrCaptureHandle = dlopen(pathBuf, RTLD_LAZY); in InitCapturePassthroughHandle()
139 char pathBuf[PATH_MAX] = {'\0'}; in InitRenderPassthroughHandle() local
140 if (realpath(renderPassthroughPath, pathBuf) == NULL) { in InitRenderPassthroughHandle()
144 g_ptrRenderHandle = dlopen(pathBuf, RTLD_LAZY); in InitRenderPassthroughHandle()
171 char pathBuf[PATH_MAX] = {'\0'}; in InitPathSelectPassthroughHandle() local
172 if (realpath(pathSelectPassthroughPath, pathBuf) == NULL) { in InitPathSelectPassthroughHandle()
176 g_ptrPathSelHandle = dlopen(pathBuf, RTLD_LAZY); in InitPathSelectPassthroughHandle()
/drivers/peripheral/audio/effect/model/src/
H A Deffect_model.c221 char pathBuf[PATH_MAX] = {'\0'}; in RegLibraryInstByName() local
222 if (realpath(libPath, pathBuf) == NULL) { in RegLibraryInstByName()
227 if (strncmp(HDF_LIBRARY_DIR, pathBuf, strlen(HDF_LIBRARY_DIR)) != 0) { in RegLibraryInstByName()
232 libHandle = dlopen(pathBuf, RTLD_LAZY); in RegLibraryInstByName()
259 char pathBuf[PATH_MAX]; in RegLibraryInst() local
276 if (realpath(path, pathBuf) == NULL) { in RegLibraryInst()
/drivers/peripheral/usb/ddk/host/src/
H A Dddk_device_manager.c255 char pathBuf[PATH_MAX] = {'\0'}; in DdkDevMgrGetGadgetLinkStatusSafe() local
256 if (realpath(g_gadgetStatePath, pathBuf) == NULL) { in DdkDevMgrGetGadgetLinkStatusSafe()
261 if (strncmp(USB_GADGET_STATE_PATH, pathBuf, strlen(USB_GADGET_STATE_PATH)) != 0) { in DdkDevMgrGetGadgetLinkStatusSafe()
266 int32_t fd = open(pathBuf, O_RDONLY | O_CLOEXEC); in DdkDevMgrGetGadgetLinkStatusSafe()
292 char pathBuf[PATH_MAX] = {'\0'}; in DdkDevMgrGetGadgetLinkStatus() local
293 if (realpath(g_gadgetStatePath, pathBuf) == NULL) { in DdkDevMgrGetGadgetLinkStatus()
298 if (strncmp(USB_GADGET_STATE_PATH, pathBuf, strlen(USB_GADGET_STATE_PATH)) != 0) { in DdkDevMgrGetGadgetLinkStatus()
303 int32_t fd = open(pathBuf, O_RDONLY | O_CLOEXEC); in DdkDevMgrGetGadgetLinkStatus()
H A Dlinux_adapter.c143 static int32_t GetUsbDevicePath(struct UsbDevice *dev, char *pathBuf, size_t length) in GetUsbDevicePath() argument
152 if (realpath(path, pathBuf) == NULL) { in GetUsbDevicePath()
162 if (strncmp(USB_DEV_FS_PATH, pathBuf, strlen(USB_DEV_FS_PATH)) != 0) { in GetUsbDevicePath()
182 char pathBuf[PATH_LEN] = {'\0'}; in OsGetUsbFd() local
183 ret = GetUsbDevicePath(dev, pathBuf, PATH_LEN); in OsGetUsbFd()
189 int32_t fd = open(pathBuf, mode | O_CLOEXEC); in OsGetUsbFd()
197 fd = open(pathBuf, mode | O_CLOEXEC); in OsGetUsbFd()
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp62 char pathBuf[PATH_MAX] = {'\0'}; in OpenPortFile() local
63 if (realpath(path_.c_str(), pathBuf) == NULL) { in OpenPortFile()
68 return open(pathBuf, flags); in OpenPortFile()
/drivers/peripheral/audio/test/sample/
H A Didl_render.c265 char pathBuf[PATH_MAX] = {'\0'}; in FrameStartMmap() local
266 if (realpath(g_path, pathBuf) == NULL) { in FrameStartMmap()
271 FILE *fp = fopen(pathBuf, "rb+"); in FrameStartMmap()
291 mmapDesc.filePath = strdup(pathBuf); in FrameStartMmap()
474 char pathBuf[PATH_MAX] = {'\0'}; in PlayingAudioInitFile() local
475 if (realpath(g_path, pathBuf) == NULL) { in PlayingAudioInitFile()
479 g_file = fopen(pathBuf, "rb"); in PlayingAudioInitFile()
1285 char pathBuf[PATH_MAX] = {'\0'}; in main() local
1286 if (realpath(g_path, pathBuf) == NULL) { in main()
H A Didl_capture.c492 char pathBuf[PATH_MAX] = {'\0'}; in RecordingAudioInitFile() local
493 if (realpath(g_path, pathBuf) == NULL) { in RecordingAudioInitFile()
498 (void)memcpy_s(g_path, PATH_MAX, pathBuf, PATH_MAX); in RecordingAudioInitFile()
/drivers/peripheral/audio/test/systemtest/hdi_service/common/capture/src/
H A Daudio_idl_hdicapture_control_test.cpp446 char pathBuf[] = "./DevDump.log"; in HWTEST_F() local
448 FILE *fp = fopen(pathBuf, "wb+"); in HWTEST_F()
523 char pathBuf[] = "./DevDump.log"; in HWTEST_F() local
525 FILE *file = fopen(pathBuf, "wb+"); in HWTEST_F()
547 char pathBuf[] = "./DevDump.log"; in HWTEST_F() local
549 FILE *fp = fopen(pathBuf, "wb+"); in HWTEST_F()
/drivers/peripheral/audio/test/systemtest/hdi_service/common/render/src/
H A Daudio_idl_hdirender_control_test.cpp498 char pathBuf[] = "./DevDump.log"; in HWTEST_F() local
500 FILE *file = fopen(pathBuf, "wb+"); in HWTEST_F()
576 char pathBuf[] = "./DevDump.log"; in HWTEST_F() local
578 FILE *fp = fopen(pathBuf, "wb+"); in HWTEST_F()
600 char pathBuf[] = "./DevDump.log"; in HWTEST_F() local
602 FILE *fp = fopen(pathBuf, "wb+"); in HWTEST_F()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_bluetooth_manager.cpp204 char pathBuf[PATH_MAX] = {'\0'}; in InitAudioDeviceSoHandle() local
205 if (realpath(path, pathBuf) == NULL) { in InitAudioDeviceSoHandle()
209 g_ptrAudioDeviceHandle = dlopen(pathBuf, RTLD_LAZY); in InitAudioDeviceSoHandle()
/drivers/peripheral/audio/effect/config/src/
H A Dparse_effect_config.c43 char pathBuf[PATH_MAX] = {'\0'}; in GetAudioEffectConfig() local
44 if (realpath(fpath, pathBuf) == NULL) { in GetAudioEffectConfig()
49 FILE *fp = fopen(pathBuf, "r"); in GetAudioEffectConfig()
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
H A Dalsa_soundcard.c57 char pathBuf[PATH_MAX] = {0}; in CfgReadAdapterFile() local
63 if (realpath(fpath, pathBuf) == NULL) { in CfgReadAdapterFile()
68 fp = fopen(pathBuf, "r"); in CfgReadAdapterFile()
/drivers/peripheral/audio/test/benchmarktest/render/
H A Daudio_render_benchmarktest.cpp282 char pathBuf[] = "/data/RenderDump.log"; in BENCHMARK_F() local
284 FILE *file = fopen(pathBuf, "wb+"); in BENCHMARK_F()
/drivers/peripheral/audio/test/benchmarktest/capture/
H A Daudio_capture_benchmarktest.cpp347 char pathBuf[] = "/data/CaptureDump.log"; in BENCHMARK_F() local
349 FILE *file = fopen(pathBuf, "wb+"); in BENCHMARK_F()
/drivers/peripheral/audio/test/unittest/common/render/
H A Daudio_render_common_test.cpp522 char pathBuf[] = "/data/RenderDump.log"; in HWTEST_F() local
524 FILE *file = fopen(pathBuf, "wb+"); in HWTEST_F()
/drivers/peripheral/audio/test/unittest/common/capture/
H A Daudio_capture_common_test.cpp453 char pathBuf[] = "/data/CaptureDump.log"; in HWTEST_F() local
455 FILE *file = fopen(pathBuf, "wb+"); in HWTEST_F()

Completed in 19 milliseconds