Home
last modified time | relevance | path

Searched refs:resolvedPath (Results 1 - 18 of 18) sorted by relevance

/drivers/hdf_core/framework/core/host/src/
H A Dhdf_load_vdi.c27 char resolvedPath[PATH_MAX + 1] = {0}; in HdfLoadVdi() local
39 if (realpath(path, resolvedPath) == NULL || strncmp(resolvedPath, VDI_PATH, strlen(VDI_PATH)) != 0) { in HdfLoadVdi()
41 __func__, path, resolvedPath, errno); in HdfLoadVdi()
51 void *handler = dlopen(resolvedPath, RTLD_LAZY); in HdfLoadVdi()
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiolibaudiobindservicerender_fuzzer/
H A Daudiolibaudiobindservicerender_fuzzer.cpp26 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in AudioLibAudioBindserviceRenderFuzzTest() local
27 void *ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioLibAudioBindserviceRenderFuzzTest()
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiolibaudiobindservicecapture_fuzzer/
H A Daudiolibaudiobindservicecapture_fuzzer.cpp26 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in AudioLibAudioBindserviceCaptureFuzzTest() local
27 void *ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioLibAudioBindserviceCaptureFuzzTest()
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiointerfacelibctlcapturecmdid_fuzzer/
H A Daudiointerfacelibctlcapturecmdid_fuzzer.cpp25 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in AudioInterfacelibctlcaptureCmdidFuzzTest() local
26 void *ctlcapFuzzPtrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioInterfacelibctlcaptureCmdidFuzzTest()
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiointerfaceliboutputcapturecmdid_fuzzer/
H A Daudiointerfaceliboutputcapturecmdid_fuzzer.cpp25 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in AudioInterfaceliboutputcaptureCmdidFuzzTest() local
26 void *outputCapPtrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioInterfaceliboutputcaptureCmdidFuzzTest()
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiointerfaceliboutputrendercmdid_fuzzer/
H A Daudiointerfaceliboutputrendercmdid_fuzzer.cpp24 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in AudioInterfaceliboutputrenderCmdidFuzzTest() local
25 void *outputRenFuzzPtrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioInterfaceliboutputrenderCmdidFuzzTest()
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiointerfacelibctlrendercmdid_fuzzer/
H A Daudiointerfacelibctlrendercmdid_fuzzer.cpp25 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in AudioInterfacelibctlrenderCmdidFuzzTest() local
26 void *ctlRenFuzzPtrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioInterfacelibctlrenderCmdidFuzzTest()
/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_dfx.cpp139 char resolvedPath[PATH_MAX] = { 0 }; in CanonicalizeSpecPath() local
141 if (realpath(src, resolvedPath) == nullptr) { in CanonicalizeSpecPath()
148 if (snprintf_s(resolvedPath, PATH_MAX, sizeof(resolvedPath) - 1, src) == -1) { in CanonicalizeSpecPath()
158 std::string res(resolvedPath); in CanonicalizeSpecPath()
164 std::string resolvedPath = CanonicalizeSpecPath(dataFile.c_str()); in Compress() local
165 FILE* fp = fopen(resolvedPath.c_str(), "rb"); in Compress()
/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_uevent.c324 char resolvedPath[PATH_MAX] = {0}; in DevMgrUeventParseConfig() local
325 if (realpath(path, resolvedPath) == NULL) { in DevMgrUeventParseConfig()
329 if (strncmp(resolvedPath, HDF_CONFIG_DIR, strlen(HDF_CONFIG_DIR)) != 0) { in DevMgrUeventParseConfig()
330 HDF_LOGE("%{public}s invalid path %{public}s", __func__, resolvedPath); in DevMgrUeventParseConfig()
333 FILE *file = fopen(resolvedPath, "r"); in DevMgrUeventParseConfig()
335 HDF_LOGE("%{public}s fopen %{public}s failed:%{public}d", __func__, resolvedPath, errno); in DevMgrUeventParseConfig()
/drivers/peripheral/audio/test/sample/
H A Dframework_common.h77 int32_t FormatLoadLibPath(char *resolvedPath, int32_t pathLen, int choice);
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp331 char resolvedPath[PATH_MAX] = {}; in IsValidSysPath() local
332 if ((realpath(path.c_str(), resolvedPath) == nullptr) || in IsValidSysPath()
333 ((strncmp(resolvedPath, "/sys", SYSTEM_PATH_CHECK) != 0) && in IsValidSysPath()
334 (strncmp(resolvedPath, "/data", DATA_PATH_CHECK) != 0))) { in IsValidSysPath()
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dhibernate.cpp114 char resolvedPath[PATH_MAX] = {0}; in GetResumeInfo() local
115 if (realpath(me->mnt_fsname, resolvedPath) == nullptr) { in GetResumeInfo()
119 std::string fileSystemInfo = resolvedPath; in GetResumeInfo()
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/
H A Daudio_libcapture_hardwaredependence_test.cpp66 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in SetUpTestCase() local
67 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
H A Daudio_librender_test.cpp60 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in SetUpTestCase() local
61 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
H A Daudio_alsa_librender_test.cpp56 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in SetUpTestCase() local
57 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/
H A Daudio_libcapture_test.cpp55 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in SetUpTestCase() local
56 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
H A Daudio_alsa_libcapture_test.cpp51 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in SetUpTestCase() local
52 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/
H A Daudio_librender_hardwaredependence_test.cpp68 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in SetUpTestCase() local
69 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()

Completed in 13 milliseconds